From 34f9092c6563020c5717bc0f0f3a4dcaf3b865fe Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 25 Aug 2026 00:33:55 +0200 Subject: [PATCH] Map single-snapshot current work --- notes/epiphany-current-algorithmic-map.md | 6 ++-- notes/epiphany-fork-implementation-plan.md | 8 ++---- notes/fresh-workspace-handoff.md | 31 +++++++++++++++++---- state/ledgers.msgpack | Bin 728730 -> 729458 bytes state/map.yaml | 5 ++-- 5 files changed, 33 insertions(+), 17 deletions(-) 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 81a2e14c876703bc85de1deacb047e1ec11f8405..4cdc6f13a9a8c099a0d9bf4b6c83b30bd6063fb2 100644 GIT binary patch delta 740 zcmYLGJ#Q015XFXsI93`O5|m;P?fE0;#J1upiIPAO0Z}Tt@$UF;@p|{NyXTL}1qFWq z%Tj&;bVwA4f`)>BL&Gm%?hvAQ_c8ls_PsZE-=p6@qR+dPdM7?U>c07TuMRK2JgeMR zD!1=e)%UAvg;BikGafKD7@LfTj4eiuvHf*bt#9l<`tU7o$K6J|--r)y;`q1|uU~)K z+Fw>bp3hMP=yiIBLpmbJoPA3oc(_tVMlhxYNw}uWURg;x;!jWLL>j>>jm9XGMDQGq z^xz1kGUR;(C6|vtV{SxBT;fx23pxzZ7X|Kt>-Fy4_Rh}8*$G&~m*-lq?bFT2%L_H- zUkquZpi6Go7G-PZFw4l5CmzrdB-}RuW5M%16O2GoMn;kmiwFX`ghEu95~VQfAR$9e ziJ~@Dl4s%22geyGYhZ>vRZ3dQCY)Iw&qKv{03vseOlZuk8$+kn8T|Lt5Y_~m2k5u@ z1CGZ!#Y`;69kdPxWsrZ}{!5WH267W+l%D`|fKa6D$@?Z;Sdn`=k#NS^E!aF{c_?+o z%{E-B(^eeyyFC~wO{|qeEHpcs*eUV89QnWsOtOwbZEyXnR4* ivch+3