tests: audit source rejections before AIR lowering

This commit is contained in:
dev committed 2026-10-09 18:49:28 +03:00
1 parent a491eba193
commit ba99ad6727
7 files changed
+192 -9

No files matched your search

+2
View File
@@ -335,6 +335,8 @@ Five Q-058 regression cases now have verified source/AIR twins with identical E5
One row remains pending: nested_size_cycle_overflow.air reports E5101 before finite-layout validation, while the same source declaration necessarily rejects earlier with E1003. A separate source fixture preserves that actual code; it is not falsely linked as an E5101 twin. The current inventory's E7xxx analogue category cannot represent this earlier verifier-code rejection. Q-053's literal completion decision remains open; no rejection rule or diagnostic is changed for coverage. Full conformance passes 1765/1765; sixteen nested-size cases also pass with collection before every instruction. All 62 checker regressions pass, and source construct coverage stays 121/121. No fresh Claude review was available for this increment. P6-7 remains doing.
The final size row is now explicitly classified as `source_early`, retaining its authorable cyclic-array shape and unlike E5101/E1003 codes. The inventory tool pins both reviewed artifacts, AIR budget facts and source type facts, checks independent declaration markers, and requires lower/check rejection parity without fabricated AIR coordinates. It does not infer cycle equivalence or waive the same-code completion gate. All 205 AIR rows are classified: 96 same-code, 45 E7xxx analogues, one source-early analogue and 63 AIR-only; zero pending. Eight new failure probes cover artifact/fact/position drift, lower/check disagreement and a category that cannot satisfy `--require-complete`. All 70 checker regressions and 16 focused GC conformance cases pass. No compiler/normative/bundle changes or fresh Claude review. Q-053 and P6-7 remain open.
## P6-1 source specification consistency (2026-10-09)
Spec 15's initial Phase 6A limits now point to its existing extensions. Its introductory diagnostic rule follows §10 and construct-specific codes; widening reports source E7005 while AIR retains E1002, including the corrected Quick Reference entry. Multi-result bindings include complete unpacking, byte escapes agree with the later exact list, and grammar comments locate graph access in §8. Old incremental limits link buffers/borrow returns to §17/§19. No grammar production, semantic rule or implementation changes. Six existing public fixtures confirm the reported code and deterministic successful AIR; Claude independently audited the corrections. The reference bundle rebuilds; source growth is +50/+47/+58 tokens across the three tokenizers, with unchanged Quick Reference token counts, AIR and std (docs/agent/README.md). P6-1/P6-5 remain open for their unimplemented surfaces.