diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index cd58efc4..b3684cb2 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -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` diff --git a/notes/epiphany-fork-implementation-plan.md b/notes/epiphany-fork-implementation-plan.md index 5c7dad4a..bb50f1ea 100644 --- a/notes/epiphany-fork-implementation-plan.md +++ b/notes/epiphany-fork-implementation-plan.md @@ -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`, diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 6efcd40d..79f56b4f 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -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 diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index b2a23121..2b505b2a 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index 431286d2..aedd99e9 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -4,7 +4,7 @@ experiment: purpose: Native, inspectable agent organism with typed state and explicit organ authority. objective: - current: Complete the Decision-Auditable Concurrent Mind hard cut by proving fresh restart/re-entry before resuming Model Atlas Gate 1. + current: Package and run the fresh Decision-Auditable Concurrent Mind capstone before resuming Model Atlas Gate 1. architecture: body: Repository, runtime, service processes, stores, interfaces, and deployment substrate. @@ -38,11 +38,11 @@ invariants: - Evidence and git retain history; this map retains only state that changes future decisions. current_status: - summary: The keyed RepoModel hard cut, decision-context foundation, Model Atlas code slice, complete Body, Proposal, frontier-verdict Modeling, frontier Research, frontier Verification, frontier Planning/PlanMind, Reorientation, and Persona decision-context lifecycles are landed on codex/epiphany-shakedown-live. Keyed Mind plus exact runtime receipts own coordinator presence, work discovery, deterministic launch, job-bound continuation, review, typed failure, semantic admission, and retained decision reachability. Exact 07d891ba and ec1431ff delete the persisted/global thread aggregate and its generic coordinator/prompt/revision surfaces. Exact f7948795 deletes MindGatewayReview, MindStateCommitReceipt v0, the generic interpreter prompt, runtime registration/read APIs, false thought/state-effect/adoption CultNet mouths, and stale launch proof profiles. CultMesh now projects only reasoning basis, decision context, and exact Mind commit receipt, read-only. Exact 1c9aafd8 seals the terminal decision context before model-backed frontier-Planning failure and binds the typed failure plus generic job result to it. Exact e0e75a30 deletes the residual aggregate role patch/parser/policy surface, gives Research one closed typed decision, and deletes the unowned generic Imagination planning patch. Exact 12b1b285 makes runtime model/tool binding validation the shared owner for execution and decision sealing; hostile provider, receipt, and stored-binding substitutions refuse, while retained basis/context audit survives transcript-delta deletion. Exact 01602fd3 advances Mind/runtime to v2/v1 and refuses historical or split writable identity pairs before registered writers see them. Exact 26b6a5bf proves simultaneous disjoint Modeling writes, simultaneous Verification+Modeling admission, same-identity conflict, exact replay, and reopened graph assembly; raw mutation primitives are crate-private. Exact 7c2ebd81 moves Persona state-note admission from the legacy agent-memory aggregate into keyed Mind documents and proves a concrete Hands consequence can commit simultaneously. Exact 79c0e373 seals the assembled Persona input and observed source versions in Mind before inference; every Persona stage cites it, replay reuses it, substitution refuses, and Persona-private documents stay outside generic role projections. No compatibility reader, bootstrap aggregate, schema migrator, or dual reader survives. The broader Concurrent Mind cut remains incomplete only behind fresh restart/re-entry. The machine remains a supervised engineering alpha; Model Atlas operational Gate 1 stays paused. + summary: The keyed RepoModel hard cut, decision-context foundation, Model Atlas code slice, complete Body, Proposal, frontier-verdict Modeling, frontier Research, frontier Verification, frontier Planning/PlanMind, Reorientation, and Persona decision-context lifecycles are landed on codex/epiphany-shakedown-live. Keyed Mind plus exact runtime receipts own coordinator presence, work discovery, deterministic launch, job-bound continuation, review, typed failure, semantic admission, and retained decision reachability. Exact 07d891ba and ec1431ff delete the persisted/global thread aggregate and its generic coordinator/prompt/revision surfaces. Exact f7948795 deletes MindGatewayReview, MindStateCommitReceipt v0, the generic interpreter prompt, runtime registration/read APIs, false thought/state-effect/adoption CultNet mouths, and stale launch proof profiles. CultMesh now projects only reasoning basis, decision context, and exact Mind commit receipt, read-only. Exact 1c9aafd8 seals the terminal decision context before model-backed frontier-Planning failure and binds the typed failure plus generic job result to it. Exact e0e75a30 deletes the residual aggregate role patch/parser/policy surface, gives Research one closed typed decision, and deletes the unowned generic Imagination planning patch. Exact 12b1b285 makes runtime model/tool binding validation the shared owner for execution and decision sealing; hostile provider, receipt, and stored-binding substitutions refuse, while retained basis/context audit survives transcript-delta deletion. Exact 01602fd3 advances Mind/runtime to v2/v1 and refuses historical or split writable identity pairs before registered writers see them. Exact 26b6a5bf proves simultaneous disjoint Modeling writes, simultaneous Verification+Modeling admission, same-identity conflict, exact replay, and reopened graph assembly; raw mutation primitives are crate-private. Exact 7c2ebd81 moves Persona state-note admission from the legacy agent-memory aggregate into keyed Mind documents and proves a concrete Hands consequence can commit simultaneously. Exact 79c0e373 seals the assembled Persona input and observed source versions in Mind before inference. Exact d3300bba authenticates that input through its one exact Mind commit, refuses naked typed documents, re-enters without external observation or model inference, and proves current-work reconstruction is identical and read-only across Launch, Wait, completed, and post-Research boundaries. No compatibility reader, bootstrap aggregate, schema migrator, or dual reader survives. The source-level Decision-Auditable Concurrent Mind migration is accepted; the fresh exact-package capstone remains open. The machine remains a supervised engineering alpha; Model Atlas operational Gate 1 stays paused. public_positioning: docs/positioning.md is the current public claim owner. Epiphany is the organizational layer above frontier AI workers; global coherence collapse is the primary failure; prompts are bounded projections of governed organizational state; humans retain purpose, judgment, authority, disagreement, exceptions, and acceptance. GameCult is the forge and longitudinal evidence program for a target federation of one locally owned Epiphany project organism per living project Body. Model Atlas carries typed offers, claims, evidence, and derived technical relationships; Bifrost is the intended external work, membership, governance, attribution, and identity-linked receipt rail. Public Persona relationships and visitor surfaces are intended social infrastructure, while private Mind and consequence authority remain local. The fleet, real three-repository Gate 1, complete Bifrost attribution, sustained autonomous production, visitor experience, and external design-partner pilots remain gated alpha targets. - latest_phase: Exact 1662a012 makes coordinator policy a pure priority projection over keyed Mind and exact current work. Exact 07d891ba removes 5,441 lines of persisted aggregate coordinator machinery; exact ec1431ff removes another 4,547 lines of thread schema, prompt, revision, freshness, and graph-context authority. Exact f7948795 removes 754 lines net around the dead generic Mind gateway and replaces its mutation-shaped contracts with three read-only decision-audit projections. Exact 1c9aafd8 repairs model-backed frontier-Planning failure ordering: context first, typed failure second, generic job closure third, with one shared context ID. Exact e0e75a30 deletes 612 lines and adds one narrow Research decision contract; runtime result/output contracts advance to v4, and generic patch source guards pass. Exact 12b1b285 replaces partial context-side binding checks with shared exact runtime model/tool validators and proves provider/tool substitution refusal plus transcript-independent retained audit. Exact 01602fd3 advances Mind epoch to v2 and runtime-spine schema to v1; a claimed runtime store must expose one exact current pair, while unrelated physiology stores remain outside Mind ownership. Exact 26b6a5bf proves actual concurrent disjoint-node merge, Verification+Modeling merge, same-key conflict, exact replay, and restart assembly while demoting raw mutation formulation to crate-internal machinery. Exact 7c2ebd81 gives Persona state-note effects one keyed Mind owner under the Interpreter decision context, deletes the aggregate agent-memory writer from that path, and proves concrete Hands+Persona concurrency. Exact 79c0e373 admits the full Persona pass input once, binds all three stages to its exact Mind version, refuses substituted plans, removes direct Git prompt inspection, and excludes Persona-private documents from generic role projections. Family launches proceed directly from keyed obligations to typed launch documents; thread is pass-local provenance only, stateRevision is absent, and no generic Mind review or patch can authorize mutation. Core library 493/493, all core targets, OpenAI runtime 24/24, and binary 10/10 pass. Gate 1 remains paused behind fresh restart/re-entry acceptance. + latest_phase: Exact 1662a012 makes coordinator policy a pure priority projection over keyed Mind and exact current work. Exact 07d891ba removes 5,441 lines of persisted aggregate coordinator machinery; exact ec1431ff removes another 4,547 lines of thread schema, prompt, revision, freshness, and graph-context authority. Exact f7948795 removes 754 lines net around the dead generic Mind gateway and replaces its mutation-shaped contracts with three read-only decision-audit projections. Exact 1c9aafd8 repairs model-backed frontier-Planning failure ordering: context first, typed failure second, generic job closure third, with one shared context ID. Exact e0e75a30 deletes 612 lines and adds one narrow Research decision contract; runtime result/output contracts advance to v4, and generic patch source guards pass. Exact 12b1b285 replaces partial context-side binding checks with shared exact runtime model/tool validators and proves provider/tool substitution refusal plus transcript-independent retained audit. Exact 01602fd3 advances Mind epoch to v2 and runtime-spine schema to v1; a claimed runtime store must expose one exact current pair, while unrelated physiology stores remain outside Mind ownership. Exact 26b6a5bf proves actual concurrent disjoint-node merge, Verification+Modeling merge, same-key conflict, exact replay, and restart assembly while demoting raw mutation formulation to crate-internal machinery. Exact 7c2ebd81 gives Persona state-note effects one keyed Mind owner under the Interpreter decision context, deletes the aggregate agent-memory writer from that path, and proves concrete Hands+Persona concurrency. Exact 79c0e373 admits the full Persona pass input once, binds all three stages to its exact Mind version, refuses substituted plans, removes direct Git prompt inspection, and excludes Persona-private documents from generic role projections. Exact d3300bba makes one validated `EpiphanyMindCommitReceipt` the re-entry proof for that input, seals plan construction behind the authenticated loader, refuses a naked typed input, performs no external reads or model call on terminal replay, and proves current-work projection is stable without mutation after store reopen. Family launches proceed directly from keyed obligations to typed launch documents; thread is pass-local provenance only, stateRevision is absent, and no generic Mind review or patch can authorize mutation. Core library 493/493, all core targets, OpenAI runtime 24/24, both runtime binaries 10/10, and Persona service 1/1 pass. Gate 1 remains paused behind the fresh exact-package capstone. operational_state: - local_worktree: source_head_79c0e373_pushed_restart_reentry_capstone_active + local_worktree: source_head_d3300bba_pushed_fresh_package_capstone_next operator_wireguard: restored starfire_persona_permit_firewall: persistent_exact_gamecult_ops_6ee08a4 yggdrasil: canonical_small_public_crossing_body @@ -73,11 +73,11 @@ current_status: starfire_linux_modeling_peak: 109887488_bytes_resident_body_plus_modeling_circuit 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: The persisted/global thread aggregate, generic Mind gateway, aggregate role patch, partial decision-context binding checks, writable old-epoch path, external generic Mind mutation mouth, Persona aggregate memory writer, and direct Persona prompt ingress are gone. Native/provider request equality is internally derived; runtime execution and context sealing share exact model/tool binding owners; model-backed frontier-Planning failure plus role/reorient/Persona archive reachability are context-bound; retained basis/context audit survives transcript-delta deletion. Keyed graph, Verification, concrete Persona+Hands concurrency, and sealed Persona input are accepted. Fresh restart/re-entry remains open. Model Atlas isolated proofs remain accepted, but Gate 1 remains paused. Operational registration in gamecult-ops is forbidden; historical c011 and partial Gate roots stay untouched/read-only. - next_action: Prove fresh restart/re-entry reuses identical decisions, obligations, and sealed Persona input without authority resurrection before Model Atlas Gate 1. Do not add a compatibility aggregate, generic mutation registry, dual reader, schema migrator, or transcript authority. + unresolved_authority: The persisted/global thread aggregate, generic Mind gateway, aggregate role patch, partial decision-context binding checks, writable old-epoch path, external generic Mind mutation mouth, Persona aggregate memory writer, direct Persona prompt ingress, and Persona re-entry reformulation path are gone. Native/provider request equality is internally derived; runtime execution and context sealing share exact model/tool binding owners; model-backed frontier-Planning failure plus role/reorient/Persona archive reachability are context-bound; retained basis/context audit survives transcript-delta deletion. Keyed graph, Verification, concrete Persona+Hands concurrency, sealed Persona input, and source-level restart/re-entry are accepted. The fresh exact-package capstone remains open. Model Atlas isolated proofs remain accepted, but Gate 1 remains paused. Operational registration in gamecult-ops is forbidden; historical c011 and partial Gate roots stay untouched/read-only. + next_action: Build an exact clean-source package and run the fresh-store Decision-Auditable Concurrent Mind capstone, including restart/re-entry and transcript-independent decision inspection, before Model Atlas Gate 1. Do not add a compatibility aggregate, generic mutation registry, dual reader, schema migrator, transcript authority, or shipped proof-only binary. active_subgoals: - - Complete fresh restart/re-entry proof before any further operational Gate run. + - Complete the fresh exact-package Decision-Auditable Concurrent Mind capstone before any further operational Gate run. - Prove the ordered Model Atlas Gate 1 with real isolated stores: establish signed sight before engaging all brakes, then prove frozen read-only state and no local Modeling or Soul wakes. - Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually. - Prove a live coordinated path from source gathering through the Hands gate and post-action verification.