cli: emit source SSA zero iteratively

This commit is contained in:
dev committed 2026-10-10 15:14:49 +03:00
1 parent c1bf99af83
commit f5e2af15e8
4 files changed
+194 -11

No files matched your search

+2
View File
@@ -493,6 +493,8 @@ The [source equality increment](air-type-depth-audit.md#source-type-equality) re
The [remaining source linear-query increment](air-type-depth-audit.md#remaining-source-linear-queries) replaces array descent and signature feature scanning with allocation-free loops, preserving prepared nominal reads and the module-sized depth guard exactly. No preceding CLI failure in these queries is claimed. The closing inventory independently confirms Lowerer.zeroValue stack exhaustion on 16,384 arrays above a non-zeroable source record. Source zero emission and specialization/call-path inspection keep Q-059 open; this does not resolve Q-056 or change zeroability.
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.
## 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.