From 9370e47ad0a8e673746c84d09c09f01c5b0618c3 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 11 Aug 2026 17:28:53 +0200 Subject: [PATCH] Keep Soul verdict creation transaction-owned --- epiphany-core/src/lib.rs | 3 ++- epiphany-core/src/runtime_spine.rs | 7 ++++++- notes/epiphany-current-algorithmic-map.md | 24 +++++++++++++++++++++++ notes/fresh-workspace-handoff.md | 11 +++++++++++ notes/perfect-machine-audit-roadmap.md | 10 ++++------ state/map.yaml | 4 ++-- 6 files changed, 49 insertions(+), 10 deletions(-) diff --git a/epiphany-core/src/lib.rs b/epiphany-core/src/lib.rs index 4b4c7c23..4eb5b8fa 100644 --- a/epiphany-core/src/lib.rs +++ b/epiphany-core/src/lib.rs @@ -1109,7 +1109,8 @@ pub use runtime_spine::put_runtime_reorient_worker_result; pub use runtime_spine::put_runtime_role_worker_result; pub use runtime_spine::put_runtime_tool_execution_intent; pub use runtime_spine::put_runtime_tool_execution_receipt; -pub use runtime_spine::put_soul_verdict_receipt; +#[cfg(test)] +pub(crate) use runtime_spine::put_soul_verdict_receipt; pub use runtime_spine::put_substrate_gate_repo_access_grant_receipt; pub use runtime_spine::relinquish_repo_frontier_hands_route; pub use runtime_spine::repair_legacy_terminal_coordinator_sessions; diff --git a/epiphany-core/src/runtime_spine.rs b/epiphany-core/src/runtime_spine.rs index 4f8b06b2..9c883c16 100644 --- a/epiphany-core/src/runtime_spine.rs +++ b/epiphany-core/src/runtime_spine.rs @@ -10515,7 +10515,12 @@ pub fn runtime_hands_receipt_chain_matches_current_model( && crate::memory_graph_model_hash(&model)? == route.model_hash) } -pub fn put_soul_verdict_receipt( +// Soul verdicts are terminal acceptance evidence. Production creates them only +// as prerequisites inside the coordinator's atomic Mind acceptance +// transaction; this crate-private writer exists for focused spine fixtures and +// migration tests, not as an independent runtime actuator. +#[cfg(test)] +pub(crate) fn put_soul_verdict_receipt( store_path: impl AsRef, receipt: &SoulVerdictReceipt, ) -> Result<()> { diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index c4660330..97e0ab04 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -4170,3 +4170,27 @@ state is now the sole final-action owner for these review paths. refuses the resolved-editor hostile dry-run exit 1 before writing a command artifact. Receipt: `.epiphany-run/unity-execute-method-refusal-5ccf4cf8-exact`. + +## Soul verdict ownership and causal consumption + +- Owner: the coordinator's atomic Mind acceptance transaction creates a Soul + verdict from one authenticated Verification finding. The verdict is terminal + acceptance evidence, not an independently writable runtime command. +- Inputs: the exact runtime worker result and launch contract, typed + verification request, frontier route, current item/model, accepted result + receipt, and exact Hands consequence chain. +- Outputs: one immutable Soul verdict prerequisite; later Modeling derives a + typed frontier request and Mind may incorporate only the matching disposition. +- Derived state: general Verse context and receipt-directory projections are + operator/prompt sight. They do not decide the verdict or its consequence. +- Forbidden writers: external callers and unrelated runtime families cannot + publish a standalone Soul verdict. The former public writer is compiled only + for focused crate fixtures and is absent from the production API. +- Shared paths: frontier Modeling request creation and verdict incorporation + both reload and compare the exact result, request, route, model/item, verdict, + acceptance, and evidence chain. +- Cut line: remove the public re-export and production compilation of + `put_soul_verdict_receipt`; retain no compatibility writer. +- Verification: ten `verdict` library tests, the focused atomic Soul acceptance + test, and production library check pass. Mixed request, route, result, and + illegal frontier edits remain byte-identical refusals. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index f60c4db9..5a933642 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -3815,3 +3815,14 @@ under explicit `--launch`; repo birth changes branches only under explicit create/switch flags; native process observation is sight. No authenticated agent tool-invocation surface exposes these utilities. The bounded actuator audit is complete; select the next Soul/Mind matrix gate from current source. + +The first Soul verifier audit found no aggregate-projection verdict shortcut. +The causal consumers reload the exact accepted Verification result, typed +verification request, frontier route, current item/model, and Hands chain; the +mixed-chain and unrelated-verdict tests refuse substitution without mutation. +One obsolete authority aperture did remain: `put_soul_verdict_receipt` was a +public standalone writer even though production creates the verdict only as a +prerequisite in the atomic Mind acceptance transaction. It is now compiled +only for crate tests and no longer exported. Ten verdict tests, the focused +Soul acceptance test, and warning-free library check pass. Package this cut, +then continue with the next unproven Soul/Mind boundary. diff --git a/notes/perfect-machine-audit-roadmap.md b/notes/perfect-machine-audit-roadmap.md index 6404a1d4..a6667263 100644 --- a/notes/perfect-machine-audit-roadmap.md +++ b/notes/perfect-machine-audit-roadmap.md @@ -120,12 +120,10 @@ these legitimate aggregates into ad hoc query piles. ## Selected next bounded cut -Audit the next Soul verifier boundary from current source: locate every -production verifier that reads an aggregate projection, name the exact receipt -or evidence family that owns its decision, and distinguish legitimate -multi-family causal verification from convenience-wide reads. Cut only a -demonstrated authority leak. Actual c007h remains braked and untouched; use -copied state for falsification and do not manufacture frontier work. +Package the Soul writer-ownership cut and prove the exact packaged verifier +path on copied state where the binary graph exposes it. Then select the next +unproven Soul/Mind matrix boundary. Actual c007h remains braked and untouched; +do not manufacture frontier work. ## Completion standard diff --git a/state/map.yaml b/state/map.yaml index 14244773..30ba2d86 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -36,7 +36,7 @@ invariants: current_status: summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact b8138a6b active-child SIGTERM and restart, exact 9f369528 deterministic warm packaging, exact c930f505 cross-container ownership, exact ed15f83a resident lifecycle retention, exact 16c4b19f coordinator receipt and Heartbeat artifact retention, exact cce2b8ac narrow model-generation retention, exact eea15e82 model-turn JSON ingress, exact b1e8c89a semantic unattempted-generation retention, exact 6bc3ec3f semantic physical-epoch retirement, and exact 44230a05 Persona conversation retention are proven. Gamecult-ops 059821f owns Yggdrasil stream retention and exact 6ee08a4 owns stable Starfire Persona-permit firewall ingress. Exact 16c4b19f genuine idle and exact a987d2f7 active cognition completed 900-pulse bounded plateaus. Runtime-owned typed fulfillment is accepted live under exact 6dd9b132. Yggdrasil is the small public crossing body, never the release forge. - latest_phase: The non-repository actuator audit is complete. Exact 3fdff19f closes canonical-brake daemon actuation and has an exact 24-binary Linux package/copy proof. Exact d7957b42 closes caller replacement of Unity's bridge-owned -executeMethod; two owner tests, the full Windows bridge smoke, and a rebuilt standalone hostile dry-run prove refusal before command publication while named probes retain the exact resident method. Forge, cognition, Persona/Bifrost, Idunn, Rider, repo-birth, and process-observation launch paths retain their named owners rather than becoming generic Hands authority. Actual c007h remains exact 3a5d2b5e, braked at revision 312 with no active lease and action awaitFrontierProposal. Yggdrasil never builds. + latest_phase: The first Soul verifier audit is source-complete. Soul verdicts are created only inside the atomic Mind acceptance transaction; the obsolete exported standalone writer is now test-only. Frontier Modeling and verdict incorporation rebind the verdict to the exact accepted Verification result, request, route, current frontier item/model, and Hands chain. Ten verdict tests plus the focused acceptance test pass, and production library check is warning-free. Actual c007h remains exact 3a5d2b5e, braked at revision 312 with no active lease and action awaitFrontierProposal. Yggdrasil never builds. operational_state: local_worktree: exact_d7957b42_actuator_audit_with_current_mind_refresh operator_wireguard: restored @@ -70,7 +70,7 @@ current_status: yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed resident_physiology: c007h_exact_3a5d2b5e_live_braked_revision_312_bounded_local_logs unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, runtime-owned typed fulfillment, all three packaged fulfilled-before-receipt lanes, genuine packaged Imagination option generation, narrow model-generation retention, published model-turn JSON ingress, semantic logical/physical retention, Persona conversation retention, stable Starfire firewall ownership, completed model-adapter session archival, normal coordinator lifecycle opening/error closure/legacy repair/archival, co-resident resident lifecycle retention, authenticated outer-worker attempt retention, deployed supervisor/projector journald ownership, Docker named-volume atomic snapshot visibility, deterministic incremental release construction, and canonical-brake refusal of direct daemon lifecycle actuation are accepted. Starfire's Docker Desktop F: bind is rejected for mutable authority after an exact packaged lockless reader observed an empty published snapshot during writer interruption. Historical migrated semantic attempts without recorded physical namespace remain durable and non-retirable. One completed Discord consequence remains blocked by the absent Yggdrasil credential. Exact aa841873 also makes legacy coordinator repair one full-snapshot transaction so a later hostile family cannot leave an earlier partial repair. - next_action: Keep exact 3a5d2b5e c007h braked at revision 312. From exact d7957b42, audit the next Soul verifier boundary: inventory production aggregate reads used for verdicts, distinguish legitimate multi-family causal verification from convenience-wide projections, and move any decision to its exact receipt/evidence owner. Use copied state for hostile-family isolation. Do not manufacture frontier work or build on Yggdrasil. + next_action: Keep exact 3a5d2b5e c007h braked at revision 312. Commit and package the Soul writer-ownership cut, then prove the exact packaged verifier path on copied state if the binary graph exposes it. Continue with the next unproven Soul/Mind matrix boundary; do not manufacture frontier work or build on Yggdrasil. active_subgoals: - Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.