docs: record deep nested loop probe under Q-061 and Q-063

This commit is contained in:
dev committed 2026-10-14 13:41:33 +03:00
1 parent ac17e84aeb
commit 17cbe3eb4e
2 files changed
+16 -6

No files matched your search

+7 -4
View File
@@ -530,8 +530,8 @@ The [2026-10-11 per-step observation](runtime-value-depth-audit.md#per-step-vali
final probe battery and the preceding traversal repairs. The
[closing observation](source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13)
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
`loop` was probed later (2026-10-14, see Q-063): no native-stack failure.
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 is closed separately.
@@ -644,10 +644,13 @@ changing acceptance. This does not add a semantic rule or close Q-061.
**Open; known implementation performance limitation (2026-10-13).** The
[final source-depth probes](source-expression-depth-audit.md#closing-observation-and-performance-limitation-2026-10-13)
report superlinear elapsed time for nested `match`, `while` and especially
`shield`, without native-stack aborts or observed correctness defects. This
`shield`; nested `loop` (probed 2026-10-14) behaves the same: 7.2 s at 1,024
levels, 108 s at 4,096 (then the ordinary E5101), and no result after more than
ten minutes and about 480 MB at 16,384, where the agent stopped it. No
native-stack aborts or observed correctness defects. This
tracks resilience to adversarial source input separately from Q-061's repaired
stack-exhaustion defect. Repeated scans of the remaining AST for live variables
are a suspected cause, not a profiled explanation of all three results.
are a suspected cause, not a profiled explanation of all four results.
Defer liveness caching or a broader `lower.zig` refactor until after Q-060's
full per-step GC validation. A later optimization needs profiling and exact