feat(registry): checkpoint PLN-0176 foundations and validated partial integrations

This commit is contained in:
2026-10-07 17:49:46 +01:00
parent 01fab56cc6
commit 126a9e50e7
63 changed files with 8499 additions and 1462 deletions
@@ -78,7 +78,7 @@ GateEntry {
When an object is freed:
- `alive` becomes false;
- `generation` is incremented.
- `generation` is incremented, or the slot is permanently retired after its maximum-generation incarnation; generation must never wrap.
When a handle is used:
@@ -109,7 +109,7 @@ Object {
Properties:
- fields are stored in slot order;
- fields use declared-order typed offsets with alignment and padding; stack Value slots are not the heap layout;
- there is no raw pointer arithmetic in the VM model;
- layout rules are explicit and verifier/runtime-friendly.
@@ -200,3 +200,7 @@ Any violation results in a trap or rejected program image.
- [`15-asset-management.md`](15-asset-management.md) defines asset-bank surfaces outside VM heap ownership.
- [`08-save-memory-and-memcard.md`](08-save-memory-and-memcard.md) defines save storage outside VM heap ownership.
- [`16a-syscall-policies.md`](16a-syscall-policies.md) defines host-root rules and host/heap interaction policy.
## Program Registry v1 integration
[Program Registry and PBX v1](02c-program-registry-and-pbx-v1.md#values-storage-and-initialization) specifies compact typed layouts, defaults, native String/Dynamic ownership and generational handles. Its [memory quotas](02c-program-registry-and-pbx-v1.md#memory-ownership-and-quotas) apply jointly before allocation. Registry metadata is immutable image-owned native memory, outside guest GC. Stack/local execution retains Value.