Repository navigation
chore(contracts): burn down no-test debt 433 -> 390 (#7032) - #7033
Merged
Merged
Conversation
Delete 43 provably dead auto-generated work contracts (contracts/work/*.yaml) and drop their no-test debt lines. Each one's ticket is closed (GitHub issue CLOSED/COMPLETED) or completed/cancelled in docs/roadmaps/roadmap.yaml, and no file in the tree references the contract file other than the generated contracts/contracts.nt. Regenerated contracts.nt (pv extract), the pv-sat consistency witness, and README contract count (readme_sync.sh). debt_cap is unchanged. Pmat-Ticket: #7032 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Review at head a804089 (gate content: the no-test debt list). degraded: same-family (author Opus 5.5; lanes Sonnet 5.5 and Fable 5.2). PASS x2.
|
|
§13.11 rung 1 — quorum shadow verdict Shadow mode: this records a verdict and merges nothing. A refusal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GATE CONTENT: edits the no-test debt list; needs a non-author sign-off bound to the final commit.
What
No-test debt list
crates/aprender-contracts/src/schema/no_test_debt.txt: 433 -> 390 (43 removed).debt_capand its table are unchanged.All 43 go by route (b) dead: an auto-generated work contract under
contracts/work/whose ticket is closed, and no file in the tree references it. Each one is deleted withgit rm, and its debt line is dropped. No route (a) tests were added in this step.Generated files were regenerated by their own tools, with no hand edits:
contracts/contracts.nt:pv extract contractsremoved 6 triples per deleted contract (258 lines).contracts/witness/811c…d850.json:pv-sat contracts(1 line).README.mdcontract count, 2032 -> 1989:scripts/readme_sync.sh --write.How deadness was proven
GH-nticket, ONE GraphQL query with aliases (1 GitHub call) returned the paiml/aprender issue as CLOSED/COMPLETED. ForPMAT-nand other ids, the status came fromdocs/roadmaps/roadmap.yaml, thepmat workticket database, and must becompletedorcancelled.git grep -n -F '<id>.yaml'over the whole tree. The only hits outside the file itself and the debt list are incontracts/contracts.nt, the generated RDF index, which is regenerated here. I also checked code/CI for anycontracts/workpath use and found none (git grep -E '"work/|contracts/work'over*.rs,*.sh,Makefile,*.yml).contracts/are listed per row for transparency. They are prose citations orpmat:ticket fields naming the ticket, not the work-contract file.work/GH-339.yamlandwork/BEAT-OLLAMA-DECODE-CI-001.yamlboth have completed tickets, but their basenames are cited indocs/audits/pp-066-s0-ledger.mdandevidence/pp-066/s0/S0-18-lint-tail.txt. They stay.work/entries have a ticket that isplannedorinprogress, or no ticket record (PMAT-705,baseline-v1). They stay.Evidence
git grep -n -F '<basename>'hits outside the file and the list (origin/main)pmat:ticket field, not a file reference)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)pv extract contracts)PMAT-328status: completedpv extract contracts)PMAT-330status: completedpv extract contracts)PMAT-331status: completedpv extract contracts)PMAT-342status: completedpv extract contracts)PMAT-480status: completedpv extract contracts)PMAT-481status: completedpv extract contracts)PMAT-482status: completedpv extract contracts)PMAT-483status: completedpv extract contracts)PMAT-484status: completedpv extract contracts)PMAT-485status: completedpv extract contracts)PMAT-486status: completedpv extract contracts)PMAT-487status: completedpv extract contracts)PMAT-488status: completedpv extract contracts)PMAT-489status: completedpv extract contracts)PMAT-490status: completedpv extract contracts)PMAT-491status: completedpv extract contracts)PMAT-493status: completedpv extract contracts)PMAT-495status: completedpv extract contracts)PMAT-496status: completedpv extract contracts)PMAT-681status: completedpv extract contracts)PMAT-692status: completed; linked PR 1915 MERGEDpv extract contracts)PMAT-693status: completed; linked issue 1893 CLOSEDpv extract contracts)PMAT-697status: completed; linked PR 1925 MERGEDpv extract contracts)PMAT-737status: completedpv extract contracts)PMAT-739status: cancelledpv extract contracts)Verification (framework16, fresh clone, rc captured directly, never through a pipe)
cargo fmt --all -- --checkcargo test -p aprender-contracts --libcorpus_no_test_debt_within_release_capand the stale-line check); list count 390cargo test -p aprender-core --test readme_contractscripts/contracts_gate.sh(pv built from this tree)pv lint contracts/work/pv lint contracts/ --gate {ont-consistency,refines,bindings}scripts/guard_tree.sh --no-cargoHEAD vs origin/main baselineA first run of the contracts lib test failed on
lint_passes_on_real_contracts(ont-consistencyWitnessStale). That was fixed by regenerating the pv-sat witness, which is included in this PR.ont-delta: none the contract set shrinks by 43 auto-generated
kind: schemawork contracts (contracts/work/); no kernel/model/CLI contract changed; contracts.nt drops their 258 triples; README count 2032 -> 1989.keep-open: #5291 umbrella no-test debt epic; this is step 1 of several
Closes #7032
🤖 Generated with Claude Code