Record runtime spine surface cut

This commit is contained in:
Meta Vens 2026-08-23 20:39:03 +02:00
commit 4dfa98581a
5 changed files with 44 additions and 16 deletions

View file

@ -227,6 +227,14 @@ authority ends at exact patch, command, and commit consequences. A real remote
publication result enters as provider/Bifrost-owned evidence rather than an
Epiphany-authored facsimile.
Exact `25d4d1fa` deletes a second fictional Hands branch: the callerless route-
relinquishment writer, its refusal receipt, its Mind receipt, and both schema
registrations. No scheduler, coordinator, actuator, admission owner, or test
consumed it. The live path is narrower: exact intent/review/grant authority,
then patch/command/commit receipts, with the commit atomically creating the
Verification request. Epiphany has no durable Hands-relinquishment lifecycle
until a real consequence owner requires and verifies one.
Hands also does not record operator-authored descriptions as if they were
observed consequences. Exact `b78ffb25` deletes the callerless
`epiphany-hands-action` recorder, its packaged role, command-description
@ -317,7 +325,7 @@ interface authority.
| 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. |
| model-provider boundary | sealed native model request plus explicit provider configuration and injected credential | exact internally derived provider request and transport result | 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/event 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. |
| 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. |
| Substrate Gate | exact worker/job authority and requested operation | scoped grant or refusal | Access permission does not admit Mind state. |
| Eyes | explicit external-evidence obligation plus governed source receipts | typed evidence packet and Mind observations | Eyes gathers outside evidence; it does not gate Modeling over the Body. |
| Modeling | Body basis, keyed RepoModel view, verified consequences, and explicit proposals | typed graph/frontier mutations | Modeling processes the Body directly and owns no external-source permission. |
@ -355,8 +363,8 @@ Singleton semantic identities:
Keyed semantic identities include subgoals, invariants, evidence, observations,
checkpoints, planning items, Persona memories and social reads, Hands receipts,
Verification audits, and RepoModel domains/nodes/edges/summaries/frontier/
lifecycle receipts/per-claim obligation guards.
Verification audits, RepoModel domains/nodes/edges/frontier items, and per-claim
obligation guards.
`EpiphanyMindView` and `EpiphanyRepoModelView` are deterministic assemblies of
exact envelopes. Their projection digests identify a view for audit/display;

View file

@ -1108,12 +1108,25 @@ snapshot. The private scanner-session spelling test and fixture-wide route
assertions are gone; public Body behavior remains 22/22, reasoning context 8/8,
RepoModel 5/5, Atlas runtime 2/2, and affected current-work proofs pass.
The next cut audits `epiphany-core/src/runtime_spine.rs`. At 11,678 lines it is
the largest remaining central liability. Inventory every public surface by
non-test caller, persistent document, and external consequence; delete
callerless readers/writers/DTOs and collapse repeated store paths while
preserving immutable identity, exact job/session terminality, decision audit,
conflict/replay, and retention that prevents resurrection.
Exact `25d4d1fa` begins the runtime-spine cut. Twenty-four public functions had
no caller in Epiphany, its live neighboring services, or its deployment/runtime
body. Their read wrappers, mutation wrappers, status projections, exports, and
tool-status DTO are gone. The audit also found a complete Hands
route-relinquishment lifecycle—writer, refusal receipt, Mind receipt, schema
registration, and prose—with no caller and no verifier; it is deleted rather
than preserved as fictional safety. The live Hands owner remains the exact
intent/review/grant and patch/command/commit receipt chain, whose commit
atomically creates Verification work. The cut removes 800 source lines and adds
three words of corrected live documentation. Core compiles without warnings;
the focused keyed lifecycle proof passes, including concurrent Persona and
Hands commits. `runtime_spine.rs` now has 10,990 lines, 73 public functions, and
30 public structs.
Continue there. Delete the last callerless Hands receipt-chain reader and
demote its private summary cargo, then audit single-caller archive, status, and
retention helpers. Preserve immutable identity, exact job/session terminality,
decision audit, model/tool binding, atomic Hands-to-Verification admission,
conflict/replay, and retention fences that prevent authority resurrection.
## Competitive Eyes/Imagination pass