diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index 5b201e5d..269c4c94 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -98,13 +98,16 @@ Structured decisions are authoritative; token streams and assistant deltas are optional retention. A model-backed failure is also a typed terminal decision record. Generic diagnostic model runs cannot produce Mind-admissible decisions. -Current migration seam: the typed basis/context foundation and several concrete -Body, frontier, Research, Verification, Planning, and Reorientation paths are -landed. The residual generic `MindGatewayReview` / -`MindStateCommitReceipt` v0 / `EpiphanyRoleStatePatchDocument` path, generic -role failures, Persona stages, and archival paths still need mandatory exact -context binding. Provider/native equality and governed tool-observation -coverage also need the full store-backed refusal matrix. +Current migration seam: the typed basis/context foundation, concrete Body, +frontier, Research, Verification, Planning, Reorientation, and Persona paths, +plus worker/session/Persona archive reachability are landed. Exact `f7948795` +deletes `MindGatewayReview`, `MindStateCommitReceipt` v0, the generic Mind +interpreter prompt, and their false CultNet mutation mouths. The remaining +aggregate-shaped output is `EpiphanyRoleStatePatchDocument`, used by Research +for evidence/observations and the old generic Imagination lane for planning +drafts. Model-backed frontier-Planning failure also needs to seal and share its +exact decision context before typed terminalization. Governed tool-observation +coverage still needs the full store-backed refusal matrix. ## Concurrent Mind mutation @@ -220,27 +223,27 @@ and the retained decision can still reach its basis/context without them. ## Verification and open gates -Accepted at `ec1431ff`: +Accepted through `f7948795`: - every Epiphany core target compiles; -- core library `489/489`; +- core library `486/486`; - OpenAI runtime library `23/23`; - model-runtime binary `10/10`; - OpenAI-runtime binary `10/10`. Open before Model Atlas Gate 1 resumes: -1. delete the generic Mind gateway/state-patch admission mouth; -2. require exact basis/context on all model-backed terminal outcomes and - failures, including Persona stages; -3. derive provider requests internally and prove exact request/tool/receipt - coverage with byte-identical refusals; -4. preserve context reachability through worker, session, and Persona archival; -5. bump/refuse old writable-store epoch with no migrator; -6. prove disjoint Persona/Hands and graph writes merge, same-identity conflicts +1. replace live Research and Imagination uses of the generic state patch with + narrow family payloads, then delete it; +2. bind model-backed typed failures and their generic job result to one sealed + decision context; +3. prove exact request/tool/receipt coverage with byte-identical refusals and + transcript deletion; +4. bump/refuse old writable-store epoch with no migrator; +5. prove disjoint Persona/Hands and graph writes merge, same-identity conflicts refuse, transcripts can be deleted, restart reproduces obligations, and no legacy authority resurrects; -7. run the fresh packaged capstone, then restart Model Atlas Gate 1 from a new +6. run the fresh packaged capstone, then restart Model Atlas Gate 1 from a new external root. Historical c011 and partial Gate roots remain read-only. Yggdrasil remains a diff --git a/notes/epiphany-fork-implementation-plan.md b/notes/epiphany-fork-implementation-plan.md index 45a8c07a..f19af9c1 100644 --- a/notes/epiphany-fork-implementation-plan.md +++ b/notes/epiphany-fork-implementation-plan.md @@ -279,12 +279,18 @@ Cut in this order: `EpiphanyThreadState` schema/prompt renderer, aggregate freshness/context views, generic launch/interrupt requests, and global launch revisions are deleted. No dual reader, bootstrap aggregate, or migrator survives. -13. Replace the residual generic Mind gateway/state-patch mouth with concrete - invariant-owned mutations. Make reasoning basis and terminal decision - context mandatory for role, reorient, Persona, and model-backed failure - admission; derive provider requests internally; preserve context links - through retention; and prove exact governed tool coverage. -14. Refuse old writable-store epochs and replay fresh-store disjoint +13. **Generic Mind gateway deleted at `f7948795`:** + `MindGatewayReview`, `MindStateCommitReceipt` v0, their generic interpreter + prompt, runtime registration/read APIs, phantom thought/state-effect/public- + adoption CultNet mouths, and stale launch receipt profiles are gone. + CultMesh and runtime schema catalogues expose only reasoning basis, decision + context, and exact Mind commit receipt as read-only audit projections. +14. Replace the residual aggregate-shaped `EpiphanyRoleStatePatchDocument` + with narrow Research evidence/observation and Imagination planning payloads, + then delete its generic parser/policy surface. Seal one exact context before + model-backed typed failure and generic job terminalization, and complete the + store-backed governed-tool substitution matrix. +15. Refuse old writable-store epochs and replay fresh-store disjoint concurrency, same-identity conflict, transcript deletion, restart, and re-entry. Only then restart Model Atlas Gate 1 from a new external root. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 3f62c2ad..0dd01d8f 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: `ec1431ff` +Latest implementation cut: `f7948795` ## Orientation @@ -28,6 +28,12 @@ The global thread-state authority is gone. generic launch/interrupt request types, aggregate prompt/freshness/graph- context surfaces, the obsolete Repo graph importer, and the historical prompt-context smoke. +- `f7948795` deletes the generic `MindGatewayReview` and + `MindStateCommitReceipt` v0 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 exact + `EpiphanyMindCommitReceipt`, all read-only. There is no compatibility aggregate, dual reader, bootstrap thread, or migrator. Thread identifiers may survive only as immutable pass-creation @@ -36,7 +42,7 @@ provenance; they do not own identity, currentness, or conflict. Verification at this boundary: - every Epiphany core target compiles; -- core library `489/489`; +- core library `486/486`; - OpenAI runtime library `23/23`; - model-runtime binary `10/10`; - OpenAI-runtime binary `10/10`; @@ -83,21 +89,30 @@ Transcripts, SSE frames, reasoning deltas, and intermediate prose are optional and non-authoritative. A retained decision must remain auditable after deleting them. -Several concrete Body, Proposal, frontier-verdict Modeling, Research, -Verification, Planning/PlanMind, and Reorientation paths already use sealed -bases/contexts and keyed admission. Research is driven only by explicit -external-evidence obligations; Eyes does not gate Body Modeling. +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. -The residual generic `MindGatewayReview` / `MindStateCommitReceipt` v0 / -`EpiphanyRoleStatePatchDocument` path still represents a generic state-effect -admission mouth outside concrete invariant-owned `MindMutation` families. -Generic role failures, Persona projector/persona/interpreter stages, and some -worker/session archival paths do not yet make exact `reasoning_basis_id` and -`decision_context_id` structurally mandatory. +`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: @@ -116,23 +131,20 @@ transcript may be required for that query after archival. ## Immediate next action -1. Map and delete the generic Mind gateway/state-patch authority. Replace each - genuinely live outcome with its concrete invariant-owned mutation; do not - add a generic mutation registry. -2. Require a sealed basis before model execution and an exact decision context - before any structured role/reorient/Persona result or model-backed failure - terminalizes. -3. Derive provider requests internally and close the store-backed tool- - observation substitution matrix. -4. Preserve basis/context/decision links through worker, model-session, and - Persona retention while allowing stream/transcript deletion. -5. Bump the writable schema epoch and refuse old stores. Historical releases +1. Replace the two live uses of `EpiphanyRoleStatePatchDocument` with narrow + Research evidence/observation and Imagination planning-decision payloads; + then delete the generic patch schema, parser, and policy tribunal. +2. Seal one exact decision context before a model-backed failure terminalizes; + bind the typed family failure and generic job result to that same context. +3. Expand the store-backed request/tool substitution matrix and prove context + audit survives deletion of streams, assistant deltas, and scaffolding. +4. Bump the writable schema epoch and refuse old stores. Historical releases remain readers for historical proof stores; no migrator or dual path. -6. Run fresh acceptance: concurrent Persona+Hands; evidence+Verification+ +5. 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. -7. Only then package a fresh body and resume Model Atlas Gate 1 from a new +6. Only then package a fresh body and 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 fe55a502..67590cfa 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index be095310..df447733 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 binding every model-backed terminal outcome and concrete Mind mutation to its sealed reasoning basis and decision context; then prove fresh concurrent/restart behavior before resuming Model Atlas Gate 1. + current: Complete the Decision-Auditable Concurrent Mind hard cut by replacing the residual generic role state patch with narrow typed family decisions, sealing exact model-backed failure contexts, and then proving fresh concurrent/restart behavior before resuming Model Atlas Gate 1. architecture: body: Repository, runtime, service processes, stores, interfaces, and deployment substrate. @@ -38,9 +38,9 @@ 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, and Reorientation lifecycles are landed on codex/epiphany-shakedown-live. Keyed Mind plus exact runtime receipts now own coordinator presence, work discovery, deterministic launch, job-bound continuation, review, typed failure, and semantic admission. Exact 07d891ba deletes persisted EpiphanyThreadStateEntry, coordinator_state_transaction, generic coordinator launch/acceptance/state-update services, and their aggregate writers. Exact ec1431ff deletes EpiphanyThreadState itself, global launch revision cargo, generic launch requests, aggregate prompt/freshness/context surfaces, and the historical prompt smoke. No compatibility reader, bootstrap aggregate, or migrator survives. The broader Concurrent Mind cut remains incomplete because the generic Mind gateway/state-patch mouth and several terminal model/Persona/retention paths do not yet require the exact sealed decision context. The machine remains a supervised engineering alpha; Model Atlas operational Gate 1 is paused behind fresh-store concurrency, context-integrity, restart, and old-epoch refusal proofs. + 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. No compatibility reader, bootstrap aggregate, or migrator survives. The broader Concurrent Mind cut remains incomplete because EpiphanyRoleStatePatchDocument still carries Research and old generic Imagination decisions, one model-backed Planning failure path attempts an empty context, and the context substitution/transcript-deletion plus writable-epoch/fresh restart capstones remain 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 transaction, service, launch, acceptance, interrupt, proposal, and update machinery. Exact ec1431ff removes another 4,547 lines: the EpiphanyThreadState schema and prompt renderer, generic launch/interrupt/revision contracts, aggregate freshness and graph-context surfaces, obsolete Repo graph importer, and prompt-context smoke. Family launches now proceed directly from keyed obligations to typed launch documents; thread is pass-local provenance only and stateRevision is absent. Core all-target compilation passes, core library 489/489 passes, and OpenAI runtime 43/43 passes. Gate 1 remains paused behind the remaining decision-context/admission/retention cut and fresh-store 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. 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 can authorize a field patch. Core library 486/486 passes. Gate 1 remains paused behind generic role-patch deletion, model-backed failure context repair, context/epoch negatives, and fresh-store acceptance. operational_state: local_worktree: source_head_ec1431ff_pushed_documentation_refresh_active operator_wireguard: restored @@ -73,8 +73,8 @@ 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 is gone. The remaining live migration wound is narrower: MindGatewayReview, MindStateCommitReceipt v0, and EpiphanyRoleStatePatchDocument still describe a generic state-effect admission mouth outside the concrete invariant-owned MindMutation path; several generic role, reorient, Persona, model-failure, and retention paths do not yet make exact decision_context_id binding structurally mandatory. Native/provider request equality and governed tool-observation coverage also need the full store-backed refusal matrix. Old writable-store epoch refusal and the fresh concurrent/restart capstone remain open. Model Atlas code and isolated proofs remain accepted, but Gate 1 signed sight/brake acceptance, autonomous cascade, partition exercise, and sustained physiology remain unproven. Operational registration in gamecult-ops remains forbidden. Historical shakedown evidence remains valid; c011 and partial Gate roots remain untouched/read-only. One completed Discord consequence remains blocked by the absent Yggdrasil credential. - next_action: Replace the generic Mind gateway/state-patch mouth with concrete invariant-owned MindMutation admissions bound to exact decision contexts. Require reasoning_basis_id at model opening, derive provider requests internally, bind every structured role/reorient/Persona outcome or typed pass failure to decision_context_id, preserve those links through archival, and add store-backed substitution/tool-coverage negatives. Then bump/refuse the old writable epoch and run fresh disjoint-write, same-identity conflict, restart, and transcript-deletion acceptance before restarting Model Atlas Gate 1. Do not add a compatibility aggregate, generic mutation registry, dual reader, or transcript authority. + unresolved_authority: The persisted/global thread aggregate and generic Mind gateway are gone. EpiphanyRoleStatePatchDocument remains an aggregate-shaped model output mouth used by Research evidence/observations and the old generic Imagination planning lane; those decisions need narrow family contracts before the schema can be deleted. Frontier Planning model-backed failure currently constructs a typed failure with an empty decision context before the terminal request is sealed, so admission correctly refuses it; typed failure and generic job result must share one exact sealed context. Native/provider request equality is internally derived and role/reorient/Persona plus archive reachability are already context-bound, but the complete store-backed governed-tool substitution and transcript-deletion matrix is not yet proven. Old writable-store epoch refusal and fresh concurrent/restart capstone remain 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: Replace live Research and Imagination uses of EpiphanyRoleStatePatchDocument with narrow typed family decision payloads and delete the generic patch parser/policy surface. Seal one exact decision context before model-backed typed failure and generic job terminalization. Then complete store-backed tool/context substitution and transcript-deletion negatives, refuse the old writable epoch, and run fresh disjoint-write, same-identity conflict, restart, and re-entry acceptance before Model Atlas Gate 1. Do not add a compatibility aggregate, generic mutation registry, dual reader, or transcript authority. active_subgoals: - Complete exact decision-context admission, retention, epoch refusal, and fresh concurrent/restart proofs before any further operational Gate run.