Record decision-state reentry

This commit is contained in:
Meta Vens 2026-08-18 07:29:44 +02:00
commit d26a99d5f8
5 changed files with 64 additions and 37 deletions

View file

@ -1,7 +1,7 @@
# Epiphany current algorithmic map
Updated: 2026-08-18
Latest implementation cut: `79c0e373` on `codex/epiphany-shakedown-live`
Latest implementation cut: `d3300bba` on `codex/epiphany-shakedown-live`
This document describes the live machine. Historical cuts, rejected paths, and
proof chronology belong in git, `state/ledgers.msgpack`, and bounded smoke
@ -25,7 +25,7 @@ interface authority.
| Owner | Inputs | Outputs | Invariant |
|---|---|---|---|
| keyed Mind documents | typed semantic documents keyed by logical identity | deterministic `EpiphanyMindView` | There is no persisted aggregate Mind head or global revision. |
| `mind_transaction.rs` | 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. |
| `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. |
| 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. |
| coordinator policy/status | current-work projections, Resident pressure, and exact runtime receipts | one prioritized recommendation and read-only operator views | Coordinator presence is derived; no mutable coordinator head exists. |
@ -225,23 +225,28 @@ and the retained decision can still reach its basis/context without them.
## Verification and open gates
Accepted through `79c0e373`:
Accepted through `d3300bba`:
- every Epiphany core target compiles;
- core library `493/493`;
- OpenAI runtime library `24/24`;
- model-runtime binary `10/10`;
- OpenAI-runtime binary `10/10`.
- Persona service `1/1`.
- all core targets compile; generic role-patch source guards pass.
- authenticated Persona re-entry refuses naked typed input, performs no
external observation or model call, and preserves the exact three-stage
decision chain;
- reopened current-work projection is identical and byte-for-byte read-only at
Launch, Wait, completed, and post-Research boundaries.
Open before Model Atlas Gate 1 resumes:
1. prove fresh restart reproduces identical decisions and obligations without
Persona input reformulation or authority resurrection. Sealed Persona
ingress, concrete Persona+Hands concurrency, concurrent disjoint graph
writes, simultaneous Verification+Modeling, same-identity conflict, exact
replay, transcript deletion, and old-epoch refusal are accepted;
2. run the fresh packaged capstone, then restart Model Atlas Gate 1 from a new
1. run the fresh exact-package capstone over a new store, including concurrent
Persona/repository work, complete decision inspection without transcripts,
and process restart/re-entry. The equivalent source-level ownership,
concurrency, refusal, and re-entry matrix is accepted;
2. only then restart Model Atlas Gate 1 from a new
external root.
Historical c011 and partial Gate roots remain read-only. Yggdrasil remains a
@ -251,7 +256,6 @@ autonomous scheduling remain forbidden until the capstone passes.
## Primary source anchors
- `epiphany-core/src/mind_documents.rs`
- `epiphany-core/src/mind_transaction.rs`
- `epiphany-core/src/reasoning_context.rs`
- `epiphany-core/src/current_work.rs`
- `epiphany-core/src/repo_model_documents.rs`

View file

@ -208,13 +208,14 @@ Delete or demote:
## Immediate Next Action
Keep the five-day shakedown and Model Atlas operational Gate 1 paused. Complete
the remaining Decision-Auditable Concurrent Mind hard cut before another live
coordinator run. Fresh Gate preflight exposed the aggregate ownership defect;
the aggregate has now been structurally removed. Decision-context admission,
retention, writable-epoch refusal, keyed graph/Verification concurrency, and
concrete Persona+Hands concurrency, and sealed Persona projector ingress are
accepted. The remaining gate is fresh restart/re-entry proof.
Keep the five-day shakedown and Model Atlas operational Gate 1 paused. The
source-level Decision-Auditable Concurrent Mind hard cut is accepted. Fresh
Gate preflight exposed the aggregate ownership defect; the aggregate has now
been structurally removed. Decision-context admission, retention,
writable-epoch refusal, keyed graph/Verification concurrency, concrete
Persona+Hands concurrency, sealed Persona ingress, and deterministic read-only
restart/re-entry are accepted. The remaining gate is the fresh exact-package
capstone.
Cut in this order:
@ -319,8 +320,15 @@ Cut in this order:
document seals the exact assembled projector input and observed source
versions before inference; every Persona stage cites it, replay reuses it,
substitution refuses, and generic role projections exclude Persona-private
documents. Complete restart/re-entry. Only then restart Model Atlas Gate 1
from a new external root.
documents.
20. **Restart/re-entry landed at `d3300bba`:** one exact validated Mind commit
receipt authenticates the admitted Persona input. Plan construction is
sealed behind that loader; naked typed input refuses; terminal replay makes
no external observation or model call. Current-work projection reopens
identically and without mutation across Launch, Wait, completed, and
post-Research boundaries. Build the exact clean-source package and run the
fresh-store capstone. Only then restart Model Atlas Gate 1 from a new
external root.
Do not preserve the aggregate for compatibility, manufacture a bootstrap
thread, release autonomous scheduling, register topology in `gamecult-ops`,

View file

@ -2,7 +2,7 @@
Updated: 2026-08-18
Branch: `codex/epiphany-shakedown-live`
Latest implementation cut: `79c0e373`
Latest implementation cut: `d3300bba`
## Orientation
@ -75,6 +75,13 @@ The global thread-state authority is gone.
Mind version. Substitution refuses byte-identically, replay reuses the
original input, and direct Git inspection is gone. Persona-only input and
memory documents are excluded from generic role projections.
- `d3300bba` makes re-entry consume only an authenticated admitted Persona
pass-input. The loader requires one exact `Persona.pass_input` Mind commit
receipt, validates its content-addressed identity, and refuses a naked typed
document. A restarted execution plan performs no heartbeat, agent-memory,
Body, repository, or model read when that input and terminal decision already
exist. Current-work reconstruction is identical and byte-for-byte read-only
at Launch, Wait, completed, and post-Research boundaries.
There is no compatibility aggregate, dual reader, bootstrap thread, or
migrator. Thread identifiers may survive only as immutable pass-creation
@ -87,7 +94,7 @@ Verification at this boundary:
- OpenAI runtime library `24/24`;
- model-runtime binary `10/10`;
- OpenAI-runtime binary `10/10`;
- Persona service target compiles.
- Persona service `1/1`.
## Canonical machine now
@ -95,7 +102,8 @@ 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.
`reasoning_context::commit_mind_mutation` is the crate-private 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.
@ -138,9 +146,9 @@ 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
## Accepted migration boundary
The broader Decision-Auditable Concurrent Mind migration is incomplete.
The source-level Decision-Auditable Concurrent Mind migration is accepted.
Context validation is now exact and DRY: execution and sealing share the same
model/tool binding owners, native/provider lowering is exact, final ToolCall/
@ -151,14 +159,21 @@ 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.
Fresh source tests prove the retained chain, concurrent keyed commits,
old-epoch refusal, deterministic current-work re-entry, and Persona replay
without input reformulation or inference. This is source acceptance, not yet a
package/live claim.
## Immediate next action
1. Complete fresh restart/re-entry with identical decisions and obligations,
no Persona pass-input reformulation, no authority resurrection, and no
legacy writable path. The source-level ownership and concurrency matrix is
accepted.
2. Only then package a fresh body and resume Model Atlas Gate 1 from a new
external root.
1. Build one exact clean-source package without adding a shipped proof-only
binary.
2. Run the fresh-store Decision-Auditable Concurrent Mind capstone against that
package: concurrent Persona/repository work, Body -> Modeling -> Mind,
explicit Eyes evidence where required, Hands -> Verification -> Mind,
transcript-independent decision inspection, and process restart/re-entry
with identical obligations and no resurrection.
3. Only then resume Model Atlas Gate 1 from a new external root.
## Operational state that matters