8.3 KiB
Fresh workspace handoff
Updated: 2026-08-18
Branch: codex/epiphany-shakedown-live
Latest implementation cut: f7948795
Orientation
The five-day shakedown and Model Atlas operational Gate 1 are paused. Do not
touch historical c011/proof volumes, reuse partial Gate roots, release
autonomous scheduling, register operational topology in gamecult-ops, build
on Yggdrasil, or call the organism deployment-ready.
Epiphany is a supervised engineering alpha. Historical live proofs remain valid evidence, but current source has advanced beyond the last packaged c011 body.
What just landed
The global thread-state authority is gone.
1662a012makes coordinator policy a pure projection over keyed Mind, exact current-work families, Resident pressure, and runtime receipts.07d891badeletes persistedEpiphanyThreadStateEntry,coordinator_state_transaction, generic coordinator state/update/launch/ acceptance/interrupt services, and their aggregate writers.ec1431ffdeletesEpiphanyThreadStateitself, global launch revision cargo, generic launch/interrupt request types, aggregate prompt/freshness/graph- context surfaces, the obsolete Repo graph importer, and the historical prompt-context smoke.f7948795deletes the genericMindGatewayReviewandMindStateCommitReceiptv0 authority, its interpreter prompt, runtime registration/read APIs, false state-effect/thought/adoption CultNet mouths, and launch proof profiles that required phantom gateway receipts. CultMesh now projects only the sealed reasoning basis, decision context, and exactEpiphanyMindCommitReceipt, all read-only.
There is no compatibility aggregate, dual reader, bootstrap thread, or migrator. Thread identifiers may survive only as immutable pass-creation provenance; they do not own identity, currentness, or conflict.
Verification at this boundary:
- every Epiphany core target compiles;
- core library
486/486; - OpenAI runtime library
23/23; - model-runtime binary
10/10; - OpenAI-runtime binary
10/10; - Persona service target compiles.
Canonical machine now
The runtime Mind .cc is the sole decision-bearing store. Keyed Mind and
RepoModel documents assemble deterministic views; their projection digests are
audit/display identities, not mutable authority revisions.
mind_transaction::commit_mind_mutation is the canonical commit primitive.
Concrete invariant owners supply exact strong reads and complete typed writes.
Disjoint identities merge, same-identity divergence conflicts, changed strong
reads refuse without mutation, and exact replay returns the original receipt.
Model output is never silently rebased.
current_work.rs derives work from unresolved typed state obligations and
exact runtime receipts:
- Modeling consumes Body/RepoModel obligations directly.
- Eyes launches only for an explicit outside-evidence obligation.
- Verification consumes exact Hands consequences and invariant obligations.
- Persona consumes typed unread social/relationship state.
- Hands consumes an adopted plan/route and exact capability receipts.
Events, timestamps, role lanes, latest-result slots, and accepted-at ordering are projections only.
Decision-audit foundation
The intended retained chain is:
- exact typed Mind document versions;
- sealed
EpiphanyReasoningBasiswith a closed typed projection; - exact final native model request;
- internally derived provider request;
- exact ordered governed tool intents/receipts supplied to the pass;
- sealed
EpiphanyDecisionContext; - structured terminal decision or typed pass failure;
- invariant-owned
MindMutationandEpiphanyMindCommitReceipt.
Transcripts, SSE frames, reasoning deltas, and intermediate prose are optional and non-authoritative. A retained decision must remain auditable after deleting them.
Model opening already requires the sealed basis for worker passes and derives the provider request from the native request. Structured role/reorient results, the three Persona stages, and retained worker/session/Persona authority already bind and preserve exact decision contexts. Concrete Body, Proposal, frontier-verdict Modeling, Research, Verification, Planning/PlanMind, and Reorientation admissions use keyed mutations. Research is driven only by explicit external-evidence obligations; Eyes does not gate Body Modeling.
Remaining wound
The broader Decision-Auditable Concurrent Mind migration is incomplete.
EpiphanyRoleStatePatchDocument remains an aggregate-shaped model output mouth.
Research currently uses it to carry evidence/observations and the old generic
Imagination lane uses it to carry planning drafts, even though concrete current
work families otherwise use typed result cargo. These live payloads need narrow
family contracts before the generic patch can be deleted.
One model-backed failure seam is also live: frontier Planning constructs a typed failure with an empty decision-context ID before the terminal request is sealed, so runtime admission correctly refuses it. Failure must seal one exact context first and bind the typed failure and generic job result to that same context. Unbacked transport/process failure may remain physiological and non-Mind-admissible.
Context validation must become exact and DRY:
- provider request must equal internal lowering of the native request;
- final native input/tool definitions must be exact;
- every ToolCall name/arguments and ToolResult output must bind the exact governed intent/terminal receipt/runtime binding;
- request-owned public-source observations and model-continuation observations must have distinct validated ownership;
- foreign, missing, extra, duplicated, reordered, or nonterminal observations must refuse byte-identically.
Retention must preserve direct reachability: worker attempt or Persona terminal to decision context to reasoning basis. No raw stream event, request family, or transcript may be required for that query after archival.
Immediate next action
- Replace the two live uses of
EpiphanyRoleStatePatchDocumentwith narrow Research evidence/observation and Imagination planning-decision payloads; then delete the generic patch schema, parser, and policy tribunal. - Seal one exact decision context before a model-backed failure terminalizes; bind the typed family failure and generic job result to that same context.
- Expand the store-backed request/tool substitution matrix and prove context audit survives deletion of streams, assistant deltas, and scaffolding.
- Bump the writable schema epoch and refuse old stores. Historical releases remain readers for historical proof stores; no migrator or dual path.
- Run fresh acceptance: concurrent Persona+Hands; evidence+Verification+ unrelated Modeling-node writes; distinct graph writes; same-identity conflict; stale strong-read refusal; transcript deletion; restart/re-entry; and source guards for deleted aggregate/global revision paths.
- Only then package a fresh body and resume Model Atlas Gate 1 from a new external root.
Operational state that matters
- Original c011 resident and Heartbeat containers are not running; both exited
255on 2026-08-11. Their named volumes are quiescent historical evidence. - Historical accepted live release: source
465af24d, c011 package SHA-256089e0005; it is not the current source body. - Starfire remains the cognition/build host. Yggdrasil remains the small public crossing body and never builds.
- Bifrost public crossing remains active on Yggdrasil. A completed public Persona consequence is still unproven because the Yggdrasil Discord credential is absent.
- Model Atlas code and isolated proofs remain accepted. Signed Gate 1 sight, brake freeze, autonomous cascade, partition exercise, and endurance remain open.
Git/worktree caution
The shared worktree contains unrelated pre-existing modifications, including
vendored Codex/CultMesh files and a dirty vendor/cultnet-rs submodule. Preserve
them. Stage only intentional migration/documentation paths. Do not use reset or
checkout to clean the tree.
Re-entry
Read, in order:
state/map.yaml- this handoff
notes/epiphany-current-algorithmic-map.mdnotes/epiphany-fork-implementation-plan.md
Then run the shared-target epiphany-state.exe status. Persisted next action is
orientation, not automatic authority to resume a live Gate.