diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index 928f6d95..40361b05 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -1,9 +1,9 @@ # Epiphany current algorithmic map Updated: 2026-08-25 -Latest committed implementation cut: `7a125d78` on `codex/epiphany-shakedown-live` -Current pass: vendored Codex evicted; semantic-owner audit of -`runtime_spine.rs` is next; Ox17 remains paused +Latest committed implementation cut: `5f1bea39` on `codex/epiphany-shakedown-live` +Current pass: current work and typed fulfillment consume one exact Mind +snapshot; coordinator-status/runtime-reader audit is next; Ox17 remains paused This document describes the live machine. Historical cuts, rejected paths, and proof chronology belong in git, `state/ledgers.msgpack`, and bounded smoke @@ -668,6 +668,16 @@ model and Persona entrypoints. Persona keeps its three-stage family executor; the service owns its concrete runner. Workers have one governed tool-capable route, not a tool route plus a parallel no-tools opinion. +One logical state judgment consumes one pulled snapshot. Exact `7374be5e` +makes Mind assembly, keyed RepoModel assembly, current-work projection, +reasoning-basis construction, and Reorientation reuse the same CultCache. +Exact `5f1bea39` extends that rule through immutable typed-fulfillment replay: +family admission, PlanMind continuation, worker archival, and Resident Self do +not reopen runtime state while validating the result they just selected. The +provider runtime retains one path-based role-result CAS writer; read-only +replay consumes an explicit `&CultCache` and cannot silently rebase model +output against a newer store head. + The target boundary is independent `GameCult/CodexConnector`; exact `6dc80f6d266db4d82566d2434adcc55a48e8ecad` owns one typed multi-caller transport package and one public daemon binary without linking a Codex crate. diff --git a/notes/epiphany-fork-implementation-plan.md b/notes/epiphany-fork-implementation-plan.md index 2c71070c..4387e91b 100644 --- a/notes/epiphany-fork-implementation-plan.md +++ b/notes/epiphany-fork-implementation-plan.md @@ -363,7 +363,7 @@ Cut in this order: projection assembled from exact keyed Mind document versions. The final model request must render that projection; citing keyed sources while rendering the old thread snapshot is explicitly forbidden. -2. **Body admission landed at `2eb95df6`; current-work projection landed at `e42788c9` and now consumes one exact snapshot at `7374be5e`:** one pure typed projection derives Body Modeling, Eyes continuation, proposal Modeling, frontier planning, and Hands readiness from one pulled keyed Mind/runtime cache. +2. **Body admission landed at `2eb95df6`; current-work projection landed at `e42788c9`, consumes one exact snapshot at `7374be5e`, and typed fulfillment reuses it at `5f1bea39`:** one pure typed projection derives Body Modeling, Eyes continuation, proposal Modeling, frontier planning, and Hands readiness from one pulled keyed Mind/runtime cache. Immutable result replay, family admission, PlanMind continuation, worker archival, and Resident Self completion validate against the caller's same snapshot rather than reopening runtime state. Modeling must derive from the current Body/RepoModel obligation; Eyes only from explicit external-evidence obligations. Body-generation Modeling identity, typed Body-to-Mind admission, sealed reasoning, and atomic decision diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 84f586e8..105dbecd 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -2,10 +2,10 @@ Updated: 2026-08-25 Branch: `codex/epiphany-shakedown-live` -Latest committed Epiphany source cut: `7374be5e` +Latest committed Epiphany source cut: `5f1bea39` Current connector source: `6dc80f6d266db4d82566d2434adcc55a48e8ecad` -Current pass: current work projects from one exact Mind snapshot; continue the -semantic-owner audit of runtime path-based reloads; Ox17 and Atlas Gate 1 remain paused +Current pass: current work and typed fulfillment use one exact Mind snapshot; +continue the coordinator-status/runtime-reader audit; Ox17 and Atlas Gate 1 remain paused ## Orientation @@ -2106,3 +2106,16 @@ transport, and replay. Its lean typed client is the ABI stub shared by Epiphany and Ghostlight; removing that stub would merely duplicate encryption and framing in both consumers. Consumers continue to own their exact native and provider requests, prompts, tools, decisions, and state admission. + +Exact `5f1bea39` extends the same snapshot law through typed fulfillment. +Research, Verification, Proposal Modeling, PlanMind continuation, fulfilled +worker archival, and Resident Self now validate an immutable result against +the cache they already pulled instead of reopening runtime state mid-decision. +The generic path wrapper is deleted; provider execution retains the sole +path-based role-result CAS writer. The cut is 17 maintained lines net additive +because the private cache-local seam replaces repeated physical reads without +adding schema, dependency, target, process, or authority. Core check, +current-work 3/3, reasoning-context 8/8, structured-failure refusal, and the +release-owned swarm entrypoint pass. The focused build produced 2.2 GiB across +3,189 files; cleanup again restored only the exact authenticated state +inspector. diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 4cdc6f13..70e3f37f 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index 812df917..c8375c08 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -225,9 +225,10 @@ current_status: yggdrasil_epiphany_service_contract: idunn_source_change_owner_eve_and_local_typed_operator_surfaces_no_discord_control_plane resident_physiology: historical_c011_exact_465af24d_zero_zombie_proof_accepted_current_containers_exited_255 vendored_codex_eviction: Exact 7a125d78 deletes all 3,592 tracked vendored Codex files and 851,099 lines after Cargo metadata and manifest/source guards prove no build consumer. The seven dirty files contained only rustfmt and blank-line churn, so no semantic work was discarded or preserved as a counterfeit artifact. The root workspace exclusion, obsolete AGENTS search recipes, vendor-specific license clauses, and two superseded live migration notes are gone. The independent Connector contract remains the sole Codex-facing compile dependency. Gamecult-ops exact cb63e77 corrects the Yggdrasil inventory from the extinct Epiphany-branded/Ghostlight-owned daemon to the independent `yggdrasil-codex-connector` Idunn target. Historical archive notes and the explicitly dated June Body whitepaper remain inert history. No compilation or deployment mutation was required. - unresolved_authority: `runtime_spine.rs` remains the largest central liability; it still mixes immutable identity, minimal model sessions/jobs, process claims, model/tool execution binding, family admission, consequence receipts, retention, and resurrection fences. Exact a01c6842 removes the counterfeit Hands review; route, Substrate Gate grant, minimal intent, frontier authority, and exact consequences now own that chain. No production actuator authors those receipts, so the coordinator truthfully stops at `awaitingHandsExecutor`. Exact c37cae8b closes the two-stage Codex request seam, exact 7a125d78 removes the excluded implementation corpse, and exact 7374be5e removes split-snapshot current-work projection. Ghostlight exact 8e7d980 pins the same Connector source contract. Historical c011 and partial Gate roots stay untouched/read-only. - next_action: Continue source subtraction from exact 7374be5e. Audit remaining path-based runtime helpers that reopen an already pulled Mind, especially coordinator status composition and typed-fulfillment replay validation. Collapse each read-only family onto one exact cache snapshot before considering any new abstraction. Keep exact model/tool binding, decision audit, CAS, terminality, retention, and resurrection guarantees. Keep the lean Codex Connector client as the shared ABI stub, OpenRouter as a separate temporary provider edge, Model Atlas operationally paused, and avoid local workspace-wide builds or deployment mutation. + unresolved_authority: `runtime_spine.rs` remains the largest central liability; it still mixes immutable identity, minimal model sessions/jobs, process claims, model/tool execution binding, family admission, consequence receipts, retention, and resurrection fences. Exact a01c6842 removes the counterfeit Hands review; route, Substrate Gate grant, minimal intent, frontier authority, and exact consequences now own that chain. No production actuator authors those receipts, so the coordinator truthfully stops at `awaitingHandsExecutor`. Exact c37cae8b closes the two-stage Codex request seam, exact 7a125d78 removes the excluded implementation corpse, exact 7374be5e removes split-snapshot current-work projection, and exact 5f1bea39 removes the second fulfillment/replay store snapshot. Ghostlight exact 8e7d980 pins the same Connector source contract. Historical c011 and partial Gate roots stay untouched/read-only. + next_action: Continue source subtraction from exact 5f1bea39. Audit coordinator-status composition and the remaining path-based runtime readers for one logical result assembled from multiple store snapshots. Collapse only proven duplicate reads; preserve exact model/tool binding, decision audit, CAS, terminality, retention, and resurrection guarantees. Keep the lean Codex Connector client as the shared ABI stub, OpenRouter as a separate temporary provider edge, Model Atlas operationally paused, and avoid local workspace-wide builds or deployment mutation. single_snapshot_current_work_cut: Exact 7374be5e makes one pulled CultCache snapshot the sole input to Mind assembly, keyed RepoModel assembly, current-work Research and Planning lifecycles, Hands readiness, Modeling launches, reasoning-basis assembly, and Reorientation request projection. Three path-based wrappers and numerous repeated open/pull sequences are gone; Research and Verification admission also reuse their already authenticated cache for review and public-source consequence checks. The public Codex Connector client remains the earned ABI stub: deleting it would duplicate authenticated encryption and framing in every consumer, while no daemon/auth/HTTP/SSE implementation compiles into Epiphany. The cut is one net maintained line smaller, adds no schema, dependency, target, or process, and passes Core check, current-work 3/3, reasoning-context 8/8, Reorientation 1/1, Mind determinism 1/1, and RepoModel determinism 1/1. The focused run produced 2.0 GiB across 2,867 files; cleanup restored exactly the 1,776,640-byte inspector at SHA-256 DD38855C6F092C2C53D2212A938E737643F41130F4681708840BA6075320A04E. + single_snapshot_fulfillment_cut: Exact 5f1bea39 makes typed fulfillment replay consume the caller's already pulled runtime Mind snapshot. Research, Verification, Proposal Modeling, PlanMind continuation, fulfilled-worker archival, and Resident Self completion no longer reopen the same `.cc` file while validating one immutable result. The generic path-based fulfillment wrapper is deleted. The public provider-runtime role-result function remains the sole path-based CAS writer; cache-local fulfillment can only replay the exact result already present in its supplied snapshot. The cut adds 17 maintained lines net to remove repeated physical reads while adding no schema, dependency, target, process, or decision authority. Core check, current-work 3/3, reasoning-context 8/8, structured-failure refusal, and the release-owned swarm entrypoint pass. Verification produced 2.2 GiB across 3,189 files; cleanup restored the exact authenticated state inspector. runtime_spine_surface_cut: `runtime_spine.rs` owns immutable runtime identity, minimal model sessions/jobs and process claims, model/tool execution bindings, family admission, consequence receipts, retention, and identity-resurrection fences. Provider requests remain exact durable audit input; provider events/receipts normalize into one native persisted stream/receipt family. The sealed typed worker launch owns live pass-family identity and outer-worker role. Model execution bindings own model-session membership; outer-worker root membership is structural. Archived worker attempts retain exact request kind/ID, deletion digest, decision context, and full typed structured outcome after live launch deletion, including typed failures. Model sessions carry only grouping identity plus the active/completed phase latch; completed-session retention derives its exact jobs from model bindings and writes one private tombstone containing retired identities plus the deletion-chain digest. The live and archived documents protect distinct admission and resurrection invariants and do not duplicate decision cargo. Runtime jobs carry only job identity plus the Queued/Completed/Failed latch. No job clock, role/session mirror, intermediate status, generic terminal-result document, latest-result selector, or model-turn identity echo participates in causality. Typed role/reorientation outcomes own structured terminal decisions and atomically close their job/process physiology; native model receipt/failure records own model-pass terminality; process claims own process death. Verification reasons from the exact route, authority, intent, patch, command, and commit bodies sealed in its basis and has no review document or live receipt-reread tool. Mind/runtime writable epochs remain v11/v47; archived worker attempts are v3. Family launch CAS, model execution, and coordinator basis admission are the only session/job creation owners. Continue subtraction through the remaining single-caller runtime-spine surfaces; do not recreate deleted authority through registries, adapters, compatibility readers, or summary DTOs.