diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index 9de245f1..bf90ccff 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: `a4356d1f` on `codex/epiphany-shakedown-live` -Current pass: runtime child epoch echoes collapsed; +Latest committed implementation cut: `3b991e40` on `codex/epiphany-shakedown-live` +Current pass: model-runtime diagnostic wrappers collapsed; Ox17 remains paused This document describes the live machine. Historical cuts, rejected paths, and @@ -175,6 +175,16 @@ binding audit, provider mapping, coordinator, swarm, and model-runtime targets pass. The cut removes 122 net maintained lines and leaves Atlas plus external crossings untouched. +The packaged model runtime has one execution authority. Exact `e60b924f` +deletes the callerless `preflight` JSON self-certificate and registered-type +catalog accessor; real store epoch admission and Idunn package witnesses own +compatibility and provenance. Exact `3b991e40` deletes the uncalled standalone +`model-turn`, `tool-followup`, and `tool-followup-turn` commands plus their +parser/DTO/test surfaces. `run-worker` remains the sole provider execution path +and retains internal tool continuation; `list-decisions` and `audit-decision` +retain transcript-free operator inspection. The two cuts remove 532 net +maintained lines. The remaining binary suite passes 8/8. Atlas is untouched. + CultMesh contains no JSON-derived operator snapshot, coordinator receipt, Hands gate, role-review event, unauthenticated Odin/Eve provider row, or daemon tool directory. Native runtime and keyed Mind receipts remain the owners; old @@ -1117,7 +1127,7 @@ Accepted through the local `5b799b12` source boundary: Open before Model Atlas Gate 1 resumes: -1. let Idunn compile, test, and seal exact build-affecting source `a4356d1f`; +1. let Idunn compile, test, and seal exact build-affecting source `3b991e40`; 2. use that exact package in private fresh-store Ox17; stop after three provider failures total, and prove direct Body Modeling, typed refusal-to-retry if exercised, Hands through Verification, exact context diff --git a/notes/epiphany-fork-implementation-plan.md b/notes/epiphany-fork-implementation-plan.md index 0b89d973..680e3092 100644 --- a/notes/epiphany-fork-implementation-plan.md +++ b/notes/epiphany-fork-implementation-plan.md @@ -224,7 +224,7 @@ Delete or demote: Keep the five-day shakedown, Ox17 deployment, and Model Atlas operational Gate 1 paused. Continue the source-subtraction and test-authority audit from exact -`a4356d1f`. The current sequence has deleted the semantic-memory/workspace-coverage +`3b991e40`. The current sequence has deleted the semantic-memory/workspace-coverage projection system, its local daemon supervisor, and the surviving generic RepoModel profile, impossible lifecycle, producerless receipt/summary, and decorative scoring axes. Modeling consumes typed Body and keyed RepoModel state @@ -273,6 +273,15 @@ causal and lifecycle payloads. Runtime advances to v34; old-store refusal and all affected consequence paths remain proven. No compatibility layer replaces the deleted fields. Atlas and external crossing contracts are unchanged. +Exact `e60b924f` deletes the model runtime's callerless preflight JSON +self-certificate and registered-type catalog accessor. Exact `3b991e40` +collapses the packaged model runtime onto admitted `run-worker` plus +`list-decisions` and `audit-decision`. The three uncalled direct transport/tool +CLI paths, their parser/option types, and their self-contained ingress tests are +gone. Provider execution and tool continuation now have one production entry +path; transcript-free decision inspection remains. The two cuts remove 532 net +maintained lines without changing Mind/runtime schemas or Atlas. + Resident Self now solely imports authenticated Bifrost deliveries; exact `3dda58a5` deletes the standalone Persona feedback ingress and its old Starfire snapshot seam. Exact `56267201` deletes the three unadmitted Atlas daemon diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 5eea1eed..bdfbda6b 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: `a4356d1f` -Current pass: runtime child epoch echoes collapsed; Ox17 +Latest committed implementation cut: `3b991e40` +Current pass: model-runtime diagnostic wrappers collapsed; 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 `a4356d1f` is the current +production symlink body and is inactive. Exact `3b991e40` is the current build-affecting source. Historical live proofs remain evidence; they do not authorize the next capstone or Gate 1. @@ -45,6 +45,24 @@ authorize the next capstone or Gate 1. ## What just landed +Exact `e60b924f` deletes the callerless model-runtime `preflight` JSON +self-certificate and its public registered-type catalog accessor. The command +built a fresh empty schema cache and hashed its type-name list; it did not prove +the deployed store or package could execute a decision. Actual Mind/runtime +epoch admission and Idunn's frozen-package witnesses remain the owners. + +Exact `3b991e40` then collapses `epiphany-model-runtime` onto its three earned +commands: admitted `run-worker`, `list-decisions`, and `audit-decision`. +Standalone `model-turn`, `tool-followup`, and `tool-followup-turn`, their option +and JSON-ingress families, and three tests that animated only that dead ingress +are gone. `run-worker` still owns OpenAI/OpenRouter execution, automatic tool +continuation, typed terminal failure, and decision-context sealing. The +remaining binary suite passes 8/8 and the exact packaged binary check passes. +Together the cuts remove 532 net maintained lines and leave the binary source +at 1,493 lines. Verification generated 9.36 GB across 13,992 files; Cargo +removed 8.7 GiB and the shared target again contains only the 1.78 MB state +inspector. Atlas and all inter-swarm contracts remain untouched. + Exact `a4356d1f` keeps runtime identity and swarm binding as the explicit writable-root epoch owners, then removes fixed schema-version echoes from thirteen child physiology documents: sessions, jobs, model/tool bindings, @@ -1036,7 +1054,7 @@ coordinator `12/12`, swarm `10/10`, and model-runtime `13/13`. ## Immediate next action The Ox17 deployment lane is paused. Continue the registered-document and test- -liability audit from exact `a4356d1f`; do not compile or deploy through Idunn +liability audit from exact `3b991e40`; do not compile or deploy through Idunn yet. Delete an abstraction with tests that merely animate it when it has no decision-bearing consumer. Preserve keyed Mind, sealed reasoning, direct Body- to-Modeling flow, family admission owners, Persona social state, provider diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index faaeaa77..6d106aca 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index 2aef592c..7305b5a6 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -63,6 +63,8 @@ current_status: operator_objective_intake_cut: Exact 952dcd9f preserves the typed human assertion and atomic singleton Mind-objective commit while deleting four persisted echoes: fixed schema prose, key identity, objective digest, and contract text. The public outcome now returns only the Mind projection digest, exact commit receipt, and whether the commit changed state; it no longer carries a full intake or over-broad Mind view. The coordinator-binary test that merely replayed the library seed/idempotency/refusal proof is gone; the library proof is strengthened to require byte-identical replay and the wrapper-specific resident-grant provenance proof remains. Runtime advances to v32. All three focused proofs pass. The maintained cut removes 54 net lines. Package cleanup removed 18.5 GiB, then the 1.7 MiB state tool was preserved across cleanup of 961.1 MiB regenerated artifacts. Atlas is untouched. frontier_document_envelope_cut: Exact 718ce9c1 removes fixed schema-version fields and contract slogans from thirteen durable repository-frontier documents spanning Proposal, Proposal-Modeling, Planning, Research, plan candidate, PlanMind, plan decision, route, Hands authority, Verification, Soul verdict, and post-verdict Modeling. CultCache envelopes plus runtime epoch v33 own internal shape identity; semantic IDs, exact source-document versions, strong-read chains, decision contexts, dispositions, evidence, and consequences remain. Sealed worker-context schema and contract fields remain because they define exact model input. The full keyed lifecycle, old-store refusal, provider candidate mapping, core library, and release-owned coordinator target pass. The cut removes 177 net maintained lines. Verification generated 9.61 GB across 12,514 files; cleanup restored the shared target to the single 1.78 MB state inspector. Atlas is untouched and remains protected until a real inter-swarm collaboration run exercises its complete crossing. runtime_child_epoch_echo_cut: Exact a4356d1f makes runtime identity plus swarm binding the explicit writable-root epoch owners and removes repeated schema-version fields from thirteen child physiology documents: sessions, jobs, model/tool execution bindings, archived sessions, worker launches, process claims, worker archives, role/reorientation/job results, coordinator receipts, and coordinator death recovery. Their exact lifecycle identity, causal bindings, terminal outcomes, decision contexts, and retention chains remain. Runtime advances to v34 and old writable stores still refuse byte-identically. Core, keyed lifecycle, reorientation audit, model-failure audit, transcript-free binding audit, provider candidate mapping, coordinator, swarm, and model-runtime checks pass. The cut removes 122 net maintained lines and leaves runtime_spine.rs at 9,440 lines. Verification generated 10.92 GB across 16,251 files; cleanup restored the single 1.78 MB state inspector. Atlas and external crossings are untouched. + model_runtime_preflight_certificate_cut: Exact e60b924f deletes the callerless model-runtime preflight command, its JSON self-certificate, executable and schema-list hashes, fresh-cache required-type comparison, and the public runtime_registered_document_types accessor. Actual Mind/runtime epoch admission owns writable-store compatibility; Idunn's frozen-package witness owns executable provenance. The cut removes 64 net maintained lines without changing schemas or Atlas. + model_runtime_diagnostic_wrapper_cut: Exact 3b991e40 makes admitted run-worker the sole provider execution path and retains list-decisions plus audit-decision for transcript-free inspection. The uncalled standalone model-turn, tool-followup, and tool-followup-turn commands, their CLI DTOs/parsers, duplicate JSON ingress family, and three tests that animated only that dead ingress are gone. OpenAI/OpenRouter selection, activation capability, automatic tool continuation, bounded typed failure, decision-context sealing, and worker terminality remain. The packaged binary suite passes 8/8 and its exact check passes. The cut removes 468 net maintained lines and leaves the model-runtime binary source at 1,493 lines. Verification generated 9.36 GB across 13,992 files; Cargo removed 8.7 GiB and restored the shared target to the single 1.78 MB state inspector. Atlas and inter-swarm contracts are untouched. atlas_authoring_cut: Exact ce306e23 preserves the complete inter-swarm Atlas vertical slice while deleting its duplicate local offer/claim authoring authority. Ordinary Modeling through RepoModel operations is the sole owner of provider offers and consumer claims; Atlas retains signed publication, trust, transport, deterministic projection, Soul verification, Self impact admission, Resident Self wake, brakes, and Eve lowering. Two direct write-intent types, their runtime commit APIs and registry entries, 518 planner lines, and two tests that animated only that duplicate path are gone. The runtime proof now creates offers/claims through RepoModel before proving exact verification admission and Body-drift refusal. The cut removes 593 net source lines; the three-repository direct/transitive Modeling proof passes. These are component proofs only: no live inter-swarm collaboration has yet run, so the Atlas vertical slice remains protected until Gate 1 exercises it end to end. Runtime writable epoch is v14. autonomous_proposal_binding_cut: Exact 5d507bfd reduces Self's autonomous Imagination-to-Modeling origin binding from a 22-field duplicate archive to six causal join fields: schema, exact direction-result identity, selected option ordinal, worker job identity, and exact worker-result/launch digests. Proposal identity and payload, direction request, runtime/thread, typed model projection, Body/domain binding, selected option content, and canonical Modeling-request identity are checked directly from their owning immutable documents. The atomic proposal plus binding plus Modeling-request commit and its broad keyed-lifecycle proof remain; 60 net source lines are gone. Runtime writable epoch is v15. hands_verification_derivation_cut: Exact 6ccc7dd2 deletes the 20-field transient Hands receipt-chain summary. The Hands commit owner now derives the exact Verification request directly from the persisted patch, command, and commit receipts plus the frontier authority; no copied schema, job, grant, command-output, Git, path, summary, or timestamp fields mediate that handoff. Atomic Hands-to-Verification admission and the concurrent Persona/Hands lifecycle proof remain. The cut removes 43 net source lines without adding state, schema, or tests. @@ -147,10 +149,10 @@ current_status: starfire_linux_modeling_peak: 109887488_bytes_resident_body_plus_modeling_circuit 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,440 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, coordinator artifact/status cargo, and uninhabited aggregate state-model DTO families 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-document and test-liability audit after exact a4356d1f. Delete only complete dead authority slices and tests with no consequential claim. Preserve exact identity, decision audit, conflict/replay, retry ancestry, retention fences, terminal Self provenance, typed frontier planning, Persona consequences, exact native/provider requests, governed tool receipts, and the complete unrun Model Atlas vertical slice. Component tests are not collaboration acceptance. Do not run a local full-workspace compile, package, deployment, Ox root, or Model Atlas Gate run. + unresolved_authority: `runtime_spine.rs` remains the largest central liability at 9,436 lines, 52 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, coordinator artifact/status cargo, uninhabited aggregate state-model DTO families, and public registered-type catalog 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-document and test-liability audit after exact 3b991e40. Delete only complete dead authority slices and tests with no consequential claim. Preserve exact identity, decision audit, conflict/replay, retry ancestry, retention fences, terminal Self provenance, typed frontier planning, Persona consequences, exact native/provider requests, governed tool receipts, and the complete unrun Model Atlas vertical slice. Component tests are not 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. Provider requests remain exact durable audit input; provider events/receipts normalize into one native persisted stream/receipt family. Session/job documents carry lifecycle identity and status; terminal job results carry summaries, evidence, artifacts, and decision-context identity. Completed model-session retention writes one private resurrection tombstone; archived worker retention keeps exact request/terminal identity, deletion digest, decision context, structured result, and terminal job records. Mind/runtime writable epochs are v10/v34. Runtime identity and swarm binding retain explicit epoch fields; their child physiology, Hands consequence, and repository-frontier documents rely on CultCache type/schema identity rather than carrying fixed duplicate metadata. Sealed worker contexts keep exact model-input schema and contract. Autonomous proposal promotion commits one proposal/request pair; the request owns its exact origin identities. The spine is 9,440 lines with 53 public functions and 25 public structs. Continue subtraction by tracing each public surface and verifier to a live consumer and consequential invariant; do not recreate deleted authority through registries, adapters, compatibility readers, or summary DTOs. + 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. Provider requests remain exact durable audit input; provider events/receipts normalize into one native persisted stream/receipt family. Session/job documents carry lifecycle identity and status; terminal job results carry summaries, evidence, artifacts, and decision-context identity. Completed model-session retention writes one private resurrection tombstone; archived worker retention keeps exact request/terminal identity, deletion digest, decision context, structured result, and terminal job records. Mind/runtime writable epochs are v10/v34. Runtime identity and swarm binding retain explicit epoch fields; their child physiology, Hands consequence, and repository-frontier documents rely on CultCache type/schema identity rather than carrying fixed duplicate metadata. Sealed worker contexts keep exact model-input schema and contract. Autonomous proposal promotion commits one proposal/request pair; the request owns its exact origin identities. The spine is 9,436 lines with 52 public functions and 25 public structs. Continue subtraction by tracing each public surface and verifier to a live consumer and consequential invariant; do not recreate deleted authority through registries, adapters, compatibility readers, or summary DTOs. runtime_event_cut: Exact 27fe11ae deletes persisted generic runtime events, their registry and CultNet contract, CLI/status surfaces, coordinator and lifecycle shadows, archival dependencies, and the obsolete legacy coordinator repair path. Exact d66baa27, 058751fb, and 573ddc8b first removed provider-event duplication, the arbitrary event writer, and paired lifecycle events. Runtime session/job state plus exact typed results, failures, coordinator run receipts, and coordinator death recoveries solely own terminal facts. Events cannot route work, authenticate terminality, or resurrect authority because no runtime-event document remains.