tests: audit task argument identities and source error boundaries
This commit is contained in:
1 parent
fd92604f36
commit
2742867ef7
18 files changed
+344
-20
No files matched your search
@@ -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 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.
|
||||
Verified same-code coverage is 74/199. Audited pairs cover owner/file/receiver leaks, use after transfer, authority/effects, unsafe calls, Send/Share, 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. An island-destroy fixture retains a child object borrow and its subsequent load; witnesses preserve discarded-unpack and returned-buffer-failure contexts. Failed-send closed/cancelled edges converge at one source error, matching AIR's merged failure path. E3101 callee identities resolve to their explicit flat effect sets. Send/Share argument comparisons preserve the complete rejected parameter type while normalizing worker/SSA names; source/raw identities and related values remain identical. 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 82 pending, 17 E7xxx analogues and 26 AIR-only cases, all still unmet under Q-053. P6-7 remains doing.
|
||||
|
||||
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.
|
||||
Validation: full conformance is 1,677/1,677; unit tests, Zig formatting, all 37 checker regressions and the 74-pair source/AIR position check pass. All 35 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, the ten additional E7xxx analogues and undefined-SSA classification, including their exact codes, fields, markers and normative basis. Renamed-worker, distinct-type and corrupted-identity probes supplement the earlier context regressions. No compiler, verifier, runtime, normative rule, diagnostic code or reference bundle changes.
|
||||
Reference in new issue
Block a user