cli: compare source types iteratively

This commit is contained in:
dev committed 2026-10-10 14:51:29 +03:00
1 parent 936d65359c
commit 232f93f188
4 files changed
+121 -12

No files matched your search

+2
View File
@@ -489,6 +489,8 @@ The [source type text increment](air-type-depth-audit.md#source-type-text-repair
The [source-to-AIR conversion increment](air-type-depth-audit.md#source-to-air-type-conversion) repairs airType using a constant-state target cursor with the same constructor allocations and host-error behavior. Deep struct-member checks now accept; an independent return-equality probe confirms Ty.eql native-stack exhaustion at 65,536 array levels. Source equality and closing query work keep Q-059 open; no accepted-depth limit or semantic rule changes.
The [source equality increment](air-type-depth-audit.md#source-type-equality) repairs Ty.eql with allocation-free cursors preserving structural identity. Deep equal returns accept and unequal leaves yield one factual E7005 with complete types. A deep move-on-Copy query produces E7006/move_copy without a native failure. Closing source-query inventory keeps Q-059 open; Q-060 and Phase 6 gates remain separate. No semantic rule or accepted-depth limit changes.
## 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.