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:
dev committed 2026-10-04 14:07:54 +03:00
1 parent d405d4ea50
commit 7a74be3cf7
18 files changed
+203 -38

No files matched your search

@@ -2,7 +2,7 @@
; expect: reject E5002
; phase: 2
; spec: docs/reference/intrinsics.md
module test.ok_arity
module test.intrinsic_ok_arity
air 0
lang 0.1
features [arrays, capabilities, effects, ownership, resources]
@@ -2,7 +2,7 @@
; expect: reject E2002
; phase: 2
; spec: docs/spec/06-resources-and-errors.md
module test.close_twice_after_error
module test.resource_close_twice_after_error
air 0
lang 0.1
features [arrays, capabilities, effects, ownership, resources]
@@ -2,7 +2,7 @@
; expect: reject E2101
; phase: 2
; spec: docs/spec/06-resources-and-errors.md
module test.close_while_borrowed
module test.resource_close_while_borrowed
air 0
lang 0.1
features [arrays, capabilities, effects, ownership, resources]
@@ -2,7 +2,7 @@
; expect: reject E1001
; phase: 2
; spec: docs/spec/06-resources-and-errors.md
module test.copy_resource
module test.resource_copy
air 0
lang 0.1
features [arrays, capabilities, effects, ownership, resources]
@@ -2,7 +2,7 @@
; expect: reject E3001
; phase: 2
; spec: docs/spec/06-resources-and-errors.md
module test.use_after_close
module test.resource_use_after_close
air 0
lang 0.1
features [arrays, capabilities, effects, ownership, resources]
@@ -2,7 +2,7 @@
; expect: reject E2001
; phase: 2
; spec: docs/spec/06-resources-and-errors.md
module test.use_after_move
module test.resource_use_after_move
air 0
lang 0.1
features [arrays, capabilities, effects, ownership, resources]