diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index 0da240d2..928f6d95 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -668,9 +668,7 @@ 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. -The target boundary is the independent daemon mapped in -`notes/standalone-codex-transport-migration.md`. Independent -`GameCult/CodexConnector` exact +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. With no features the library exposes only the typed provider/result contract. @@ -718,7 +716,7 @@ refuse the old writable shape. | `reasoning_context.rs` Mind commit owner | invariant-owned strong reads and complete typed writes | atomic batch CAS plus `EpiphanyMindCommitReceipt` | Disjoint identities merge; same-identity or changed-strong-read conflicts refuse without partial mutation. | | runtime bootstrap | immutable runtime identity envelope | exact identity strong read plus keyed session/job/launch writes | Worker launch replays the original identity and existing session envelopes byte-for-byte; it cannot refresh a singleton timestamp or capability mirror and thereby serialize unrelated work. Native runtime kind and supported document types are derived for CultNet publication. | | 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. | +| `current_work.rs` | one pulled CultCache snapshot containing keyed Mind and exact runtime request/job/result/decision families | pure family scheduling and continuation projections | Mind, RepoModel, Research, Planning, Hands readiness, and launch projections derive from the same envelope set. Events, timestamps, role lanes, thread provenance, and later live reads 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 | 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 | one closed durable provider-request variant and transport result | The consumer adapter owns provider lowering. OpenRouter remains a release-owned direct boundary. For Codex, the persisted request is the exact `CodexProviderRequest` crossing the lean Connector client ABI; the release edge adds only authenticated invocation physiology. The daemon owns caller admission, credential refresh, exact transport, and durable replay. No transport layer can author a second request truth or admit Mind state. | diff --git a/notes/epiphany-fork-implementation-plan.md b/notes/epiphany-fork-implementation-plan.md index 775b987c..2c71070c 100644 --- a/notes/epiphany-fork-implementation-plan.md +++ b/notes/epiphany-fork-implementation-plan.md @@ -240,10 +240,8 @@ The immediate comparison is now explicit. The former release-edge behavior, not as cleanup chores. A future core split must expose an existing semantic owner rather than invent a package taxonomy. -The provider decision is a service extraction specified by -`notes/standalone-codex-transport-migration.md`. Independent -`GameCult/CodexConnector` exact -`6dc80f6d266db4d82566d2434adcc55a48e8ecad` owns the v2 multi-caller contract, +The provider decision is the independent `GameCult/CodexConnector` service; +exact `6dc80f6d266db4d82566d2434adcc55a48e8ecad` owns the v2 multi-caller contract, exact native/provider digest binding, typed tool and terminal receipts, the pinned official Codex credential child, raw Responses transport, and durable keyed replay. No features yields only the typed contract; default `client` adds @@ -365,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`:** one pure typed projection now derives Body Modeling, Eyes continuation, proposal Modeling, frontier planning, and Hands readiness from keyed Mind/runtime receipts. +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. 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 5d91a37d..84f586e8 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: `7a125d78` +Latest committed Epiphany source cut: `7374be5e` Current connector source: `6dc80f6d266db4d82566d2434adcc55a48e8ecad` -Current pass: vendored Codex is physically absent; resume the semantic-owner -audit of `runtime_spine.rs`; Ox17 and Atlas Gate 1 remain paused +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 ## Orientation @@ -46,9 +46,8 @@ they do not authorize the next capstone or Gate 1. ## What just landed -`notes/standalone-codex-transport-migration.md` is the authority and deletion -map for removing Codex transport entirely from Epiphany's process/build body. -Independent repository `GameCult/CodexConnector` now owns one Cargo package +Independent repository `GameCult/CodexConnector` owns the Codex credential and +transport authority as one Cargo package with one public daemon binary and no linked Codex crates. Exact `54d8bc2525b7e7fa1b9dd26b95871247ff4c7566` admits distinct authenticated callers, preserves caller-native and exact provider-request digests, passes @@ -2087,3 +2086,23 @@ Read, in order: Then run the shared-target `epiphany-state.exe status`. Persisted next action is orientation, not automatic authority to resume a live Gate. + +Exact `7374be5e` makes current-work projection honest about its input. One +pulled CultCache snapshot now feeds Mind assembly, keyed RepoModel assembly, +Research and Planning lifecycle, Hands readiness, Modeling launches, +reasoning-basis assembly, and Reorientation. The former path-based helpers +could reopen the same `.cc` file up to six times while claiming to emit one +state projection; three wrappers and numerous repeated reload sequences are +gone, and Research plus Verification admission reuse their already authenticated cache. The cut adds +no schema, dependency, target, or process and removes one maintained line net. +Core check, current-work 3/3, reasoning-context 8/8, Reorientation 1/1, Mind +determinism 1/1, and RepoModel determinism 1/1 pass. The focused build produced +2.0 GiB across 2,867 files; cleanup restored only the authenticated +1,776,640-byte state inspector. + +The Connector architecture needs no second daemon or generic provider layer. +The independent daemon owns Codex credentials, caller admission, provider +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. diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 81a2e14c..4cdc6f13 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index 498d45f9..812df917 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -225,8 +225,9 @@ 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 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 7a125d78. Audit `runtime_spine.rs` by semantic owner and delete or internalize single-caller public wrappers, duplicate load/validate paths, and retention/session cargo that does not protect an independent invariant. Keep the exact model/tool binding, decision audit, CAS, terminality, retention, and resurrection guarantees. Keep 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, 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. + 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. 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.