docs: replace ephemeral workflow references with durable lessons

This commit is contained in:
2026-10-08 08:34:32 +01:00
parent d48978988e
commit 8381800fce
11 changed files with 54 additions and 59 deletions
+20 -28
View File
@@ -1,8 +1,8 @@
# Registry v1 producer and consumer handoff
This is an implementation handoff for DEC-0045 / PLN-0176. The normative contract
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).
It does not approve the separate callable proposal or claim Studio propagation.
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).
## Publication state
@@ -11,32 +11,24 @@ session factory, typed direct-call/return boundaries, Dynamic/reference executio
fixed input catalogue and string accounting have executable tests. The production
`initialize` transition, removal of old unchecked entry points, all producer
migration and both regenerated runtime examples remain pending. Existing closure
receivers need the separate AGD-0055 contract; none of the four accepted Registry
receivers need a typed callable contract; none of the four accepted Registry
categories may be used as a provisional closure type.
On 2026-10-08 the user closed the independent AGD-0061 / PLN-0176 delivery and
required each plan to be atomic to its originating agenda. Coordinated activation
and its producer/example audits were handed to AGD-0055 as suggestions for its
future plan. The Registry delivery ends without requiring that agenda to close
first. The final v1-only target remains normative; integration below is unexecuted.
This scope correction does not accept a callable proposal.
### Pending production integration
| Original Registry steps | Pending integration owned by AGD-0055 |
| Component | Pending implementation and validation |
| --- | --- |
| 09 / 14 | Switch production initialize to the sealed strict v1 factory; retire old decoder and unchecked entry points while preserving approved callable behavior. |
| 19 | Complete image/constant provenance on migrated production entry points using the delivered ledgers and native retention domains. |
| 24 / 25 | Route production loads through bounded Registry verification; remove the old verifier while adding the callable contract's checks. |
| 28 | Audit structured load/runtime/native diagnostics through the final active loader and hosts. |
| 29 / 30 | Migrate producers/fixtures, regenerate dummy-boy and stress-console PBX files, and execute both through the active runtime. These generators are ordinary programs sharing the production consumer being migrated. |
| 31 / 32 | Add migrated producer/example/callable evidence to this handoff and the existing conformance matrix. |
| 35 | Audit final coordinated publication, legacy removal, traceability and migrated workspace/examples. |
| Loader and image | Switch production initialize to the sealed strict v1 factory; retire old decoder and unchecked entry points while preserving typed callable behavior. |
| Constant ownership | Complete image/constant provenance on migrated production entry points using the delivered ledgers and native retention domains. |
| Verification | Route production loads through bounded Registry verification; remove the old verifier while adding typed callable checks. |
| Diagnostics | Audit structured load/runtime/native diagnostics through the final active loader and hosts. |
| Producers and examples | Migrate producers/fixtures, regenerate dummy-boy and stress-console PBX files, and execute both through the active runtime. These generators are ordinary programs sharing the production consumer being migrated. |
| Conformance | Add migrated producer/example/callable evidence to this handoff and the existing conformance matrix. |
| Publication | Audit final coordinated publication, legacy removal, traceability and migrated workspace/examples. |
AGD-0055 records concrete targets and acceptance for this handoff. Its future plan
follows its own accepted decision and reuses the Registry foundation. Guest
collection operations stay with AGD-0054, new strings/bytes/save with AGD-0057,
coordinated stress with AGD-0059 and representative-game headroom with AGD-0060.
The [delivery lesson](../../discussion/lessons/DSC-0058-program-registry-type-and-function-metadata/LSN-0059-registry-boundaries-and-owned-values.md)
explains published mechanisms and the scope correction.
This integration reuses the delivered Registry foundation. Guest collection
operations, new strings/bytes/save APIs, coordinated stress and representative-game
headroom each require their own technical contract or validation workload.
The external Studio handoff targets are the build-pipeline
`backend/bytecode/BytecodeModule.java` and `backend/irvm/IRVMIntrinsicRegistry.java`,
@@ -138,11 +130,11 @@ human wording or manufacture runtime PCs for rejected loads.
| Consumer | Accepted handoff | Status / remaining ownership |
| --- | --- | --- |
| Studio/PBS | PBX schema, signatures/names, effect-order and binary oracles, nine imports, all input IDs and diagnostics | External implementation and source-language tests pending; no external edits claimed |
| AGD-0054 collections | Typed aligned layouts/defaults, exact storage groups, reference/native maps and checked adapters | Internal containers are tested; future guest collection operations/costs/GC integration belong to its decision/plan |
| AGD-0055 callables | Function/implementation tables and direct-call contracts; exact trait views | Open Callable/capture/dispatch/coroutine contract; affected producer migration remains dependent on it |
| AGD-0057 strings/bytes/save | Arc strings, image/session Weak ledgers, bounded native writers and explicit import/export provenance | Existing string paths are integrated; new operations and their operation-specific evidence remain suggestions |
| AGD-0059 stability | Product ceilings, generational handles, fallible capacity reservations and structured faults | Focused ownership/quota rollback is core evidence; coordinated long-run/cross-host stress remains a suggestion |
| AGD-0060 reference game | Runtime contract, example migration requirement and technical measurements | Game workload/headroom/readiness acceptance remains a suggestion, not measured by unit tests |
| Collections | Typed aligned layouts/defaults, exact storage groups, reference/native maps and checked adapters | Internal containers are tested; guest collection operations/costs/GC integration require a complete operation contract |
| Callables | Function/implementation tables and direct-call contracts; exact trait views | Callable/capture/dispatch/coroutine semantics and coordinated producer migration remain pending |
| Strings/bytes/save | Arc strings, image/session Weak ledgers, bounded native writers and explicit import/export provenance | Existing string paths are integrated; new operations and their operation-specific evidence remain pending |
| Resource stability | Product ceilings, generational handles, fallible capacity reservations and structured faults | Focused ownership/quota rollback is core evidence; coordinated long-run/cross-host stress requires separate workloads |
| Reference game | Runtime contract, example migration requirement and technical measurements | Game workload/headroom/readiness requires representative-game evidence, not unit test counts |
Image constant allocations are shared between sessions without a session-content
charge. New/imported runtime allocations belong to their session; equal text does