Keep PBX at v0 and simplify Jenkins quality gate
Intrepid/Prometeu/Runtime/pipeline/pr-master There was a failure building this commit
Intrepid/Prometeu/Runtime/pipeline/pr-master There was a failure building this commit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Registry v1 producer and consumer handoff
|
||||
# Registry producer and consumer handoff
|
||||
|
||||
This document describes the Registry v1 producer and consumer interfaces. The normative contract
|
||||
is [Program Registry and PBX v1](../specs/runtime/02c-program-registry-and-pbx-v1.md).
|
||||
This document describes the Registry producer and consumer interfaces. The normative contract
|
||||
is [Program Registry and PBX v0](../specs/runtime/02c-program-registry-and-pbx-v0.md).
|
||||
The rationale and published mechanisms are explained in [Registry Boundaries and Owned Values](../../discussion/lessons/DSC-0058-program-registry-type-and-function-metadata/LSN-0059-registry-boundaries-and-owned-values.md).
|
||||
The completed callable and production integration is explained in [Typed Callables and Frame-Owned Continuations](../../discussion/lessons/DSC-0052-vm-closures-captures-and-dynamic-calls/LSN-0061-typed-callables-and-frame-owned-continuations.md).
|
||||
|
||||
@@ -10,7 +10,7 @@ The completed callable and production integration is explained in [Typed Callabl
|
||||
The production `initialize` path uses bounded `ValidatedProgramImage::load` and
|
||||
`VirtualMachine::from_image`. The v0 decoder, slot-only verifier, scheduler and
|
||||
unchecked executable constructors have been removed. Internal test producers,
|
||||
Dummy Boy and Stress emit sealed v1 with typed Fn metadata and mandatory captures.
|
||||
Dummy Boy and Stress emit sealed v0 with typed Fn metadata and mandatory captures.
|
||||
The runtime retains existing constant/string ownership, collections, Dynamic and
|
||||
reference boundaries. The separate render frame scheduler remains active.
|
||||
|
||||
@@ -30,7 +30,7 @@ repository publishes requirements and oracles; those modules have not been edite
|
||||
|
||||
## Exact producer obligations
|
||||
|
||||
Emit PBX version 1 only. The header is 32 bytes: magic at 0, u16 version at 4,
|
||||
Emit PBX version 0 only. The header is 32 bytes: magic at 0, u16 version at 4,
|
||||
little-endian flag 0 at 6, reserved zero at 7, section count at 8 and twenty zero
|
||||
bytes at 12. Directory entries are file-relative u32 kind/offset/length triples.
|
||||
Mandatory kinds are 0, 1, 2, 4, 5, 6, 7 and 8; debug kind 3 is optional. Keep empty
|
||||
@@ -85,7 +85,7 @@ and payload publication cannot deadlock each other.
|
||||
## Independent binary oracles
|
||||
|
||||
The manually specified minimal executable in
|
||||
`crates/console/prometeu-bytecode/tests/registry_v1.rs::minimal_bytes` is 194 bytes.
|
||||
`crates/console/prometeu-bytecode/tests/registry_v0.rs::minimal_bytes` is 194 bytes.
|
||||
Its directory begins at 32; eight entries end at 128:
|
||||
|
||||
| Kind | Offset | Length | Payload |
|
||||
@@ -125,7 +125,7 @@ execution remains valid. Names do not adapt trait method compatibility.
|
||||
|
||||
## Endpoint-free input lowering
|
||||
|
||||
The [complete 54-entry table](../specs/runtime/02c-program-registry-and-pbx-v1.md#input)
|
||||
The [complete 54-entry table](../specs/runtime/02c-program-registry-and-pbx-v0.md#input)
|
||||
defines every accepted name/ID/result. Queries take zero guest arguments, read the
|
||||
logical-frame snapshot and cost one intrinsic cycle. States return Bool;
|
||||
hold/x/y return Int64. For example, `input.pad.a.down` lowers directly to
|
||||
|
||||
Reference in New Issue
Block a user