diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index 1369c1a8..133db517 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -1,8 +1,8 @@ # Epiphany current algorithmic map Updated: 2026-08-24 -Latest committed implementation cut: `2e3489c4` on `codex/epiphany-shakedown-live` -Current worktree cut: documentation/evidence for generic planning-mirror deletion; +Latest committed implementation cut: `a6f73fc4` on `codex/epiphany-shakedown-live` +Current worktree cut: documentation/evidence for Persona quarantine-mirror deletion; Ox17 remains paused This document describes the live machine. Historical cuts, rejected paths, and @@ -343,6 +343,13 @@ candidates, Mind review, adopted decisions, checkpoints, and consequence receipts remain the sole planning lifecycle. Mind/runtime epochs v9/v24 refuse the retired writable shape. +Blocked Persona turns have one durable consequence record. Exact `a6f73fc4` +deletes the duplicate quarantine-pressure document that was written beside the +terminal receipt but never read. The terminal receipt retains exact blocked +crossing evidence and mention digest; keyed mentions retain `quarantined` +status plus terminal-receipt identity. No second queue or pressure projection +reconstructs the same decision. + Bifrost owns its private feedback-signing identity. Exact `94098223` deletes Epiphany's host-identity executable and the private signer, persisted identity, enrollment, platform protection, and anchor-export implementation behind it. diff --git a/notes/epiphany-fork-implementation-plan.md b/notes/epiphany-fork-implementation-plan.md index 5da0104d..dacd3116 100644 --- a/notes/epiphany-fork-implementation-plan.md +++ b/notes/epiphany-fork-implementation-plan.md @@ -330,6 +330,9 @@ Cut in this order: their empty reasoning-projection field, and the 256-line issue-tracker DTO vocabulary beneath them. Actual frontier planning and adoption remain. Mind/runtime writable epochs are v9/v24. + Exact `a6f73fc4` removes the write-only Persona quarantine-pressure document. + The terminal turn receipt and receipt-bound quarantined mentions remain the + single blocked-consequence authority. 3. **Baseline transaction landed at `9f7b164f`; operator routing at `587c56d2`; Resident continuation and keyed acceptance at `478fb923`:** baseline Body Modeling is now thread-free from unresolved Body obligation through Launch/Wait/Review and exact Mind admission. Resident and operator callers consume the same family projection and acceptance owner. Thread ID remains immutable pass provenance only. 4. **Proposal Modeling landed at `d1b031cb`:** its immutable request, worker launch, runtime attempt/result, and `Modeling.proposal_frontier` commit now own Launch/Wait/Review and admission. The aggregate launcher refuses proposal cargo; the old selector, validator, context builder, and generic-launch hint are deleted. Body and Proposal share only the exact-envelope launch CAS invariant, not a mutable family registry. Exact `b0a4978d` deletes the later duplicate launch-binding document entirely; the worker launch is the sole launch owner. 5. **Continuation vocabulary landed at `e404c105` and was named truthfully at `fc5d1a4a`:** concrete pass families share one pure `EpiphanyAgentPassContinuationAction`; their semantic requests, projections, validators, and admission owners remain separate. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 9c015a46..55191694 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -2,8 +2,8 @@ Updated: 2026-08-24 Branch: `codex/epiphany-shakedown-live` -Latest committed implementation cut: `2e3489c4` -Current worktree: documentation/evidence for generic planning-mirror deletion; +Latest committed implementation cut: `a6f73fc4` +Current worktree: documentation/evidence for Persona quarantine-mirror deletion; Ox17 remains paused ## Orientation @@ -15,7 +15,7 @@ Idunn's Yggdrasil CI/CD task with local compiler work, or wake resident cognition without an explicit operator resumption. Epiphany is a supervised engineering alpha. Exact source `d2ca6630` remains the -production symlink body and is inactive. Exact `2e3489c4` is the current +production symlink body and is inactive. Exact `a6f73fc4` is the current build-affecting source. Historical live proofs remain evidence; they do not authorize the next capstone or Gate 1. @@ -45,6 +45,16 @@ authorize the next capstone or Gate 1. ## What just landed +Exact `a6f73fc4` deletes the write-only Persona quarantine mirror. A blocked +turn already atomically writes one terminal receipt containing exact crossing +status/reason and mention digest, then marks each mention `quarantined` and +binds it to that receipt. The duplicate blocked-pressure payload, wrapper +document, construction branch, type constant, registry entry, and decoder are +gone; nothing read them after the earlier duplicate projection was deleted. +Core compiles, Persona consequence/retention 5/5 pass, and the feature-gated +Persona service compiles. The cut is 63 pure deletions and does not touch +Atlas. + Exact `2e3489c4` deletes the empty generic planning mirror. Four registered Mind document families—planning captures, backlog items, roadmap streams, and objective drafts—had no constructor, writer, admission owner, or consumer, yet @@ -162,7 +172,7 @@ the live resident fields. Runtime writable state advances to v20. JSON schemas parse; core check, old-epoch refusal, coordinator 5/5, and swarm 4/4 pass. The cut removes 59 maintained lines and leaves `runtime_spine.rs` at 9,807 lines. -Continue the registered-type and test-liability audit after exact `2e3489c4`. Model Atlas remains protected +Continue the registered-type and test-liability audit after exact `a6f73fc4`. Model Atlas remains protected for its first live inter-swarm collaboration trial. Exact `3ed1d564` deletes the public diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 29eb662e..464461a3 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index b6d93154..cd68067e 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -71,6 +71,7 @@ current_status: resident_self_runtime_receipt_cut: Exact 3140d305 deletes ResidentSelfRuntimeReceipt, a durable type that was registered, accepted, and decoded but had no producer or reader. Its schema constant and every state-cache branch are gone. The definition-plus-export-only EpiphanyCoordinatorRoleResultStatus is also gone; the live role board retains EpiphanyCoordinatorRoleStatus. Resident Self writable state advances to v2, and a consequential negative proof confirms a v1 store refuses byte-identically. Resident Self 7/7 and swarm physiology 4/4 pass. The cut is net 32 maintained lines removed without touching Atlas. adapter_status_authority_cut: Exact 0091e0e1 deletes the generic model-adapter and OpenAI-adapter status families. Every model pass wrote both mutable documents, but no query, router, admission owner, audit path, or display consumed either. Their types, per-pass writers, status/auth-mode constructors, adapter-ID constants, one self-affirming OpenRouter status test, runtime registrations, two published schemas, and catalog entries are gone. Native/provider requests retain provider and model identity; live transport construction retains credential and attachment proof. Runtime writable epoch advances to v23. Adapter libraries compile; provider spine 14/14, old-epoch refusal, and model runtime 23/23 pass. The cut removes 267 net maintained lines without touching Atlas. The local published catalog contains twenty live or portable contracts. generic_planning_mirror_cut: Exact 2e3489c4 deletes the empty generic planning mirror. Four registered Mind document families—planning captures, backlog items, roadmap streams, and objective drafts—had no constructor, writer, admission owner, or consumer, yet were read and injected empty into every reasoning projection. Their document types, registry/validation/projection branches, reasoning field, and 256-line issue-tracker-shaped state-model vocabulary are gone. Real planning remains in frontier planning requests, candidates, Mind review, adopted decisions, checkpoints, Hands receipts, and exact admission paths. Mind/runtime writable epochs advance to v9/v24. State model and core compile; sealed reasoning 8/8, old-epoch refusal, model runtime 23/23, and coordinator 5/5 pass. The cut removes 350 net maintained lines without touching Atlas. + persona_quarantine_mirror_cut: Exact a6f73fc4 deletes the write-only Persona quarantine mirror. A blocked turn already atomically writes one terminal receipt containing exact crossing status/reason and mention digest, then marks each mention quarantined and binds it to that receipt. The duplicate blocked-pressure payload, wrapper document, construction branch, type constant, registry entry, and decoder are gone; nothing read them after the earlier duplicate projection was deleted. Core compiles, Persona consequence/retention 5/5 pass, and the feature-gated Persona service compiles. The cut is 63 pure deletions without touching Atlas. supervisor_subtraction: Exact 856648de completes the supervisor deletion. Epiphany owns no local generic daemon supervisor, semantic projector service, workspace-coverage projector, Windows Task Scheduler integration, or service-policy/lifecycle/heartbeat/recovery mirror. Idunn on Yggdrasil owns source-triggered compilation, testing, packaging, deployment, signed health, and daemon survival. The canonical Epiphany brake gates Epiphany cognition and consequence authority, not Idunn startup or unrelated lifecycle. launch_dependency_cut: Exact 2aeab7a9 deletes the generic organ dependency matrix, generic receipt catalogue/proof profiles, persisted worker-launch cargo, Persona prompt injection, evaluator, and three self-certifying tests: 700 net lines. Family admission owners derive exact dependencies from typed state. Worker-launch schema v2 and Persona projector prompt v1 refuse the old writable shape. Core 378/378, OpenRouter runtime 27/27, packaged runtime 13/13, and Persona re-entry 1/1 pass. operator_surface_subtraction: Exact ef92e853 deletes the callerless view-lens registry, legacy acceptance-bundle builders, test-only raw-JSON result interpreters, and six tests: 797 net lines. Exact a292979d and 77e817c1 delete the duplicate CRRC recommendation algorithm, its unused input model, and four tests: 206 lines. Exact 3b94bf6e and 59c5e3a6 delete the nested duplicate status view, false auxiliary mode, and ignored status arguments. Exact 7c9b0cf3 deletes the fixed synthetic job table, role-board job cargo/mappers, and its test: 338 net lines. Exact 2ce91461 deletes the scene/planning Mind reconstructions, duplicate self-policy crate, unused prompt templates, four counterfeit schemas, and ten producer/source-text tests: 1,723 net lines. Exact 78836f3b deletes eight unconsumed status tableaux, the pressure calculator production only called without telemetry, its unreachable compaction action, one counterfeit schema, and six tests: 518 net lines. Exact f10f7fb3 deletes the final twelve epiphany.surface.* schemas and ten catalog entries after every one proved producerless and consumerless: 692 pure deletions. Exact ab3cacfb deletes thirty-one more producerless contracts, the false runtime-session mutation mouth, every Epiphany-owned Rider/Unity command schema, a callerless prompt-context module, its test-only specialist prompt system, and four self-affirming tests: 3,514 net lines. Exact 16d85b1b deletes six duplicate JSON-schema builder tests and two OpenAI-runtime self-source searches: 209 pure test-line deletions. Exact 06f93f70 deletes the test-only inverse OpenAI-to-native request mapper and makes two retained tests follow canonical native-to-provider derivation: sixty net lines. Exact 0091e0e1 later removes two unread adapter-status schemas and catalog entries; the local catalog now has twenty live or portable contracts. Brokkr owns Unity capabilities through CultMesh/Eve; a future Rider daemon owns Rider. Status retains Mind identity, exact current work, one action/reason decision, readable role lanes, and operator thought sealing. Core checks cleanly; retained provider and focused request-flow tests pass. @@ -133,7 +134,7 @@ current_status: yggdrasil_epiphany_service_contract: idunn_source_change_owner_eve_and_local_typed_operator_surfaces_no_discord_control_plane resident_physiology: historical_c011_exact_465af24d_zero_zombie_proof_accepted_current_containers_exited_255 unresolved_authority: `runtime_spine.rs` remains the largest central liability at 9,730 lines, 53 public functions, and 25 public structs; it still mixes immutable identity, sessions/jobs, process claims, model/tool execution binding, family request admission, consequence receipts, retention, and narrow identity/schema reads. Sessions and jobs now carry only lifecycle identity/status; terminal result documents own summaries and artifacts. The lenient duplicate session ensure writer is gone; the strict diagnostic creator refuses identity collisions. All persisted family launch-binding documents, the standalone verdict-driven Modeling writer, and coordinator artifact/status cargo are gone; immutable worker launches plus typed family requests and atomic admission receipts own launch ancestry and downstream work creation. Continue splitting only by deleting callerless or duplicate authority and auditing tests against consequential behavior; do not create family frameworks or adapters. The current gamecult-ops Epiphany unit has retired agent-store and daemon-id argv that its owning lane must fix before deployment. Bifrost's Discord delivery path is a real consumer of Epiphany's short-lived request-bound permit signature, so the distinct permit identity/process remains an earned privilege boundary; current Ygg deployment doctrine still points that crossing at the old Starfire endpoint and installs no issuer unit, which the Idunn lane must repair before Persona consequence readiness. Historical c011 and partial Gate roots stay untouched/read-only. - next_action: Resume the registered-type and test-liability audit after exact 2e3489c4. Trace each remaining registered document and verifier to a producer, reader, and consequential invariant; delete complete dead authority slices, unread projections, and self-affirming tests. Preserve exact identity, decision audit, conflict/replay, retry ancestry, retention fences, terminal Self provenance, typed frontier planning, exact provider requests/receipts, and the complete unrun Model Atlas inter-swarm vertical slice. Do not mistake component tests for collaboration acceptance. Do not run a local full-workspace compile, package, deployment, Ox root, or Model Atlas Gate run. + next_action: Resume the registered-type and test-liability audit after exact a6f73fc4. Trace each remaining registered document and verifier to a producer, reader, and consequential invariant; delete complete dead authority slices, write-only mirrors, unread projections, and self-affirming tests. Preserve exact identity, decision audit, conflict/replay, retry ancestry, retention fences, terminal Self provenance, typed frontier planning, exact Persona terminal consequences, exact provider requests/receipts, and the complete unrun Model Atlas inter-swarm vertical slice. Do not mistake component tests for collaboration acceptance. Do not run a local full-workspace compile, package, deployment, Ox root, or Model Atlas Gate run. runtime_spine_surface_cut: `runtime_spine.rs` owns immutable runtime identity, exact sessions/jobs and process claims, model/tool execution bindings, family admission, consequence receipts, retention, and identity-resurrection fences. Session/job documents carry only lifecycle identity and status; terminal job results carry summaries, evidence, artifacts, and decision-context identity. The sole standalone diagnostic session creator refuses identity collisions; there is no lenient ensure/rebase mouth. It exposes no aggregate status head, mutable adapter-status shadow, uninhabited generic planning mirror, global revision, generic role patch, caller-authored mutation surface, duplicate prompt-state projection, persisted family launch-binding document, standalone verdict-driven Modeling writer, coordinator artifact/status cargo, public typed-fulfillment machinery, or producerless Imagination review contract. Completed model-session retention writes one private resurrection tombstone. Archived worker retention writes one decision-bearing historical record with exact request/terminal identity, deletion digest, decision context, structured role result, and terminal job records; duplicate IDs, timestamps, count summaries, and returned archive vectors own nothing and are absent. Coordinator terminal receipts retain only terminal Self decision and exact resident-launch provenance. Mind/runtime writable epochs are v9/v24, runtime session/job catalog schemas are v1, archived-session schema is v1, archived-worker-attempt schema/type is v2, coordinator-run-receipt schema/type is v1, and claim-obligation schema is v3. The spine is 9,725 lines with 53 public functions and 25 public structs. Continue subtraction by tracing each remaining public surface and verifier to a live consumer and consequential invariant; do not replace deleted authority with registries, adapters, compatibility readers, or summary DTOs.