From 50231141c977140a892f85b91a2652fb95537de6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 14 Aug 2026 11:21:27 +0200 Subject: [PATCH] Record keyed Mind foundation and deletion line --- notes/epiphany-current-algorithmic-map.md | 21 +++++++++++++++++++++ notes/fresh-workspace-handoff.md | 21 +++++++++++++-------- state/map.yaml | 2 +- 3 files changed, 35 insertions(+), 9 deletions(-) diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index a3418f97..f24912b9 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -4558,3 +4558,24 @@ cross-process helper) and all 42 OpenAI runtime targets. Persona inputs are already sealed inside typed projection variants; binding those projections to the forthcoming keyed Mind source-document versions remains part of the hard Mind cut. + +### Keyed Mind document foundation + +Exact `71505941` defines objective, focus, mode, subgoal, invariant, +observation, evidence, investigation-checkpoint, planning-capture, backlog, +roadmap, and objective-draft documents as separate CultCache identities. +`EpiphanyMindView` is assembled deterministically from those envelopes and owns +only a projection digest; it has no persisted head or global revision. + +The Mind mutation gate accepts only this closed canonical family and validates +that each envelope key equals the semantic identity in its typed payload. +Disjoint identities merge through exact-envelope CAS; same-identity changes +conflict. Runtime creation atomically installs an immutable matching Mind epoch +identity, which also exposed and removed one test path that attempted to rewrite +runtime identity while opening a worker. + +This is foundation, not cutover. `EpiphanyThreadStateEntry` and its coordinator +transaction are still live production authorities. The new view does not read, +translate, mirror, or migrate that aggregate. Concrete admission owners must +move to keyed mutations, after which the aggregate schema and writer are +deleted and old writable stores are refused. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index fa271bc5..4cfdc1ee 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -6,7 +6,7 @@ Updated: 2026-08-14 The five-day shakedown remains paused for architectural consolidation. The latest behavior cut is clean and pushed on `codex/epiphany-shakedown-live` -through exact `833d3964`. +through exact `71505941`. The active campaign is now the hard Decision-Auditable Concurrent Mind migration. Its first foundation is implemented locally: typed content-addressed @@ -24,8 +24,13 @@ changed-strong-read conflicts. All three Persona stages now seal predecessor-bound contexts, the effect and terminal commit atomically, and Persona retention preserves the structured effect, conversation/consequence receipts, terminal receipt, reasoning bases, and decision contexts while -removing stage/execution scaffolding. Provider-error/timeout failure edges, -keyed canonical Mind state, and keyed RepoModel remain to be cut. +removing stage/execution scaffolding. Exact `ee3d82c0` binds provider/runtime +errors and watchdog timeouts to the exact admitted request held by the running +pass, without inventing a persisted latest-request head. Exact `71505941` adds +the keyed Mind document family, deterministic `EpiphanyMindView`, atomic +runtime/Mind epoch identity, and a mutation gate that rejects non-Mind envelopes +or semantic key drift. The old aggregate Mind owner and keyed RepoModel remain +to be cut; the keyed view does not read or translate the aggregate. Operational correction: the original c011 resident and Heartbeat containers are not alive; both exited 255 on 2026-08-11. Their named volumes are quiescent @@ -140,10 +145,10 @@ unchanged; the lifecycle authorities above remain separate. ## Immediate next action -Finish decision-context ownership before normalizing state: bind provider-error -and timeout failures to the last exact request that actually reached the -provider. Then delete persisted thread-state authority and split canonical Mind -and RepoModel into semantic-key documents under exact-envelope batch CAS. There -is no writable-store migrator or compatibility read path. Do not touch the +Migrate concrete objective, focus/mode, subgoal/invariant, evidence/observation, +checkpoint, and planning admission owners from `EpiphanyThreadStateEntry` to +their keyed documents. Delete the aggregate transaction, reader, and schema +before enabling old writable-store refusal; do not translate or dual-read it. +Then split RepoModel into exact semantic-key documents. Do not touch the original c011 volumes, resume the shakedown, add capability surfaces, or build on Yggdrasil. diff --git a/state/map.yaml b/state/map.yaml index 88dd856f..96929c63 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -70,7 +70,7 @@ current_status: yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed resident_physiology: historical_c011_exact_465af24d_zero_zombie_proof_accepted_current_containers_exited_255 unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, runtime-owned typed fulfillment, all three packaged fulfilled-before-receipt lanes, genuine packaged Imagination option generation, narrow model-generation retention, published model-turn JSON ingress, semantic logical/physical retention, Persona conversation retention, stable Starfire firewall ownership, completed model-adapter session archival, normal coordinator lifecycle opening/error closure/legacy repair/archival, co-resident resident lifecycle retention, authenticated outer-worker attempt retention, deployed supervisor/projector journald ownership, Docker named-volume atomic snapshot visibility, deterministic incremental release construction, and canonical-brake refusal of direct daemon lifecycle actuation are accepted. Starfire's Docker Desktop F: bind is rejected for mutable authority after an exact packaged lockless reader observed an empty published snapshot during writer interruption. Historical migrated semantic attempts without recorded physical namespace remain durable and non-retirable. One completed Discord consequence remains blocked by the absent Yggdrasil credential. Exact aa841873 also makes legacy coordinator repair one full-snapshot transaction so a later hostile family cannot leave an earlier partial repair. - next_action: Complete the hard Decision-Auditable Concurrent Mind cut. Exact b233d477 seals content-addressed typed reasoning bases and terminal decision contexts; exact 9036aaa6 binds bounded model-backed failures and preserves context through model-session and worker retention; exact 833d3964 gives all three Persona stages sealed predecessor-bound contexts and preserves the structured effect, consequence receipts, terminal receipt, and direct context route through Persona retention. The verified surface is 689 core tests with one ignored helper plus all 42 OpenAI runtime targets. Next close provider-error and timeout failure contexts, then delete persisted thread-state authority and split canonical Mind and RepoModel into keyed semantic documents with state-derived obligations. No migrator or dual-read path; historical stores remain read-only. + next_action: Complete the hard Decision-Auditable Concurrent Mind cut. Exact ee3d82c0 closes provider-error and timeout failures against the exact in-process request that reached provider admission without a persisted latest-request head. Exact 71505941 adds the keyed Mind schema family, deterministic EpiphanyMindView, atomic runtime/Mind epoch identity, semantic key validation, and a Mind mutation gate that accepts only canonical Mind envelopes; 690 core tests pass with one ignored helper and all 42 OpenAI runtime targets pass. The old EpiphanyThreadStateEntry and coordinator aggregate transaction remain live and are not a compatibility source for the new view. Next migrate concrete objective/focus/mode and collection admission owners to keyed writes, then delete the aggregate writer/reader before enabling old-store refusal. RepoModel split follows the same hard-cut discipline. No migrator or dual-read path; historical stores remain read-only. active_subgoals: - Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.