tests: inventory and verify source rejection twins
This commit is contained in:
1 parent
09fbf8a5bc
commit
e4aacef48c
28 files changed
+1092
-8
No files matched your search
@@ -309,3 +309,11 @@ Validation: units and Zig formatting pass; full conformance is 1,618/1,618, and
|
||||
Rejection-twin work exposed accepted source that ended a task loan after cancelled-handle transfer through a block parameter. DD-024 resolves Q-052: task loans/scopes, guard parents and shield order now follow simultaneous CFG transfers, with a fixed point for later predecessors and backedges. Existing concurrency invariants and diagnostic codes apply; interpreter behavior and valid source lowering are unchanged. This enforces existing AIR format-0 rules, with no new source concept, syntax or feature.
|
||||
|
||||
Validation: units and Zig formatting pass; full conformance is 1,642/1,642. All 24 new AIR/source fixtures pass schedule stress and collection before every instruction. A counted 63-handle rotation test verifies convergence and retained spawn provenance. CLI integration passes 146 checks, including exact source/package/generic positions, three loan rejection twins and both correlated scope/task permutations; existing related-location and lifetime suites pass 349/188 checks. Old/new comparison changes zero diagnostics on 1,327 existing public sources and 338 AIR files, preserving all 715 old source lowerings. Claude wrote independent regressions and reviewed the implementation with additional loop/permutation/cancellation probes. Source bundle size is unchanged; AIR growth is recorded in docs/agent/README.md. The exhaustive rejection-twin inventory and P6-7 remain open.
|
||||
|
||||
## P6-7 exhaustive rejection inventory (2026-10-08)
|
||||
|
||||
`tools/source_reject_twins.py` discovers all 199 public AIR rejection files, including new tests without manual metadata. The audited manifest verifies 27 same-code pairs: 13 new source fixtures, three existing source links and 11 existing lifetime/CFG pairs. It also records four mandatory E7xxx analogues and 15 cases without an implemented source spelling; these remain unmet rows alongside 153 pending audits. Q-053 records the conflict between the literal same-code criterion and spec 15's source boundary. The criterion and P6-7's doing status are unchanged; `--require-complete` fails.
|
||||
|
||||
Pairs compare operation/site, resource family, identity roles and stable rule facts, then independently check marked primary/related source positions against canonical AIR annotations. Early declaration errors and function budget sites have explicit checks; raw errors use spec 15 §10's exact duplicate projection. Cancellation witnesses preserve the reviewed regression context. Manual rule audits remain necessary. CI runs both the partial checker and 21 negative/positive checker regressions, including wrong operation, ordering, resource family, source position, related role and cancellation context. No compiler, verifier, runtime, normative rule, diagnostic code or reference bundle changes.
|
||||
|
||||
Validation: unit tests and Zig formatting pass; full conformance is 1,655/1,655. All 13 new source fixtures pass collection before every instruction. The pair checker verifies 27/199 and reports incomplete coverage; its completion gate rejects that inventory. Existing borrow-return, related-position and source-coverage checks pass (133, 355 and 121/121 respectively). Claude independently audited Phase 0–1 cases and reviewed the checker; its false-pair findings are covered by regression probes.
|
||||
Reference in new issue
Block a user