spec: bit-exact PRNG, canonical run record, global quiescence
Owner review of the RFC 0007 implementation: - spec 11 §8.1: xoshiro256** with SplitMix64 seeding specified bit for bit, fill consumes ceil(n/8) outputs LSB first; golden vector; own implementation replaces std.Random (whose seeding differs) - spec 07a: canonical run record; stdout/stderr as UTF-8 strings or base64 objects, files always base64 objects - spec 11 §8: blocked only at global quiescence (no runnable unit, no known future event, unfinished execution) - reserved feature resource_joins; test names are permanent and rule-descriptive (renamed resource_*/borrow_* tests) - plan: remaining Phase 2 order heap/regions -> unsafe -> hosted -> reports -> aji.toml
This commit is contained in:
1 parent
d405d4ea50
commit
7a74be3cf7
18 files changed
+203
-38
No files matched your search
@@ -36,9 +36,13 @@ Out: tasks, threads, async I/O (P3); FFI to native code (P7).
|
||||
| P2-9 | doing | Entry-point capability instantiation (`--grant` done; `aji.toml` `[capabilities]` pending) | P2-5 | `src/runtime/host.zig` | missing grant fails instantiation, not execution (spec 05 §6) |
|
||||
| P2-10 | todo | Reports: effect graph, capability requirements, unsafe sites | P2-4, P2-5, P2-7 | `src/report/` | deterministic JSON report; snapshot test |
|
||||
| P2-11 | done | Reference programs: hello (real `io.write` if deferred from P0), file-copy, tcp-echo (single task) | P2-8 | `tests/programs/` | all three run; cleanup on every error path verified |
|
||||
| P2-8a | todo | Hosted profile: real console, files and TCP; run record through `--result-file` (spec 11 §8) | P2-8 | `src/interp/host.zig` | hello, file-copy and tcp-echo run against the real OS in CI |
|
||||
| P2-8a | todo | (after heap and regions, unsafe) Hosted profile: real console, files and TCP; run record through `--result-file` (spec 11 §8) | P2-8 | `src/interp/host.zig` | hello, file-copy and tcp-echo run against the real OS in CI |
|
||||
| P2-12 | todo | Phase exit review | all | plan status | exit criterion passes |
|
||||
|
||||
## Conformance tests to add
|
||||
|
||||
Negative corpus entries owned by this phase: missing capability, undeclared effect, linear resource leak. Plus E3001, E3202, E6001.
|
||||
|
||||
## Remaining order (owner decision)
|
||||
|
||||
RFC 0008 heap and regions → implementation and conformance → unsafe boundaries (P2-7) → hosted profile (P2-8a) → audit reports (P2-10) → `aji.toml` grants (P2-9). The memory model is completed in the deterministic world before the real OS widens the bug surface.
|
||||
Reference in new issue
Block a user