tests: audit feature-header context and rejection boundaries

This commit is contained in:
dev committed 2026-10-08 22:12:04 +03:00
1 parent fe63ae9586
commit 03305f0957
13 files changed
+326 -10

No files matched your search

+3 -3
View File
@@ -320,8 +320,8 @@ Validation: unit tests and Zig formatting pass; full conformance is 1,655/1,655.
## P6-7 public rejection-twin audit (2026-10-08)
Verified same-code coverage is 86/199 across ownership/resources, borrows, effects/capabilities, tasks, graphs, atomics, linear aggregates and buffer operations. The inventory retains 32 pending, 34 prescribed E7xxx analogues and 47 AIR-only cases; all three categories remain unmet under the literal exit criterion (Q-053). P6-7 remains doing.
Verified same-code coverage is 88/199 across ownership/resources, borrows, effects/capabilities, tasks, graphs, atomics, linear aggregates and buffer operations. The inventory retains 22 pending, 40 prescribed E7xxx analogues and 49 AIR-only cases; all three categories remain unmet under the literal exit criterion (Q-053). P6-7 remains doing.
The [checker documentation](../../tests/conformance/README.md) records the diagnostic-fact, independent-position and context witnesses. Named type tables preserve the nominal diamond; early cycle pairs pin the two artifacts that exist before lowering. Five CFG loan pairs pin original AIR, source and canonical lowering after a manual shape review: single br handoff, lend/plain merge, loop-carried loans, cancelled-handle forwarding and parent access after handoff. Direct cbr/switch arm-parameter cases remain pending: the tested source expressions instead pass handles to a later br merge. The guard-unlock pair retains the returned view's mutex.borrow ancestor through the generated unlock. Fingerprints attest unchanged artifacts, not audit correctness, and introduce no provenance or lifetime analysis.
The [checker documentation](../../tests/conformance/README.md) records the diagnostic-fact, independent-position and context witnesses. Named type tables preserve the nominal diamond; early cycle pairs pin the two artifacts that exist before lowering. Five CFG loan pairs pin original AIR, source and canonical lowering after a manual shape review: single br handoff, lend/plain merge, loop-carried loans, cancelled-handle forwarding and parent access after handoff. Direct cbr/switch arm-parameter cases remain pending: the tested source expressions instead pass handles to a later br merge. The task-parameter feature pair validates each full repair header before comparing its missing closure; unrelated declared features do not decide that rule. Six more source-boundary analogues retain exact fields and independent markers. The guard-unlock pair retains the returned view's mutex.borrow ancestor through the generated unlock. Fingerprints attest unchanged artifacts, not audit correctness, and introduce no provenance or lifetime analysis.
Validation: full conformance is 1,694/1,694; unit tests, Zig formatting, all 47 checker regressions and the 86-pair source/AIR position check pass. All 52 source reject_twins fixtures pass collection before every instruction; source coverage remains 121/121. The completion gate still rejects partial coverage. Claude independently verified all fifteen CFG fingerprints against another build, audited the seven new pairs and three AIR-only classifications, and confirmed the cross-shape/drift/guard-parent regressions. Existing Git attributes already force LF for pinned AIR/source files. No compiler, verifier, runtime, normative rule, diagnostic code or reference bundle changes.
Validation: full conformance is 1,700/1,700; unit tests, Zig formatting, all 53 checker regressions and the 88-pair source/AIR position check pass. All 58 source reject_twins fixtures pass collection before every instruction; source coverage remains 121/121. The completion gate still rejects partial coverage. Claude independently reviewed the CFG fingerprints and shape regressions, and the feature-header witness, two new pairs, six analogues and two AIR-only classifications. Corrupted repair headers, larger missing closures, task results substituted for parameters and relaxed source/raw payloads are rejected by independent probes. Existing Git attributes already force LF for pinned AIR/source files. No compiler, verifier, runtime, normative rule, diagnostic code or reference bundle changes.