tests: preserve rejection contexts and normalize callee effects

This commit is contained in:
dev committed 2026-10-08 19:41:01 +03:00
1 parent 06d8a1a76a
commit fd92604f36
11 files changed
+344 -35

No files matched your search

+4 -2
View File
@@ -320,6 +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 65/199. Audited pairs cover owner/file/receiver leaks, use after transfer, authority/effects, unsafe calls, live task loans, mutex guards, graph content/access, atomic orders/effects, linear unpack/projection, buffer views/failure, static calls and recursive layouts. Independent markers verify instruction, outcome-block and early-declaration positions. A new island-destroy fixture retains a child object borrow and its subsequent load; witnesses also preserve discarded-unpack and returned-buffer-failure contexts. The producer lookup now recognizes the specified island.borrow result as a borrow, with renamed-binding and missing-child regression probes. The legacy reserved_feature fixture's comment describes its actual missing_dependency rejection; its body and permanent name are unchanged. The inventory retains 103 pending, seven E7xxx analogues and 24 AIR-only cases, all still unmet under Q-053. P6-7 remains doing.
Verified same-code coverage is 71/199. Audited pairs cover owner/file/receiver leaks, use after transfer, authority/effects, unsafe calls, live task loans, mutex guards, graph content/access, atomic orders/effects, linear unpack/projection, buffer views/failure, static calls and recursive layouts. Independent markers verify instruction, outcome-block and function/type declaration positions. A new island-destroy fixture retains a child object borrow and its subsequent load; witnesses also preserve discarded-unpack and returned-buffer-failure contexts. Failed-send closed/cancelled edges now converge at one source error, matching AIR's merged failure path. E3101 callee identities resolve to their explicit flat effect sets, preserving effect facts without requiring the same name or irrelevant parameter types. The producer lookup recognizes island.borrow as a borrow. The legacy reserved_feature comment describes its actual missing_dependency rejection; its body and permanent name are unchanged. The inventory retains 96 pending, seven E7xxx analogues and 25 AIR-only cases, all still unmet under Q-053. P6-7 remains doing.
Validation: full conformance is 1,666/1,666; unit tests, Zig formatting, all 23 checker regressions and the 65-pair source/AIR position check pass. All 24 source reject_twins fixtures pass collection before every instruction; source coverage remains 121/121. The completion gate still rejects partial coverage. Claude independently audited the pairs and reviewed generated-only classifications, failure paths, static contracts, markers and witnesses. No compiler, verifier, runtime, normative rule, diagnostic code or reference bundle changes.
The diamond budget pair requires an identical named type-declaration table so equal-sized flat arrays cannot replace its shared nominal graph. Early cycle pairs, which produce no canonical AIR, pin both manually audited files with SHA-256; edits require a fresh context review while compiled diagnostics and positions remain checked. These are explicit fixture witnesses, not a second type/layout evaluator or proof of the manual audit.
Validation: full conformance is 1,671/1,671; unit tests, Zig formatting, all 32 checker regressions and the 71-pair source/AIR position check pass. All 29 source reject_twins fixtures pass collection before every instruction; source coverage remains 121/121. The completion gate still rejects partial coverage. Claude independently audited the pairs and reviewed generated-only classifications, failure paths, effect contracts, markers and witnesses. Its flat-array and substituted-cycle findings are covered by negative probes, as are incorrect declaration projections and changed callee effect sets. No compiler, verifier, runtime, normative rule, diagnostic code or reference bundle changes.