Continuing the test-code-in-main cleanup. These are sequential mode-runner
experiment passes (2/3/4/5) that completed and whose findings were captured
in pathway_memory + the matrix index — the scripts themselves are dead
weight. Plus two one-off probe scripts.
Removed (all 0 refs in production code or automation):
- mode_pass2_corpus_sweep.ts — 2026-04 corpus sweep experiment
- mode_pass3_variance.ts — variance measurement run
- mode_pass4_staffing.ts — staffing-domain pass
- mode_pass5_summarize.ts — summarization variance
- mode_pass5_variance_paid.ts — paid-model variance
- overnight_proof.sh — overnight stress probe (output in logs/)
- ab_t3_test.sh — T3 overseer A/B test (output captured in KB)
Verified: 0 references in package.json / justfile / Makefile / any active
.ts/.rs/.sh file. Two mentions remain in docs/recon and docs/MODE_RUNNER_
TUNING_PLAN — those are historical design-doc references, not consumers.
KEPT in scripts/ (have live consumers OR are runtime tools):
- mode_experiment.ts (14 refs), mode_compare.ts (7 refs)
- lance_smoke.sh, build_*_corpus.ts, staffing_demo.py, lance_tune.py,
generate_demo.py, generate_workers.py, copilot.py, kb_measure.py,
kb_staffer_report.py, analyze_chicago_contracts.ts, dump_raw_corpus.sh,
check_phase44_callers.sh, autonomous_agent.py, build_answers_corpus.ts,
build_lakehouse_corpus.ts, build_scrum_findings_corpus.ts,
build_symbols_corpus.ts, e2e_pipeline_check.sh, scale_test.py,
scale_10m_test.sh, run_staffer_demo.sh, stress_test.py
Build clean. If any of these are needed back: git show HEAD~1 -- scripts/<file>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>