Keep Mind witnesses transaction-owned

This commit is contained in:
Meta Vens 2026-08-11 17:34:42 +02:00
commit d4f4f14597
6 changed files with 61 additions and 10 deletions

View file

@ -1100,8 +1100,10 @@ pub use runtime_spine::put_hands_commit_receipt;
pub use runtime_spine::put_hands_patch_receipt;
#[cfg(test)]
pub use runtime_spine::put_hands_pr_receipt;
pub use runtime_spine::put_mind_gateway_review;
pub use runtime_spine::put_mind_state_commit_receipt;
#[cfg(test)]
pub(crate) use runtime_spine::put_mind_gateway_review;
#[cfg(test)]
pub(crate) use runtime_spine::put_mind_state_commit_receipt;
pub use runtime_spine::put_repo_frontier_hands_authority;
pub use runtime_spine::put_repo_frontier_verification_request;
pub use runtime_spine::put_repo_frontier_work_proposal;

View file

@ -8745,7 +8745,12 @@ pub fn runtime_reorient_worker_result(
cache.get::<EpiphanyRuntimeReorientWorkerResult>(job_id)
}
pub fn put_mind_gateway_review(
// Mind reviews and commit receipts are transaction companions. Production
// publishes them only beside the exact coordinator state transition in
// commit_state_with_mind_witness; these narrow writers exist solely for spine
// fixtures that assemble historical families directly.
#[cfg(test)]
pub(crate) fn put_mind_gateway_review(
store_path: impl AsRef<Path>,
review: &MindGatewayReview,
) -> Result<()> {
@ -8769,7 +8774,8 @@ pub fn runtime_mind_gateway_review(
cache.get::<MindGatewayReview>(gateway_id)
}
pub fn put_mind_state_commit_receipt(
#[cfg(test)]
pub(crate) fn put_mind_state_commit_receipt(
store_path: impl AsRef<Path>,
receipt: &MindStateCommitReceipt,
) -> Result<()> {

View file

@ -4194,3 +4194,30 @@ state is now the sole final-action owner for these review paths.
- 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.
Exact source `9370e47a` packages this ownership as 24-binary release
`sha256-fe3e6c2465017f45649bef61fed1e54b5502f7963c83526fd1f5a791a7a35ac8`
with witness
`sha256-712372f40acd4250c54d4d328a79195d6c955cd9c22e7024abb51c038b043942`.
The release graph contains no standalone Soul-verdict actuator.
## Mind state-witness transaction ownership
- Owner: `commit_state_with_mind_witness` owns the coordinator state CAS and
its exact `MindGatewayReview`, `MindStateCommitReceipt`, and organ-specific
prerequisite envelopes.
- Inputs: expected coordinator state snapshot, next state, exact gateway
review, matching state-revision commit receipt, and typed prerequisites.
- Outputs: one snapshot-fenced coordinator state transition with its complete
Mind witness family, or no mutation.
- Derived state: standalone review and commit reads are evidence inspection;
neither document is an independent state-admission command.
- Forbidden writers: production callers cannot insert a Mind review or commit
receipt outside the coordinator state transaction. The narrow fixture writers
compile only under crate tests and are absent from the public API.
- Shared paths: native role acceptance, reorientation acceptance, and split
model-admission completion converge on the same transaction primitive.
- Cut line: remove production compilation and public re-export of both raw
writer functions; retain no compatibility route.
- Verification: the atomic state-and-Mind-witness test, the historical-family
fixture test, and warning-free production library check pass.

View file

@ -3826,3 +3826,19 @@ 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.
Exact `9370e47a` packages that Soul cut as warning-free 24-binary release
`sha256-fe3e6c2465017f45649bef61fed1e54b5502f7963c83526fd1f5a791a7a35ac8`
with witness
`sha256-712372f40acd4250c54d4d328a79195d6c955cd9c22e7024abb51c038b043942`.
The package contains no standalone Soul-verdict command, so there is no honest
copied-state CLI invocation for the removed actuator; hostile causal-chain
falsification remains in the exact source verifier suite.
The next Mind audit found the same obsolete fixture aperture. Production
publishes `MindGatewayReview` and `MindStateCommitReceipt` only beside the exact
coordinator state transition through `commit_state_with_mind_witness`, but both
had exported standalone shape-only writers with no production caller. Those
writers and re-exports are now test-only. The atomic state-and-witness test,
the direct historical-family fixture test, and production library check pass.
Commit/package this cut before selecting the next organ boundary.

View file

@ -120,10 +120,10 @@ these legitimate aggregates into ad hoc query piles.
## Selected next bounded cut
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.
Commit and package the Mind transaction-companion writer cut. Authenticate the
exact release and confirm that no standalone Mind review/commit actuator enters
the binary graph. Then select the next unproven organ matrix boundary. Actual
c007h remains braked and untouched; do not manufacture frontier work.
## Completion standard

View file

@ -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 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.
latest_phase: Exact 9370e47a packages the Soul writer-ownership cut as warning-free 24-binary release sha256-fe3e6c2465017f45649bef61fed1e54b5502f7963c83526fd1f5a791a7a35ac8 with witness sha256-712372f40acd4250c54d4d328a79195d6c955cd9c22e7024abb51c038b043942; the release graph exposes no standalone Soul-verdict command. The next Mind audit found the same obsolete fixture aperture: gateway reviews and state-commit receipts are atomic coordinator-state transaction companions, and their standalone writers are now test-only. Focused atomic-witness and fixture tests plus production library check pass. 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. 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.
next_action: Keep exact 3a5d2b5e c007h braked at revision 312. Commit, push, and package the Mind transaction-companion writer cut. Authenticate the exact release and confirm no standalone Mind review/commit actuator enters the binary graph, then continue the next unproven organ 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.