B1: ReleaseSafe frozen toolchain; aji_source heap grant; symmetric hang guard check

This commit is contained in:
dev committed 2026-10-06 10:48:59 +03:00
1 parent 2989cfd1bd
commit 268926ca0f
1 file changed
+7 -1
+7 -1
View File
@@ -36,7 +36,13 @@ Phase 5 exit → B1 (this document) → analysis H1/H2/H4/H5 → decision: Phase
Expected wall time is about 40 hours of sequential runs.
**Toolchain:** a tag cut after the B1 harness changes (`b1-frozen`). Both the AIR and the source bundle hashes are recorded.
**Toolchain:** the tag `b1-frozen`, built with `zig build -Doptimize=ReleaseSafe`. ReleaseSafe changes no Aji semantics: traps are explicit and the Zig safety checks stay on. It runs the interpreter about 5× faster than the Debug build used in P6A-9, so a correct Aji program is not failed by the hang guard for interpreter speed alone. The binary hash and both bundle hashes are recorded. The references, the pilots and the 162 runs all use this one build.
**Harness parity for `aji_source`, settled before the reference gate** (no task content involved):
- **Allocation authority.** Rust and Zig have an ambient heap. In Aji, allocation needs the `mem.alloc` capability, which `channel.make`, `island.create` and the other allocation operations take. The `aji_source` entry point therefore also receives `heap: cap<mem.alloc>`, with a budget equal to the task's stated memory limit, and the evaluator grants it.
- **The hang guard.** It is the same wall-clock limit for every language, and it only catches non-terminating programs. After the reference gate, the operator measures the longest hidden-case run of each language's reference. If any reference needs more than a third of the guard, the guard is raised for all three languages before the first pilot.
- **Limitation, accepted as symmetric.** The evaluators judge observable output (exact results, identical output for 1–8 workers and across repeated runs). A correct sequential program therefore also passes the concurrency families, in every language alike.
## 3. Task families