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
@@ -51,6 +51,7 @@ A key is a single lowercase word; header lines without a `key:` prefix are free-
|
||||
## Rules
|
||||
|
||||
- Every verifier rule gets at least one `accept` and one `reject` test (AGENTS.md, testing policy).
|
||||
- **Names are permanent and describe the rule** (`resource_use_after_move.air`, `borrow_use_after_end.air`). A name is never reused for a different rule; the corpus doubles as an executable specification.
|
||||
- One defect per `reject` test. A test that triggers several unrelated errors is hard to repair against.
|
||||
- Keep tests minimal: the smallest module that exhibits the rule.
|
||||
- Tests are written in text AIR format 0 (`docs/reference/air-text.ebnf`) and start with the four-line module header.
|
||||
Reference in new issue
Block a user