verifier: traverse type validity and layouts iteratively
This commit is contained in:
1 parent
3906ce5a9b
commit
b0cd7d74ff
4 files changed
+228
-51
No files matched your search
@@ -343,6 +343,8 @@ The [Q-059 type-depth audit](../design/air-type-depth-audit.md) confirms a parse
|
||||
|
||||
The [Q-059 size-query increment](../design/air-type-depth-audit.md#size-query-repair) gives verifier sizing explicit continuations, iterates inner-budget visits and caches anonymous wrapper identities without changing size arithmetic or nominal cycle depth. Unit cases cover 32,768 anonymous/nominal levels, zero leaves, overflow/null caching, constructor identity and forged-cache rebuilding. The existing full 1,765-case snapshot, four new AIR/source zero/overflow fixtures and sixteen focused GC/quota cases pass; together the full/focused runs cover all 1,769 current conformance cases. Unit/format checks and test-extended pass, and 364 pre-existing AIR checks preserve exact old/new output. The new rejection twin brings P6-7 to 97/206, with zero pending, 45 source-error analogues, one source-early analogue and 63 AIR-only cases. A 16,384-depth probe now reaches the next failure in wellFormed; Q-059 and the phase stay open. No normative/bundle/feature or diagnostic code change, and no new syntax-depth limit; no fresh Claude review was available.
|
||||
|
||||
The [Q-059 type-validity increment](../design/air-type-depth-audit.md#type-validity-and-finite-layout-repair) iterates anonymous position/length checks and finite-layout DFS, preserving graph stops, wrapper gates, enum payload order and sibling traversal after cycle back edges. Unit tests cover 32,768 anonymous/nominal levels and ordered cycle diagnostics; all unit/format checks and 1,769/1,769 conformance cases pass. Exact old/new exit/stdout/stderr comparisons pass on 366 public AIR files and 48 generated mixed cyclic graphs. The 16,384-depth CLI probe now passes wellFormed and aborts in Module.isLinearType, confirming the next property traversal failure. Q-059 and Phase 6 remain open; no normative/bundle/feature/code change or new syntax-depth limit, and no fresh Claude review was available.
|
||||
|
||||
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.
|
||||
|
||||
## P6-6 contract spec gate (2026-10-09)
|
||||
|
||||
Reference in new issue
Block a user