Collapse native coordinator store boundary

This commit is contained in:
Meta Vens 2026-07-12 07:58:19 +01:00
commit c0b542f7ba
9 changed files with 83 additions and 93 deletions

View file

@ -85,12 +85,11 @@ flowchart LR
`runtime_spine.rs` registers and persists worker launch requests, worker
results, Mind reviews, Mind commit receipts, Eyes packets, Substrate Gate
grants, Hands consequence receipts, Soul verdicts, Continuity receipts, and
coordinator run receipts. Conceptually, the runtime store is lifecycle/evidence
truth and the thread-state store is admitted Mind truth. Current launch and
acceptance code, however, receive `runtime_spine_store` and write
`THREAD_STATE_KEY` into that cache. Production often aliases the paths, but the
API names conceal that requirement. The boundary must be repaired before the
two-store invariant can be claimed.
coordinator run receipts. `EpiphanyCoordinatorService` now accepts one `store`
path for canonical state and its atomic runtime/witness companions. The native
status mouth exposes the same boundary as one `--store` argument. Document
families remain typed and separately owned inside the cache; filesystem path
plurality no longer pretends to be an authority boundary.
## Hands → Soul → Modeling Loop
@ -110,7 +109,7 @@ consequence valid.
## Read And Recommendation Flow
`epiphany-mvp-status` reads the native thread-state and runtime-spine stores.
`epiphany-mvp-status` reads the unified native coordinator store.
It derives:
- scene via `surfaces/scene.rs`;
@ -178,10 +177,9 @@ The following are structurally absent:
- Codex-backed MVP status/interruption;
- `epiphany-codex-bridge`.
Native operator projections may still emit a compatibility-shaped
`epiphanyState` field. That field belongs to Epiphany's native projection and is
an active cleanup target; it is not the deleted Codex `Thread.epiphanyState`
contract returning through a side door.
Native coordinator/status projections emit `state`, not the deleted Codex
`Thread.epiphanyState` spelling. Source guards reject that compatibility field
and reject the old two-store status flags.
Codex app-server protocol has no dependency on `epiphany-state-model`.
App-server has no Epiphany state-model/core/bridge dependency. Negative source

View file

@ -94,6 +94,11 @@ Exit evidence:
### 2. Normalize Native Operator Contracts
Status: complete for the canonical coordinator/status boundary. The two-path
service constructor and status flags are deleted, native JSON emits `state`,
and the wrapper supplies the live unified store. Source guards reject the old
field and flags.
- Audit native JSON artifacts for compatibility-shaped field names and nested
Codex response assumptions.
- Rename only when no external contract depends on the old shape; otherwise
@ -188,7 +193,7 @@ Delete or demote:
## Immediate Next Action
Normalize native operator contracts. Begin with an inventory of
compatibility-shaped `epiphanyState` JSON and misleading `runtime_spine_store`
path names, identify each living consumer, and either rename the native
contract or record a bounded migration with an expiry.
Audit the live Hands -> Soul -> Modeling -> Mind -> Self loop against the fresh
repository exit evidence. Identify which required receipt, admission, and
negative-bypass proofs are current and which are only historical claims; close
the first missing proof rather than adding another route or summary.

View file

@ -1992,6 +1992,14 @@ impersonation. The full core library passes 248 tests. That sweep also repaired
mixed-case `Persona`/`Modeling` dependency ids that made the renamed organs
depend on themselves. Next inventory native compatibility-shaped operator JSON
and the misleading `runtime_spine_store` name before renaming either.
That operator-boundary cut is complete. `EpiphanyCoordinatorService` now takes
one `store`; status takes one `--store`; the local wrapper passes its live
coordinator store; and native coordinator/status JSON emits `state` rather than
the extinct Codex-shaped `epiphanyState`. Guards reject the old field and split
flags. The actual status executable ran successfully against
`state/runtime-spine.msgpack`. Next audit current proof of the full Hands ->
Soul -> Modeling -> Mind -> Self loop instead of trusting historical victory
prose.
## Immediate Re-entry Instruction