feat(vm): add VM-owned PCG64 random and coverage headroom
Intrepid/Prometeu/Runtime/pipeline/pr-master This commit looks good

Implement GC-managed random generators, next/nextf intrinsics, bounded ranges and deterministic conformance coverage. Publish the runtime contract and producer guidance.

Give coverage domains at least five percentage points of measured headroom while preserving sufficient floors. Record local qualification: make ci-domains passes with 939 tests and all domain gates green.
This commit is contained in:
2026-10-09 12:51:05 +01:00
parent 9318cf7cd3
commit 3e39a90083
50 changed files with 2545 additions and 189 deletions
@@ -140,3 +140,7 @@ equality treats both zeros equally. Numeric overflow faults by range.
Exact Registry/intrinsic carriers prohibit implicit conversion; math/mathf
supplies explicit conversions with truncation/range and ties-even rules.
Existing arithmetic opcode promotions do not relax typed boundaries.
## Random core integration
[Random v1](02e-vm-owned-random-core.md) is BuiltinId 0x0016: one nullable HeapRef slot, eight-byte reference storage aligned to eight with GuestReference ownership. Copies alias; only random.new constructs the object.