From 734fbd3b8466234c1af4de622700a1011721cbf8 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 24 Aug 2026 20:20:41 +0200 Subject: [PATCH] Record coordinator session authority split --- notes/epiphany-current-algorithmic-map.md | 15 +++++++++- notes/epiphany-fork-implementation-plan.md | 13 +++++++-- notes/fresh-workspace-handoff.md | 31 ++++++++++++++++----- state/ledgers.msgpack | Bin 721401 -> 722026 bytes state/map.yaml | 11 ++++---- state/scratch.md | 20 +++++++++---- 6 files changed, 70 insertions(+), 20 deletions(-) diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index 5b60d184..e81d2965 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -1061,7 +1061,20 @@ worker, and reasoning basis are read from the exact native model request. A tool binding contains only intent, session, and job identity; its optional model ancestry is read from the exact typed tool intent. Validation and retention reload those owners. No binding timestamp participates in causality. -Runtime writable state is v39. +Runtime writable state is v40. + +Exact `cabdd6c3` separates coordinator incarnation audit from model-session +admission. `EpiphanyRuntimeSession` now owns only a grouping identity and the +active/completed latch that prevents new model/tool work after closure. +Coordinator runs never inhabit that aggregate. Their immutable +`EpiphanyCoordinatorRunBasis` records thread, resident launch identity, +objective, and start time. Terminal success/failure receipts and exact process +death recovery both compete through one deterministic +`EpiphanyCoordinatorRunTerminality` identity; the winner and its full typed +authority are inserted atomically while the exact basis is replayed +byte-identically. Unrelated document commits do not participate. Timestamp +ordering, coordinator notes, whole-store snapshots, and generic archived status +do not own terminality. The sealed typed launch owns exact live request association. The terminal role result owns only semantic decision cargo or typed failure. The archived attempt diff --git a/notes/epiphany-fork-implementation-plan.md b/notes/epiphany-fork-implementation-plan.md index 0a338bcb..4e015ef0 100644 --- a/notes/epiphany-fork-implementation-plan.md +++ b/notes/epiphany-fork-implementation-plan.md @@ -810,8 +810,17 @@ Cut in this order: uses archived request kind/ID beside the preserved structured decision. Success requires the family semantic payload and typed failure forbids success cargo. Runtime is v39 and role-result output is v5 with no legacy - reader. The next subtraction target is the generic runtime session - aggregate, not a replacement launch registry. + reader. +48. **Coordinator incarnation and model-session authority split at + `cabdd6c3`:** model sessions retain only identity plus active/completed + admission state. Coordinator start provenance is an immutable typed basis; + one deterministic terminality identity admits either the exact full run + receipt or exact death recovery, so competing outcomes conflict while + unrelated document inserts still merge. Runtime is v40. The generic session + loses objective, timestamps, notes, and four unused states; the redundant + one-field open options and whole-snapshot append helper are deleted. The next + subtraction target is the generic runtime job aggregate, not a lifecycle + registry. Do not preserve the aggregate for compatibility, manufacture a bootstrap thread, release autonomous scheduling, register topology in `gamecult-ops`, diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index b1b677e6..544840f2 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -124,6 +124,23 @@ model-failure audit, concurrent disjoint/same-identity CAS proof, old-epoch refusal, and focused proposal/Verification/Planning/consideration/Mind/provider completion tests pass. +Exact `cabdd6c3` splits coordinator incarnation authority from generic model +sessions. Model sessions now contain only their grouping identity and an +active/completed admission latch. Coordinator launch provenance is preserved in +an immutable `EpiphanyCoordinatorRunBasis`; exact completion/failure receipts +and process-death recovery compete through one deterministic +`EpiphanyCoordinatorRunTerminality` document, so only one terminal outcome can +commit while unrelated document inserts merge. The full typed winning authority +remains beside the latch. Objective prose, session clocks, coordinator notes, +four unused status variants, the redundant one-field session options wrapper, +and the dead whole-snapshot append helper are gone. Runtime advances to v40 +without a compatibility reader. Focused Core, model-failure audit, Persona, +coordinator terminality/conflict, release coordinator, and release model-runtime +checks pass. The code delta removes 62 maintained lines net. The focused checks +created 6.3 GiB/7,017 Cargo files; cleanup restored exactly the 1,776,640-byte +state inspector at SHA-256 +`DD38855C6F092C2C53D2212A938E737643F41130F4681708840BA6075320A04E`. + Exact `a6cf9383` quarantines concrete Codex/OpenRouter authentication, credential reading, and network transport at the two release entrypoints that perform inference. `epiphany-openai-runtime` now owns only exact native-request @@ -1209,13 +1226,13 @@ coordinator `12/12`, swarm `10/10`, and model-runtime `13/13`. ## Immediate next action The Ox17 deployment lane remains paused. Continue subtraction from exact -`edb5c3a3`: map every reader and writer of `EpiphanyRuntimeSession` and -`EpiphanyArchivedRuntimeSession`. Determine whether session identity, objective, -coordinator note, lifecycle status, and archive membership protect an invariant -not already owned by exact jobs, native requests, decision contexts, -coordinator receipts, and retention tombstones. Delete the aggregate or reduce -it to the smallest earned physiology; do not replace it with a registry, -adapter, compatibility reader, or latest head. The Connector CultMesh/Idunn/Yggdrasil proof and +`cabdd6c3`: map every reader, writer, and transition of `EpiphanyRuntimeJob`. +Determine whether role, session membership, timestamps, and mutable status +protect an invariant not already owned by sealed worker launches, model +bindings, process claims, terminal results, decision contexts, and archived +attempts. Delete mirrors and collapse transitions to the smallest earned +physiology; do not replace them with a registry, adapter, compatibility reader, +or latest head. The Connector CultMesh/Idunn/Yggdrasil proof and Ghostlight adoption remain queued behind source stabilization. Preserve keyed Mind, direct Body-to-Modeling flow, consequence receipts, and the complete Model Atlas vertical slice; no live inter-swarm collaboration has run. diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 69a3968884f4161ef1df42a59085545afe1fed08..1f14fcd425145dc33b859ef495772e0e33de76d4 100644 GIT binary patch delta 639 zcmYk3F>g~b5XVUhB&0%OLMrNT66;ISq%^I%K?N0Cg_zhJ`(B?_Kil}u4Vf}@fRQE2 z*Fa)mLt^2>@C}&Y-m8Kb{_oj;pYML>`+ZaV`c!;*+(kEr zPN%$CcR#MX9Z~b&5#1Ht6Wtf}M19eNZ|m;B{MlUedi}x4aQf`+q)E2mb)Ucd zpfrP4b7N-u5GXp!1UiIdtXCWoSg%!*r41fbHkP4Gp@!OeTPp{3FzAMaL~VenZMz!5 z>$=XY<_;lc4|7G9Ai7LokTEsaX~k9pFC!YbwUks}LQF`Qu91K%gfcq^2{qctAUp;Y zSB(*_F)a(I)s;l*P)B6zFaKqNkXhXJ%$Lqen+wa8xUi^#!y)l1Bn0v*QWcmAN$rG9 z2(vtcRxDiG#$pPDW9@>zqOl;z2}=Nh@&YfI2~GA!dEQW!wV?8VDrHqp=fkz&}tDrN9btZ7qUHiPHvMx8<3rrNeD*m6)HnBrRxcU5j@MMB! w1ZOH;2GHXA90jkbYhX4ygme31d|Vt%j-j;fwuSZn?%t!eBbhfv)H3