Route Soul lifecycle before regather

This commit is contained in:
Meta Vens 2026-08-08 13:17:12 +01:00
commit fce1b1977b
4 changed files with 196 additions and 170 deletions

View file

@ -1461,8 +1461,15 @@ repair loop and does not erase failed Soul launches or historical Hands receipts
Verification layer: focused derivation tests prove exact success, original-plan
preservation, single-use refusal, and generic-purpose refusal. The Hands receipt
test proves a mismatched stated command leaves the store byte-identical before
the exact command succeeds. Live v53 migration and renewed Soul verification are
the remaining end-to-end proof.
the exact command succeeds. Live v53 now proves the amended route through exact
Hands receipts and an accepted Soul result at thread-state revision 31.
Self resolves the complete Soul lifecycle before generic CRRC/regather routing.
A pending or running Soul job routes only to result observation. A completed,
accepted Soul result routes according to its verdict: bounded missing evidence
may return to Hands, while an accepted pass or non-pass awaiting model
incorporation routes Modeling. CRRC cannot mint a replacement Hands gate while
Soul is running or after Soul has established the newer causal boundary.
## Exact release build cache ownership

View file

@ -1,119 +1,71 @@
# Fresh workspace handoff
Epiphany remains a supervised engineering alpha on Starfire. Yggdrasil is the
small live host; do not use it as a release forge until measured demand justifies
growth.
Epiphany remains a supervised engineering alpha. Starfire is the current
cognition and release forge; Yggdrasil is the small live host and is not a build
machine at its present memory budget.
## Authoritative live state
- Branch: `codex/epiphany-shakedown-live`
- Pushed HEAD before the current verified repair pass: `583c09c3` (`Expose Soul binding mismatch`)
- Pushed source release commit: `6f3cdc6168e5bf8b680e141582152b56ef10debe`
- Live workspace: `F:\Projects\.epiphany-runtime\shakedown\live-20260808-v53-hands-precedence`
- Thread: `shakedown-v49-hands-relinquishment-r1`
- Current release: `sha256-d2e7205a2b714c89892ba623b26c3cc4c98ac6b4f54dfb9a0a2a623f0d92402d`
- Release witness: `sha256-399d952e5944450775516e612d447be8b2a106e83399f35e2fb6ffb166d17876`
- Thread-state revision: `31`
- Current action: Modeling job `8851bbcc-d013-4e5a-95bf-d69b4833dc29` is running.
- Sealed evidence: v49 through v52. Do not mutate them.
- Current published release: commit `253ef34084c7b450e587c1938a68cd3e983ed79b`, release `sha256-e0a4fd22df335401d56295453e009f31aa2e82253634614426bfba298dd2d3f0`, witness `sha256-65cbc2f21f0774c4da00a60537c959d130e970a4b860de5629a7b929b8185b2c`.
- Exact HEAD still needs one package/publish pass; do not start a duplicate build.
## What is true now
## Live causal boundary
RepoModel revision 5 admitted the CRRC/Reorientation/Continuity implementation
route and Self produced the exact Hands gate. The final implementation is pushed
at `0763fcbe` and has complete typed Hands patch, command, and commit receipts.
RepoModel revision 6 owns the active frontier. Mind admitted one local
supervisor execution amendment as
`repo-frontier-execution-amendment-d0d1a164c03f1298681a70b332ac3ddee423f8ab3e07b91d8dc3d74833a65875`.
It preserves the original plan and route while replacing the non-executable
planning sentence with the exact verification command. The admission is
user-authorized and packet-hash bound; it is not a Bifrost-signed remote
command.
The live causal chain now uses one checkpoint source:
The amended route produced a complete typed Hands consequence against commit
`0763fcbe94257eb9adbe92ab814b5a487f65551d`. Exact release `sha256-d2e7205a...`
resumed the original immutable Soul job
`8eee52bf-d96e-4609-923d-3080e644ca46`, which the prior release could not decode
after the amendment schema was introduced. Coordinator acceptance consumed the
valid Soul result and advanced thread state to revision 31.
1. An explicit Mind investigation checkpoint wins when present.
2. Otherwise the authenticated current RepoModel semantic projection derives an
`admitted_repo_model` checkpoint.
3. Status and CRRC consume it.
4. Reorientation launch consumes the same projection.
5. Reorientation acceptance derives it inside the untouched state CAS and
atomically persists it with Mind acceptance and Continuity recovery receipts.
Self then exposed two precedence faults and both are repaired locally:
v53 proved the old `prepareCheckpoint` false negative is gone. Reorientation
launched, returned a typed finding, and was accepted at state revision 24. Its
typed verdict was `checkpointStillValid=false` because retrieval and graph
freshness are unknown. Self therefore derived `launchResearch`.
1. `Pending|Running` Soul now preempts generic CRRC/regather Hands routing.
2. Accepted Soul consequences now resolve before generic CRRC/regather Hands
routing, so a pass launches Modeling rather than minting another Hands gate.
The Eyes worker completed as
`result-worker-437e5b05-9e8c-4596-b517-84a7a75d2b4f`. Its source observations
were valid and Mind accepted them at revision 26. Its suggestion to return to
Imagination was advisory prose outside Eyes authority; Self retained runtime
routing authority and derived one causal Modeling reconciliation because the
accepted Research boundary was newer than Modeling. Modeling result
`result-worker-8772d5af-8df9-42da-a1c4-dee13eb1d959` proposed an Evolution
patch and was correctly rejected because Evolution cannot bypass the active
route. Commits `fbea0e22` and `189091bf` now keep that reviewed rejection behind
Soul verification while a complete Hands consequence exists.
All 23 focused coordinator routing tests pass. Operator-safe live proof is under
`.epiphany-dogfood/v53-amended-soul-r42-poll`,
`.epiphany-dogfood/v53-amended-soul-accept-r43`,
`.epiphany-dogfood/v53-post-soul-r45`, and
`.epiphany-dogfood/v53-post-soul-modeling-r46`.
Soul launch remains fail-closed. Supervisor retries supplied complete typed
Hands chains for both plausible historical test-command spellings, with fresh
passing logs, but verification-request admission still reports
`command.plan.command`. Inspection of the typed route payload indicates that
Imagination/Mind admitted a non-executable or empty plan command while later
granting Hands authority. Do not weaken Soul and do not forge an empty command
receipt. Preserve the failed launches (`v53-soul-r24`, `r25`, `r27`, diagnostic
`r28`/`r29`) as receipts of the corrupted seam.
The current verified repair pass makes command substitution fail before a Hands
command receipt can persist. Hands gates expose the exact effective command.
RepoModel now supports one Mind-owned, single-use execution amendment whose
authenticated provenance and hashes preserve the original adopted plan while
atomically committing a new model revision, Mind review, admission receipt,
amendment receipt, and Modeling projection. The narrow operator mouth is
`epiphany-mind-repair amend-frontier-execution`. Focused amendment and Hands-gate
tests pass; their builds took 73 and 64 seconds respectively while test execution
was sub-second, strengthening the case for the pending core crate split.
## Receipts
- Final Hands patch: `hands-patch-34b421a7-867f-4414-8265-36f2eb191afb`
- Final Hands command: `hands-command-96a2c5db-0e77-483e-95bd-ea254808447d`
- Final Hands commit: `hands-commit-72d855ba-ac7c-4a96-a893-6843a30bf978`
- Reorientation result: `result-worker-884ee658-5e37-4238-a010-44e995639f76`
- Accepted Reorientation artifacts: `.epiphany-dogfood/v53-reorient-accept-r11`
- Post-accept Self proof: `.epiphany-dogfood/v53-post-reorient-r12`
The `v53-amended-soul-r41` supervisor poll is contaminated for normal dogfood
supervision because the operator tailed the structured worker stdout while
checking completion. It did not steer acceptance; use the coordinator
projections above as authoritative evidence.
## Next action
Commit and push the typed repair pass. Then use the Mind repair CLI to amend the
live v53 plan with explicit supervisor command/admission provenance, derive a
fresh route, replay the exact Hands receipts against that amended route, and
retry Soul. Preserve the original route and every failed Soul launch.
Poll Modeling job `8851bbcc-d013-4e5a-95bf-d69b4833dc29` only through an
operator-safe coordinator projection. Accept the first valid Modeling result,
then inspect Self's next typed action. Do not recreate Eyes, Imagination, Hands,
or Soul work from this circuit.
The repair pass is pushed at `12c8241b`. The apparent missing-route discrepancy
was local to the new inspector and amendment path: each registered the runtime
store but omitted `pull_all_backing_stores` before typed reads. After restoring
that load, the live typed route decodes exactly as
`repo-frontier-route-fb206aaa609246becc17243c0ac5d98d2e70e30fd1dd3351467885ea6ca88dc2`.
Its original action is `propose-native-frontier-route-document-chain`; its
original command is the planning sentence beginning `Draft one reviewable
frontier-route plan candidate...`, proving the plan-to-Hands authority defect.
No amendment has yet been attempted.
Commit and push the Soul-precedence repair and this Mind refresh. After the
current Modeling boundary lands, attack the iteration path:
The amendment has now landed as
`repo-frontier-execution-amendment-d0d1a164c03f1298681a70b332ac3ddee423f8ab3e07b91d8dc3d74833a65875`,
advancing RepoModel revision 5 to 6 and hash
`e024e2ab2580f4006533d8a8f1f38fbd3aa5189b5307ac824854247e018abefd`.
The packet and emitted receipt are preserved under
`.epiphany-dogfood/v53-execution-amend-r31`. This is a user-authorized local
supervisor admission, explicitly not a Bifrost-signed remote command.
- exact `6f3cdc61` packaging rebuilt 21 first-party release binaries in 6m59s;
- Modeling launch-context assembly against the roughly 40 MiB runtime store took
about 90 seconds before the detached worker appeared;
- the stable source/graph cache already exists, so the next cut is first-party
crate/module fan-out plus projection cost, not another cache wrapper.
Post-amendment status exposed two stale-history precedence faults. A complete
Hands chain now counts for Soul routing only when its immutable authority route
matches the current RepoModel. A current Hands frontier also preempts a reviewed
stale Modeling result and the otherwise-causal Research-to-Modeling route. Focused
coordinator tests pass, and current live status now derives
`continueImplementation` with `nativeHandsConsequenceAfterBoundary=false`.
Build iteration is also an active architectural defect: a tiny
`runtime_spine.rs` diagnostic edit forced 18-29 second debug rebuilds, while
exact packages remain multi-minute. Map the crate/module dependency fan-out and
extract the volatile coordinator/runtime-spine seam into narrower compilation
units before the remaining shakedown passes.
Keep separate the pending provenance audit: the adopted Mind decision serialized
a model-supplied 2025 `decided_at`; coordinator commit-time ownership must be
audited before the planning circuit is called closed.
Still open after this route: native Persona consequence, retention, restart and
closure, long-duration/resource behavior, and Linux/Yggdrasil cognition.
Still open: native Persona consequence, retention, crash/restart/session
closure, long-duration resource behavior, timestamp ownership for admitted Mind
decisions, and Linux/Yggdrasil cognition.