Record sealed launch authority cut

This commit is contained in:
Meta Vens 2026-08-24 19:42:14 +02:00
commit d75583c45e
6 changed files with 102 additions and 31 deletions

View file

@ -696,7 +696,7 @@ open.
| concrete family admission owners | sealed decision context, exact family request/result chain, affected semantic documents | one family-specific `MindMutation` | The model cannot choose which stale state is safe to ignore. |
| `current_work.rs` | keyed Mind view and exact runtime request/job/result/decision families | pure family scheduling and continuation projections | Events, timestamps, role lanes, and thread provenance cannot create or suppress work. |
| coordinator policy/status | keyed Mind presence, exact current work, and the accepted continuity decision | one action/reason pair plus operator-readable role lanes | Coordinator presence is derived; no mutable coordinator head, pressure tableau, or duplicate policy wrapper exists. |
| runtime worker attempt owner | immutable launch, exact process claim, typed result, job result, archival evidence | one terminal attempt authority | Scheduling, process liveness, and semantic admission remain distinct authorities. |
| runtime worker attempt owner | sealed typed launch, exact process claim, semantic result or typed failure, job result, archival evidence | one terminal attempt authority | The launch document solely owns live family identity. The result cannot repeat routing identity; after live deletion the archive owns exact request kind/ID beside the preserved structured decision. Scheduling, process liveness, and semantic admission remain distinct authorities. |
| model-provider boundary | sealed native model request plus explicit provider configuration | exact internally derived provider request and transport result | OpenRouter remains a release-owned direct boundary. Codex crosses the lean CodexConnector client ABI; the daemon owns only caller admission, credential refresh, exact transport, and durable replay. Provider selection cannot author a second request truth or admit Mind state. |
| OpenAI Responses schema projector | full native typed output schema | one provider-legal strict generation schema | Provider formatting preserves useful supported constraints but never replaces native decoding or Mind admission. |
| model-pass terminal owner | sealed reasoning basis/context and typed failure class | exact transport closure plus `EpiphanyModelPassFailure` and terminal session/job result in one batch CAS | The caller cannot nominate a job/session; the context-derived binding closes role, reorient, and Persona failures without granting generic transport results decision authority. |
@ -1016,6 +1016,16 @@ flowchart TD
Eyes may create evidence that creates Modeling work. Eyes acceptance never
suppresses or authorizes ordinary Body Modeling.
Exact `edb5c3a3` deletes the eight optional family request-ID mirrors from the
generic worker launch and heartbeat options, plus their terminal-result echoes,
the copied Body basis, and the copied frontier route. Every current-work,
admission, retry, schema, and tool path derives live family identity from the
sealed typed launch. A successful terminal result must contain the semantic
payload required by that context; a typed failure contains one nonempty error
and no success cargo. Retained attempts carry request kind/ID explicitly because
retention deletes the live launch. Runtime is v39 and the role-result contract
is v5; no old-store reader exists.
Each simple unresolved model-pass family embeds one
`EpiphanyAgentPassAttemptProjection`: continuation action plus the exact latest
runtime job identity when one exists. Body, proposal and frontier-verdict
@ -1051,11 +1061,14 @@ worker, and reasoning basis are read from the exact native model request. A
tool binding contains only intent, session, and job identity; its optional
model ancestry is read from the exact typed tool intent. Validation and
retention reload those owners. No binding timestamp participates in causality.
Runtime writable state is v37.
Runtime writable state is v39.
The attempt aggregate centralizes exact request association and typed terminal
classification. Archived fulfilled attempts must retain recoverable decision
authority, not merely an ID/digest tombstone.
The sealed typed launch owns exact live request association. The terminal role
result owns only semantic decision cargo or typed failure. The archived attempt
owns historical request kind/ID and typed terminal classification after the
live launch is deleted. Archived fulfilled attempts retain the structured role
result, exact generic result family, and decision context—not an ID/digest
tombstone.
The heartbeat scheduler does not exist. Resident Self directly selects the
oldest pending pressure when no grant, prepared launch, or active lease exists.
@ -1121,12 +1134,22 @@ receipts, and their direct context links.
Runtime retention may remove SSE frames, deltas, intermediate requests,
provider events, and tool scaffolding only after the terminal context is sealed
and the retained decision can still reach its basis/context without them.
The v1 worker-attempt archive embeds the exact typed role result and its
context-bound generic result family. The read-only decision audit consumes the
same durable records before and after archival.
The v1 worker-attempt archive embeds exact request kind/ID, the typed role
result, and its context-bound generic result family. The read-only decision
audit consumes the same durable records before and after archival; it never
reconstructs family identity from terminal-result echoes.
## Verification and open gates
Focused acceptance at exact `edb5c3a3` proves the complete keyed state-flow
across Body and both frontier Modeling families, Planning/PlanMind,
Hands/Verification, and Eyes/Research without thread-state or result-echo
authority. Content-addressed basis/context substitution, exact provider/tool
bytes, transcript-free audit, typed failure, disjoint merge, same-identity
conflict, and v38 writable-store refusal all pass. Core/OpenAI libraries and the
release-owned model binary compile natively. The cut removes 443 maintained
lines net; it does not claim a fresh package, Atlas Gate, or live collaboration.
Accepted through the local `5b799b12` source boundary:
- core library `494/494`;

View file

@ -803,6 +803,15 @@ Cut in this order:
run summary loses its fixed adapter/schema catalogue and caller-supplied
store echo. Exact authority remains the typed receipt; stdout returns only
intent ID, receipt ID, and terminal status.
47. **The sealed launch owns pass-family identity at `edb5c3a3`:** eight
optional request-ID mirrors are deleted from worker launch/runtime options,
and terminal role results lose the same family echoes plus copied Body basis
and frontier route. Live routing decodes the typed launch; retained history
uses archived request kind/ID beside the preserved structured decision.
Success requires the family semantic payload and typed failure forbids
success cargo. Runtime is v39 and role-result output is v5 with no legacy
reader. The next subtraction target is the generic runtime session
aggregate, not a replacement launch registry.
Do not preserve the aggregate for compatibility, manufacture a bootstrap
thread, release autonomous scheduling, register topology in `gamecult-ops`,

View file

@ -2,11 +2,11 @@
Updated: 2026-08-24
Branch: `codex/epiphany-shakedown-live`
Latest committed Epiphany source cut: `07529fb5`
Latest committed Epiphany source cut: `edb5c3a3`
Current connector source: `54d8bc2525b7e7fa1b9dd26b95871247ff4c7566`
Current pass: source subtraction continues after collapsing semantic state into
Core; duplicate family request identities on generic worker launch/result
records are next; Ox17 and Atlas Gate 1 remain paused
Current pass: source subtraction continues after making the sealed typed worker
launch the sole live owner of pass-family identity; the generic runtime session
aggregate is next; Ox17 and Atlas Gate 1 remain paused
## Orientation
@ -17,7 +17,7 @@ Idunn's Yggdrasil CI/CD task with local compiler work, or wake resident
cognition without an explicit operator resumption.
Epiphany is a supervised engineering alpha. Exact source `d2ca6630` remains the
production symlink body and is inactive. Exact `07529fb5` is the current
production symlink body and is inactive. Exact `edb5c3a3` is the current
build-affecting source. Historical live proofs remain evidence; they do not
authorize the next capstone or Gate 1.
@ -104,6 +104,26 @@ Whole-Core Clippy exposes 58 pre-existing lints outside this cut. Verification
generated 1.842 GB across 2,718 files; cleanup restored only the exact state
inspector.
Exact `edb5c3a3` deletes the duplicate pass-family authority from runtime
physiology. Eight optional request-ID fields are gone from
`EpiphanyRuntimeWorkerLaunchRequest` and its heartbeat options. The terminal
role result no longer repeats those family identities, the Body observation
basis, or the frontier route. Live current-work, admission, retry, provider
schema selection, and tool setup decode the one sealed typed launch document.
After retention deletes that live launch, the archived attempt retains exact
request kind/ID beside the full structured decision and decision context.
Terminal success now requires the semantic payload named by the sealed family
context; a typed failure requires one nonempty error and may carry no successful
semantic cargo. Runtime advances to v39 and the role-result output contract to
v5 with no old-store reader. The committed delta is 742 additions and 1,185
deletions: 443 maintained lines removed. Core and OpenAI runtime libraries and
the release-owned model binary compile. The complete keyed state-flow test,
content-addressed/context substitution tests, transcript-free decision audit,
model-failure audit, concurrent disjoint/same-identity CAS proof, old-epoch
refusal, and focused proposal/Verification/Planning/consideration/Mind/provider
completion tests pass.
Exact `a6cf9383` quarantines concrete Codex/OpenRouter authentication,
credential reading, and network transport at the two release entrypoints that
perform inference. `epiphany-openai-runtime` now owns only exact native-request
@ -1189,13 +1209,13 @@ coordinator `12/12`, swarm `10/10`, and model-runtime `13/13`.
## Immediate next action
The Ox17 deployment lane remains paused. Continue subtraction from exact
`07529fb5`: remove the optional family request-ID mirrors on the generic worker
launch and their role-result echoes wherever the exact typed launch document or
structured decision already owns identity. Delete their validators,
constructor defaults, and fixture assertions rather than replacing them with a
registry. Then audit whether the generic runtime session aggregate protects any
invariant not already owned by jobs, decision contexts, coordinator receipts,
and retention tombstones. The Connector CultMesh/Idunn/Yggdrasil proof and
`edb5c3a3`: map every reader and writer of `EpiphanyRuntimeSession` and
`EpiphanyArchivedRuntimeSession`. Determine whether session identity, objective,
coordinator note, lifecycle status, and archive membership protect an invariant
not already owned by exact jobs, native requests, decision contexts,
coordinator receipts, and retention tombstones. Delete the aggregate or reduce
it to the smallest earned physiology; do not replace it with a registry,
adapter, compatibility reader, or latest head. The Connector CultMesh/Idunn/Yggdrasil proof and
Ghostlight adoption remain queued behind source stabilization. Preserve keyed
Mind, direct Body-to-Modeling flow, consequence receipts, and the complete
Model Atlas vertical slice; no live inter-swarm collaboration has run.