plan: Phase 1 exit review (P1-11)

- all Phase 1 tasks done, exit criterion met
- README and architecture reflect the implemented modules
- open question Q-020: size bound for SSA array values
This commit is contained in:
dev committed 2026-10-04 13:24:37 +03:00
1 parent 1ae6b485d8
commit e3dc0fb7bb
5 files changed
+39 -25

No files matched your search

+5
View File
@@ -25,6 +25,7 @@ Status values: `open`, `resolved`.
| Q-017 | open | P5 | Replay file format |
| Q-018 | resolved | P2 | Runtime diagnostics (traps) vs verifier diagnostics |
| Q-019 | resolved | P3 | Non-terminating programs in test tooling |
| Q-020 | open | P2 | Size bound for SSA array values |
## Q-001 — Text AIR grammar
@@ -129,3 +130,7 @@ The error registry covers verifier/compiler errors. Traps and runtime check fail
A program may legitimately loop forever, so the language cannot bound execution. The conformance runner and `ajid` still need a way to stop a run without making the outcome depend on wall-clock time. Options: a deterministic step budget that is a tooling parameter (reported as "budget exhausted", never as a language trap), or explicit `fuel:` in test headers. Must be decided before scheduler stress tests (P3), which multiply run counts.
**Resolved:** deterministic instruction fuel (spec 11 §7). Wall-clock time is never used to determine semantic test termination. Fuel exhaustion is an execution-runner outcome (`limit_exceeded`, CLI exit code 5), not an Aji trap.
## Q-020 — Size bound for SSA array values
Frame storage is bounded (`max_local_frame`, spec 08 §11.5), but an SSA value of type `array<T, N>` (for example from `array.splat`) is bounded only by `N ≤ 2^32`. A module can therefore ask the interpreter for gigabytes in one instruction, and the outcome then depends on host memory. Options: apply the same accounted-size limit to every type in the module (E5101), or a separate `max_value_bytes`. Needs an owner decision; changing it later would turn accepted modules into rejected ones, so it should be settled before format 0 is released.