mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-07-31 01:25:21 +00:00
Includes: - n-dimensional generic modules (BraidStateN, MatrixN, SpectralN, ClassifyN, FisherRigidityN, FixedPointBridge) - Feasible Set Theorem proofs + QUBO relaxation - Anti-smuggle protocol (seedlock, mutation testing, cross_validate, qc_flag, symbol verification) - Q16_16 bridge with quad matrix representation - Infrastructure scripts (entry gate, determinism checks) - Test suites for Lean modules, scripts, and QUBO pipeline - FixedPoint migration and HachimojiN8 updates - Documentation updates (ARCHITECTURE, GLOSSARY, DOCUMENT_SETS) - QUBO conflict sweep and FSR validation - GitHub Actions anti-smuggle workflow Build: 3307 jobs, 0 errors
38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
#!/bin/bash
|
|
# run_entry_gate.sh — Run all 5 anti-smuggle layers.
|
|
# Exit on first failure.
|
|
set -euo pipefail
|
|
|
|
echo "============================================"
|
|
echo " Anti-Smuggle Entry Gate"
|
|
echo "============================================"
|
|
echo ""
|
|
|
|
echo "=== Layer 0: Determinism ==="
|
|
python3 scripts/check_determinism.py --seed 0 --check-all || exit 1
|
|
echo ""
|
|
|
|
echo "=== Layer 1: Cross-Validation ==="
|
|
# Cross-validation requires two independently generated proofs.
|
|
# Skipped by default — run manually with:
|
|
# python3 scripts/cross_validate.py --model-a A.lean --model-b B.lean
|
|
echo " SKIP (manual: cross_validate.py --model-a FILE --model-b FILE)"
|
|
echo ""
|
|
|
|
echo "=== Layer 2: Mutation Testing ==="
|
|
python3 -m scripts.qc_flag.mutation_generator 2>/dev/null
|
|
echo " Generate: python3 -c \"from scripts.qc_flag.mutation_generator import *; generate_all()\""
|
|
echo " Run: for mut in scripts/qc_flag/mutations/*.lean; do ... done"
|
|
echo ""
|
|
|
|
echo "=== Layer 3: CAS/SMT Grounding ==="
|
|
python3 scripts/verify_with_sympy.py || exit 1
|
|
echo ""
|
|
|
|
echo "=== Layer 4: Build Gate ==="
|
|
echo " lake build SilverSightRRC"
|
|
echo ""
|
|
|
|
echo "============================================"
|
|
echo " Entry gate complete"
|
|
echo "============================================"
|