Skip to content

chore(theater): delete 32 orphan scaffold modules (verification_specs + format remnants) (PMAT-THEATER-TRIAGE-001b)#2305

Merged
noahgift merged 1 commit into
mainfrom
agent/rank16b-orphans
Jul 6, 2026
Merged

chore(theater): delete 32 orphan scaffold modules (verification_specs + format remnants) (PMAT-THEATER-TRIAGE-001b)#2305
noahgift merged 1 commit into
mainfrom
agent/rank16b-orphans

Conversation

@noahgift

@noahgift noahgift commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Fable rank-16b — extends #2302

A workspace-wide orphan scan (src/ files never reached via mod/include!/#[path] → never compiled → dead #[test]s = enforcement theater) found 32 scaffold files that #2302's *_NNN_NNN.rs glob missed:

cluster files dead tests nature
verification_specs.rs (×13 crates) 13 ~92 "Verus-style" specs that only "serve as documentation via debug_assert" — orphaned, so not even that
format/{ops_*,qa_*,cov_001,bpe_inv_005,cmd_safety,sub_ffn_rest,readme_claims}.rs 18 ~341 same contract-falsification scaffold as #2302, different naming
aprender-db/generated_contracts.rs 1 0 generated scaffold

Build-neutral: cargo check --workspaceFinished, 0 errors after deletion. The scan matches mod <stem> anywhere (incl. under #[cfg(feature)]), so no feature-gated reference exists.

Deliberately NOT here

The scan also found 28 dead-test-for-live-code files (~1545 tests — need wire-vs-delete judgment) and 62 orphan SOURCE modules (dead code like layers/multi_head_attention.rs, quantize/avx2.rs — need duplicate-vs-abandoned check). Those are being classified separately, not mass-deleted blind.

🤖 Generated with Claude Code

…s + format remnants (PMAT-THEATER-TRIAGE-001b)

Fable rank-16b, follow-on to #2302 (which deleted 186 *_NNN_NNN.rs format
scaffold). A workspace orphan scan (files in src/ never reached via
mod/include!/#[path] → never compiled → dead #[test]s = theater) found these 32
that #2302's glob missed:

- 13x verification_specs.rs — one per crate; "Formal Verification Specifications
  (Verus-style)" that only "serve as documentation via debug_assert". Orphaned
  (no `mod verification_specs;` anywhere), so not even that. ~92 dead tests.
- 18x crates/aprender-core/src/format/{ops_*,qa_*,cov_001,bpe_inv_005,cmd_safety,
  sub_ffn_rest,readme_claims}.rs — same contract-falsification scaffold class as
  #2302, different naming so the glob skipped them. ~341 dead tests.
- 1x aprender-db/src/generated_contracts.rs — generated scaffold.

= 32 files, ~433 #[test]s that have NEVER compiled (zero coverage).

Build-neutral: `cargo check --workspace` is clean (Finished, 0 errors) after
deletion — nothing references them. The orphan scan matches `mod <stem>` anywhere
incl. under #[cfg(feature)], so no feature-gated reference exists either.

NOT in this PR (separate analysis): 28 dead-test-for-live-code files (~1545 tests,
wire-vs-delete judgment) + 62 orphan SOURCE modules (dead code, need duplicate
check) — surfaced as a follow-up rather than mass-deleted blind.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@noahgift noahgift enabled auto-merge July 6, 2026 06:41
@noahgift noahgift added this pull request to the merge queue Jul 6, 2026
Merged via the queue into main with commit ad11a0a Jul 6, 2026
12 checks passed
@noahgift noahgift deleted the agent/rank16b-orphans branch July 6, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant