cli: write composed specialization identities iteratively

This commit is contained in:
dev committed 2026-10-10 15:30:28 +03:00
1 parent f5e2af15e8
commit d98ddbc073
7 files changed
+284 -37

No files matched your search

+2
View File
@@ -495,6 +495,8 @@ The [remaining source linear-query increment](air-type-depth-audit.md#remaining-
The [source SSA zero increment](air-type-depth-audit.md#source-ssa-zero-emission) repairs that native failure with explicit parent storage, preserving constant/splat ordering and the implemented leaf classification. Both 16,384/65,536-level checks now return the existing E7006/zero_not_zeroable, with no new traversal allocation for unsupported leaves. Exact emission/error comparisons, supported helper sequencing, OOM cleanup and old/new fuel-boundary runs constrain compatibility. Specialization/call-path inventory keeps Q-059 open; Q-056's source zeroability decision is not resolved here.
The [composed identity increment](air-type-depth-audit.md#composed-specialization-identity) repairs independently reproduced native failures during expanding generic substitution. Iterative key emission retains postorder byte-limit checks, spans, canonical identities and all existing specialization limits. Two tiny source regressions now reach E7006/implementation_limit instead of aborting; all 1,793 current conformance files are covered by the full prior snapshot plus the two additions. Closing call-path inventory keeps Q-059 open; helper-only deep identity tests are not broader source acceptance claims.
## Q-060 — Native recursion while materializing runtime values
The [executed runtime audit](runtime-value-depth-audit.md) confirms that a verified one-byte value with 32,768 length-one nested arrays aborts inside zeroValue under `aji run --fuel 8`, rather than producing a run record. The instruction has not exhausted fuel. Iterative runtime traversal must preserve initialization, value shape, allocator/root lifetimes, collection safety and instruction accounting; adding a depth trap/acceptance limit needs a normative decision. At that baseline, recursive copying, value sizing, collection and serialization were additional audit candidates with unverified failure paths; the increment below records subsequent executed failures. Compiler type repairs in Q-059 do not resolve Q-060.