air: evaluate anonymous type properties iteratively

This commit is contained in:
dev committed 2026-10-09 19:59:36 +03:00
1 parent b0cd7d74ff
commit d0fcc3d473
5 files changed
+304 -118

No files matched your search

+2
View File
@@ -345,6 +345,8 @@ The [Q-059 size-query increment](../design/air-type-depth-audit.md#size-query-re
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.
The [Q-059 anonymous property-query increment](../design/air-type-depth-audit.md#anonymous-property-query-repair) iterates linearity, structural predicates and dependency discovery, with explicit Send/Share transitions and unchanged saturated height/witness summaries. Unit cases cover 32,768 anonymous levels and phantom dependencies, 65,536 alternating ref/mutex edges, and saturation boundaries. Unit/format checks, test-extended, all 1,769 conformance cases and exact old/new comparisons on 366 public AIR files pass. Complete checking accepts 32,768 nested arrays; separate probes now verify failures in Type.eql at 65,536 and diagnostic printType at 32,768. Q-059 and Phase 6 remain open. No normative/bundle/feature/code change or new syntax-depth limit; 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)