docs: close Q-060 with full per-step GC validation of all 1,793 tests
This commit is contained in:
1 parent
6974d60771
commit
3f1dc84676
3 files changed
+29
-2
No files matched your search
@@ -504,6 +504,8 @@ The [composed identity increment](air-type-depth-audit.md#composed-specializatio
|
||||
|
||||
## Q-060 — Native recursion while materializing runtime values
|
||||
|
||||
**Closed (2026-10-14).** All five confirmed native-recursion paths are repaired, and the [full per-step validation result](runtime-value-depth-audit.md#full-per-step-validation-result-2026-10-14) covers all 1,793 conformance tests with collection before every step (composite of one stalled original run and 150 per-test processes on the same snapshot). The original single process has no terminal exit status yet; a later failure from it would reopen this entry. The historical paragraphs below describe superseded states.
|
||||
|
||||
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.
|
||||
|
||||
The [zero-materialization increment](runtime-value-depth-audit.md#zero-materialization-repair) removes recursion from zeroValue while preserving payload shape/order, whole-local publication and instruction accounting. Deep unit tests cover 32,768 anonymous/nominal levels and pending siblings; the original run now returns normally. Follow-up probes independently verify native-stack failures in deepCopy/copyAll on local.load and Copier.value/items with collection before every instruction. Those are remaining Q-060 work, not a new acceptance limit; value sizing and output serialization remain audit candidates.
|
||||
@@ -531,7 +533,7 @@ records the tested constructions, timings and limits of that evidence. Deep
|
||||
`loop` remains untested because the attempted fixture rejected unreachable
|
||||
code after `break` with E7006. Closure is not a proof of arbitrary-depth
|
||||
acceptance or linear compilation time. Superlinear lowering is separately
|
||||
tracked in Q-063; Q-060's full per-step GC validation remains independent.
|
||||
tracked in Q-063; Q-060's full per-step GC validation is closed separately.
|
||||
|
||||
The paragraphs below record chronological checkpoints. Later repairs supersede
|
||||
earlier failure/OOM findings; the [current inventory](source-expression-depth-audit.md#remaining-work)
|
||||
|
||||
@@ -218,3 +218,28 @@ and the runner's existing default fuel remain in force.
|
||||
Launch is not a full pass. Q-060 remains open until terminal exit 0 and the
|
||||
complete coverage audit are recorded. Phase 6's owner-confirmed exit rescoping
|
||||
is separate from this remaining hardening check.
|
||||
|
||||
## Full per-step validation result (2026-10-14)
|
||||
|
||||
The full current-binary per-step collection gate is met by composite coverage on
|
||||
one frozen snapshot (HEAD `3154588`, ReleaseSafe, `--collect-every-step`; the
|
||||
snapshot's input hashes are unchanged). The original single run (`zig build
|
||||
conformance -- --json --collect-every-step`) completed 1,643 distinct passing
|
||||
records, then stalled for many hours on `source/std/fmt_i64_vectors.aji`
|
||||
(12,358,702 interpreter steps; about 2.7-2.9 ms per step under collection, in
|
||||
fuel-limited timing of the same file at 50,000 and 100,000 steps). The 150
|
||||
remaining tests were run one per process with the same binary, flags and
|
||||
snapshot (`--filter`, eight at a time). All 150 exited 0 with exactly one
|
||||
passing record each.
|
||||
|
||||
The audit over both result sets: 1,793 expected, 0 missing, 0 extra, 0
|
||||
nonpassing, 0 disagreements; the three tests both processes completed overlap
|
||||
and agree. No wall-clock timeout ended any run; the six vectors took roughly
|
||||
4-5 hours each.
|
||||
|
||||
Limit of this evidence: the single original process had not reached a terminal
|
||||
exit status when this result was recorded. It is left running as a supplementary
|
||||
check and is not part of the composite. A later non-zero exit or failing
|
||||
record from it would reopen Q-060. The result adds no normative depth limit,
|
||||
trap or diagnostic.
|
||||
|
||||
@@ -883,4 +883,4 @@ Q-060 full per-step GC and Phase 6 exit review remain open.
|
||||
|
||||
Exit criterion (all reference programs and `examples/` authored as `.aji` and passing the corpus through the frontend): met. All five source/AIR reference pairs and every example pass; 1,793/1,793 conformance cases, unit tests and `zig fmt --check` pass at `f419063`; source construct coverage is 121/121 (519 run/accept, 904 reject tests). Codex's iterative lowering of block/if/match/select control is committed (`f419063`); its state-equivalence test tolerates the frozen reference's leaked arm scope on error exits, which is unobservable because `function()` resets scopes.
|
||||
|
||||
Not met and deferred, not claimed: P6-6 (contracts, RFC 0039 Draft) becomes P6-13 and P6-7's literal same-code criterion (97/206 verified; 45 E7xxx analogues, one source-early analogue and 63 AIR-only cases do not meet it, Q-053) becomes P6-14. Q-060 (full per-step GC validation) and Q-063 (superlinear control lowering) remain open as hardening, outside the exit criterion. Q-061's native-stack-abort defect is [closed with explicit probe-coverage limitations](../design/source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13). The exit rescoping was proposed by the agent and confirmed by the owner on 2026-10-13.
|
||||
Not met and deferred, not claimed: P6-6 (contracts, RFC 0039 Draft) becomes P6-13 and P6-7's literal same-code criterion (97/206 verified; 45 E7xxx analogues, one source-early analogue and 63 AIR-only cases do not meet it, Q-053) becomes P6-14. Q-060 (full per-step GC validation) is closed (2026-10-14, composite coverage 1,793/1,793) and Q-063 (superlinear control lowering) remains open as hardening, outside the exit criterion. Q-061's native-stack-abort defect is [closed with explicit probe-coverage limitations](../design/source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13). The exit rescoping was proposed by the agent and confirmed by the owner on 2026-10-13.
|
||||
Reference in new issue
Block a user