SilverSight/scripts
openresearch 30552681e4 Add Perceval SLOS verification with recoverable DAG
5-minute per-shot limit on Quandela cloud. Script handles this with:

1. RECOVERABLE DAG: each computation step is a DAG node
   - Checkpointed to disk after each node
   - If a shot times out, resume from last checkpoint with --resume
   - The DAG records HOW SLOS computes (the path, not just the result)
   - This is informative: the computation structure IS data

2. NODE TYPES:
   - eigenvalue_products: cheap (O(n^k)), always runs
   - slos_circuit: circuit built, about to sample
   - slos: the actual SLOS simulation (5-min limit)
   - compare: eigenvalue products vs SLOS output

3. EDGE TYPES:
   - products → compare (comparison depends on products)
   - slos → compare (comparison depends on SLOS)

4. CHECKPOINTS:
   - Each node saved to .openresearch/artifacts/slos_checkpoints/node_<id>.json
   - Full DAG state saved to slos_computation_dag.json
   - --resume flag loads DAG state and skips already-computed nodes

5. DAG REPORT:
   - slos_computation_dag.md: human-readable report of all nodes
   - Records: what was computed, when, how long, what it found
   - The computation path itself is data about how SLOS processes
     the Sidon structure

Usage:
  # Local
  python3 scripts/perceval_slos_verify.py

  # Quandela cloud (5-min/shot limit)
  PERCEVAL_TOKEN='token' python3 scripts/perceval_slos_verify.py --cloud

  # Resume after timeout
  python3 scripts/perceval_slos_verify.py --resume

Tests:
- T1: Sidon vs non-Sidon at K=2 and K=3
  - 4 test cases × 2 photon numbers = 8 SLOS shots
  - Each shot: ~5 min on cloud (or seconds local)
  - Total cloud time: ~40 min (8 shots)
  - DAG records the exact computation path for each shot
2026-07-03 22:22:00 +00:00
..
auto feat(wolfram): add Wolfram Alpha MCP server + SOPS-encrypted API key 2026-06-30 17:28:22 -05:00
compression docs(compression): add pi-as-tape-LUT coda (offset = data size, base conversion) 2026-07-03 15:56:01 -05:00
qc_flag chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
stack feat(wolfram): add Wolfram Alpha MCP server + SOPS-encrypted API key 2026-06-30 17:28:22 -05:00
anti_smuggle_check.py chore(anti-smuggle): patch stealth-True + bare-sorry blind spots; archive SidonWrapping orphan 2026-07-03 15:07:49 -05:00
appflowy_fix_migrations.py fix: AppFloyo Cloud fully deployed with migration fix 2026-06-30 04:54:40 -05:00
appflowy_start.py fix: AppFloyo Cloud fully deployed with migration fix 2026-06-30 04:54:40 -05:00
braid_word_solver.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
braille_t9.py Add GW 16D simulation + Braille/T9/hachimoji weird machine 2026-07-03 20:23:30 +00:00
cartan_fingerprint.py docs(repair): adversarial review repairs — retract 5 claims, refactor 2026-06-30 20:12:47 -05:00
check_determinism.py chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
check_homarr_db.py feat: Homarr OIDC configured with Authentik SSO 2026-06-30 05:24:42 -05:00
collapse_depth_search.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
configure_homarr_oidc.py fix: revert Homarr to credentials auth only 2026-06-30 05:28:50 -05:00
cross_domain_significance.py refactor(rrc): rename corpus250→allFixtures/emitManifold, generic n-dimensional modules, Authentik deploy 2026-06-30 04:54:40 -05:00
cross_validate.py chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
dag_deep_tuning.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
dag_tuning.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
decompress_equations.py feat(nuvmap,braid): NUVMAP port + Rossby/Kelvin braid correspondence 2026-06-30 16:38:11 -05:00
deep_braid_exploration.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
deploy_anytype.py feat(nuvmap,braid): NUVMAP port + Rossby/Kelvin braid correspondence 2026-06-30 16:38:11 -05:00
drop_all_tables.py fix: AppFloyo Cloud fully deployed with migration fix 2026-06-30 04:54:40 -05:00
fix_appflowy.py feat(nuvmap,braid): NUVMAP port + Rossby/Kelvin braid correspondence 2026-06-30 16:38:11 -05:00
fix_appflowy.sh feat(nuvmap,braid): NUVMAP port + Rossby/Kelvin braid correspondence 2026-06-30 16:38:11 -05:00
full_chiral_dag.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
fundamental_force.py feat(force): Fundamental Force Pipeline — ingest → derive → emit 2026-06-30 20:43:43 -05:00
gw_16d_sim.py Add GW 16D simulation + Braille/T9/hachimoji weird machine 2026-07-03 20:23:30 +00:00
heatmap_gen.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
hopf_classifier.py feat(ingest): Hopf classifier — automated 6-condition check 2026-06-30 20:07:44 -05:00
ingest.py feat(ingest): Rust equation ingestion pipeline — Markdown → Parse → Classify → Compute 2026-06-30 20:48:20 -05:00
install-hooks.sh feat: add install-hooks.sh for lake build ingestion post-commit hook 2026-06-30 04:54:40 -05:00
iteration_dag.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
multi_strand_braid.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
neon-stack.sh feat(nuvmap,braid): NUVMAP port + Rossby/Kelvin braid correspondence 2026-06-30 16:38:11 -05:00
neon-startup.py fix: GoTrue one_time_tokens pre-creation in startup script 2026-06-30 07:57:46 -05:00
neon-startup.sh feat: neon startup scripts for cold-start recovery 2026-06-30 07:24:15 -05:00
perceval_slos_verify.py Add Perceval SLOS verification with recoverable DAG 2026-07-03 22:22:00 +00:00
process_large_equations.py feat: process equation database samples through PIST pipeline (209 equations) 2026-06-30 06:58:40 -05:00
run_8strand_search.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
run_all_migrations.py fix: AppFloyo Cloud fully deployed with migration fix 2026-06-30 04:54:40 -05:00
run_entry_gate.sh feat: known-equation validation — 6/6 proven equations pass deterministically 2026-06-30 06:32:15 -05:00
seedlock.py chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
setup_authentik.sh refactor(rrc): rename corpus250→allFixtures/emitManifold, generic n-dimensional modules, Authentik deploy 2026-06-30 04:54:40 -05:00
setup_homarr.py feat: Homarr OIDC configured with Authentik SSO 2026-06-30 05:24:42 -05:00
stress_test_collapse.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
test_braid_word.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
validate_known_equations.py fix: resolve all 5 audit issues for full self-verification 2026-07-01 19:53:18 +00:00
verify_character_transform.py verify(character): integer-only Z₂⁴ transform — 12/12 consensus, zero floats 2026-06-30 20:24:19 -05:00
verify_classifier_all.py verify(classifier): cross-language classifier — Python confirms, 7 invariant 2026-06-30 20:53:48 -05:00
verify_exhaustive.py verify(exhaustive): 12/12 languages agree on partition analysis 2026-06-30 20:36:00 -05:00
verify_receipt.py fix: receipt verifier, honest layer status, well-formedness witnesses 2026-06-30 05:52:43 -05:00
verify_with_sympy.py chore: commit all pending work from prior sessions 2026-06-30 04:54:40 -05:00
verify_wrapping.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
wolfram_verify.py fix(octave): use AVM.run instead of single step, avoid line continuations in test 2026-06-30 18:30:30 -05:00
yb_search_provider.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00
yb_verification.py feat(braid/dag): land untracked research WIP + register 4 formal libs; ignore build artifacts 2026-07-03 15:11:37 -05:00