Replace false SCM authority with durable task ownership

This commit is contained in:
Meta Vens 2026-07-15 11:47:54 +01:00
commit 98dd338994
8 changed files with 922 additions and 2842 deletions

File diff suppressed because it is too large Load diff

View file

@ -586,6 +586,7 @@ mod tests {
use epiphany_core::runtime_hands_commit_receipt;
use epiphany_core::runtime_hands_patch_receipt;
use epiphany_core::runtime_latest_hands_receipt_chain_after;
use sha2::Digest;
#[test]
fn records_patch_command_and_commit_receipts_against_approved_gate() -> Result<()> {
@ -789,6 +790,18 @@ mod tests {
created_at: "2026-06-02T00:00:00Z".to_string(),
},
)?;
let grant = epiphany_core::substrate_gate_coordinator_implementation_grant(
"substrate-grant-test".to_string(),
"hands-job-test".to_string(),
requested_paths.clone(),
"2026-06-02T00:00:00Z".to_string(),
);
epiphany_core::put_substrate_gate_repo_access_grant_receipt(store, &grant)?;
let requested_action = if operations == ["patch"] {
"patch"
} else {
"continueImplementation"
};
let intent = HandsActionIntent {
schema_version: HANDS_ACTION_INTENT_SCHEMA_VERSION.to_string(),
intent_id: "hands-intent-test".to_string(),
@ -796,7 +809,7 @@ mod tests {
binding_id: "implementation-worker".to_string(),
role: "epiphany-hands".to_string(),
authority_scope: "epiphany.role.implementation".to_string(),
requested_action: "continueImplementation".to_string(),
requested_action: requested_action.to_string(),
requested_paths,
substrate_gate_grant_receipt_id: "substrate-grant-test".to_string(),
requested_at: "2026-06-02T00:00:01Z".to_string(),
@ -815,6 +828,100 @@ mod tests {
"2026-06-02T00:00:02Z".to_string(),
);
put_hands_action_review(store, &review)?;
seed_frontier_authority(store, &intent, &review)?;
Ok(())
}
fn seed_frontier_authority(
store: &PathBuf,
intent: &HandsActionIntent,
review: &HandsActionReview,
) -> Result<()> {
let item = epiphany_core::RepoFrontierItem {
id: "hands-frontier-test".to_string(),
migration_body: "Exercise the bounded Hands receipt chain.".to_string(),
question: "Does the consequence preserve its authority chain?".to_string(),
gap: "An unrouted consequence is invalid.".to_string(),
target_claim_ids: vec!["hands-claim-test".to_string()],
source_scope: intent.requested_paths.clone(),
recommended_next_organ: "Hands".to_string(),
evidence_refs: vec!["hands-fixture".to_string()],
status: epiphany_core::RepoFrontierStatus::Active,
..Default::default()
};
let item_hash = format!(
"{:x}",
sha2::Sha256::digest(rmp_serde::to_vec_named(&item)?)
);
let mut model = epiphany_core::EpiphanyMemoryGraphSnapshot {
schema_version: Some(epiphany_core::MEMORY_GRAPH_SCHEMA_VERSION.to_string()),
graph_id: "hands-action-test-model".to_string(),
model_revision: 1,
domains: vec![epiphany_core::EpiphanyMemoryDomain {
id: "repo".to_string(),
profile: epiphany_core::EpiphanyMemoryProfile::RepoArchitecture,
title: "Repository".to_string(),
lifecycle: epiphany_core::EpiphanyMemoryLifecycle::Accepted,
..Default::default()
}],
nodes: vec![epiphany_core::EpiphanyMemoryNode {
id: "hands-claim-test".to_string(),
domain_id: "repo".to_string(),
profile: epiphany_core::EpiphanyMemoryProfile::RepoArchitecture,
kind: epiphany_core::EpiphanyMemoryNodeKind::RuntimeContract,
title: "Hands authority".to_string(),
claim: "Hands consequences require an exact frontier authority.".to_string(),
question: "Is the authority chain exact?".to_string(),
action_implication: "Bind every receipt to the routed scope.".to_string(),
source_hashes: vec!["anchor:missing".to_string()],
lifecycle: epiphany_core::EpiphanyMemoryLifecycle::Accepted,
..Default::default()
}],
frontier: vec![item.clone()],
..Default::default()
};
model.model_hash = epiphany_core::memory_graph_model_hash(&model)?;
let entry = epiphany_core::EpiphanyMemoryGraphEntry::from_snapshot(&model)?;
let route = epiphany_core::RepoFrontierRoute {
schema_version: epiphany_core::REPO_FRONTIER_ROUTE_SCHEMA_VERSION.to_string(),
route_id: "hands-route-test".to_string(),
next_organ: epiphany_core::RepoFrontierNextOrgan::Hands,
model_revision: model.model_revision,
model_hash: model.model_hash.clone(),
admission_receipt_id: "hands-admission-test".to_string(),
frontier_item_id: item.id.clone(),
frontier_item_hash: item_hash.clone(),
migration_body: item.migration_body.clone(),
question: item.question.clone(),
gap: item.gap.clone(),
target_claim_ids: item.target_claim_ids.clone(),
source_scope: item.source_scope.clone(),
adopted_plan: None,
selected_at: "2026-06-02T00:00:02Z".to_string(),
contract: epiphany_core::REPO_FRONTIER_ROUTE_CONTRACT.to_string(),
};
let mut cache = epiphany_core::runtime_spine_cache(store)?;
cache.put(epiphany_core::MEMORY_GRAPH_KEY, &entry)?;
cache.put(&route.route_id, &route)?;
epiphany_core::put_repo_frontier_hands_authority(
store,
&epiphany_core::RepoFrontierHandsAuthority {
schema_version: epiphany_core::REPO_FRONTIER_HANDS_AUTHORITY_SCHEMA_VERSION
.to_string(),
authority_id: "hands-authority-test".to_string(),
route_id: route.route_id,
model_revision: route.model_revision,
model_hash: route.model_hash,
frontier_item_id: route.frontier_item_id,
frontier_item_hash: item_hash,
hands_intent_id: intent.intent_id.clone(),
hands_review_id: review.review_id.clone(),
substrate_grant_receipt_id: intent.substrate_gate_grant_receipt_id.clone(),
requested_paths: intent.requested_paths.clone(),
granted_at: "2026-06-02T00:00:03Z".to_string(),
contract: epiphany_core::REPO_FRONTIER_HANDS_AUTHORITY_CONTRACT.to_string(),
},
)?;
Ok(())
}

View file

@ -1901,6 +1901,7 @@ mod tests {
created_at: "2026-06-02T00:00:00Z".to_string(),
},
)?;
seed_hands_frontier(&store)?;
let status = json!({
"scene": {
"scene": {
@ -1945,4 +1946,74 @@ mod tests {
);
Ok(())
}
fn seed_hands_frontier(store: &Path) -> Result<()> {
let item = epiphany_core::RepoFrontierItem {
id: "coordinator-hands-frontier-test".to_string(),
migration_body: "Exercise the coordinator-owned Hands gate.".to_string(),
question: "Does Self route the admitted implementation frontier?".to_string(),
gap: "Hands cannot act without a routed Modeling frontier.".to_string(),
target_claim_ids: vec!["coordinator-hands-claim-test".to_string()],
source_scope: vec!["epiphany-core/src".to_string()],
recommended_next_organ: "Hands".to_string(),
evidence_refs: vec!["fixture:mvp-coordinator".to_string()],
status: epiphany_core::RepoFrontierStatus::Active,
..Default::default()
};
let mut model = epiphany_core::EpiphanyMemoryGraphSnapshot {
schema_version: Some(epiphany_core::MEMORY_GRAPH_SCHEMA_VERSION.to_string()),
graph_id: "mvp-coordinator-test-model".to_string(),
model_revision: 1,
domains: vec![epiphany_core::EpiphanyMemoryDomain {
id: "repo".to_string(),
profile: epiphany_core::EpiphanyMemoryProfile::RepoArchitecture,
title: "Repository".to_string(),
lifecycle: epiphany_core::EpiphanyMemoryLifecycle::Accepted,
..Default::default()
}],
nodes: vec![epiphany_core::EpiphanyMemoryNode {
id: "coordinator-hands-claim-test".to_string(),
domain_id: "repo".to_string(),
profile: epiphany_core::EpiphanyMemoryProfile::RepoArchitecture,
kind: epiphany_core::EpiphanyMemoryNodeKind::RuntimeContract,
title: "Coordinator Hands gate".to_string(),
claim: "Implementation begins from an admitted routed frontier.".to_string(),
question: "Is the route current?".to_string(),
action_implication: "Route the exact admitted source scope.".to_string(),
source_hashes: vec!["anchor:missing".to_string()],
lifecycle: epiphany_core::EpiphanyMemoryLifecycle::Accepted,
..Default::default()
}],
frontier: vec![item],
..Default::default()
};
model.model_hash = epiphany_core::memory_graph_model_hash(&model)?;
let entry = epiphany_core::EpiphanyMemoryGraphEntry::from_snapshot(&model)?;
let admission = epiphany_core::RepoModelAdmissionReceipt {
schema_version: epiphany_core::REPO_MODEL_ADMISSION_RECEIPT_SCHEMA_VERSION.to_string(),
receipt_id: "coordinator-hands-admission-test".to_string(),
review_id: "coordinator-hands-model-review-test".to_string(),
result_id: "coordinator-hands-model-result-test".to_string(),
patch_id: "coordinator-hands-model-patch-test".to_string(),
patch_sha256: "fixture".to_string(),
previous_revision: 0,
previous_hash: String::new(),
admitted_revision: model.model_revision,
admitted_hash: model.model_hash.clone(),
admitted_at: "2026-06-02T00:00:00Z".to_string(),
contract: epiphany_core::REPO_MODEL_ADMISSION_CONTRACT.to_string(),
purpose: epiphany_core::RepoModelPatchPurpose::Evolution,
frontier_route_id: String::new(),
verification_request_id: String::new(),
soul_verdict_receipt_id: String::new(),
frontier_modeling_request_id: String::new(),
proposal_modeling_request_id: String::new(),
claim_repair_request_id: String::new(),
frontier_plan_decision_id: String::new(),
};
let mut cache = epiphany_core::runtime_spine_cache(store)?;
cache.put(epiphany_core::MEMORY_GRAPH_KEY, &entry)?;
cache.put(&admission.receipt_id, &admission)?;
Ok(())
}
}

View file

@ -131,33 +131,29 @@ const DIRECT_IDUNN_DEPLOYMENT_AFTERCARE_AUDIT_COMMAND: &str = "epiphany-work dep
const WRAPPER_SERVICE_TICK_COMMAND: &str = "tools/epiphany_local_run.ps1 -Mode service-tick";
const WRAPPER_SERVICE_POLICY_DIRECTORY_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-policy-directory";
const WRAPPER_SERVICE_EXECUTION_AUDIT_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-execution-audit";
const WRAPPER_SERVICE_EXECUTION_RUNBOOK_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-execution-runbook";
const WRAPPER_SERVICE_EXECUTION_READINESS_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-execution-readiness";
const WRAPPER_MANAGED_SERVICE_TASK_PLAN_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode managed-service-task-plan";
const WRAPPER_SERVICE_INSTALL_EXECUTE_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-install-execute";
const WRAPPER_SERVICE_STATUS_COMMAND: &str = "tools/epiphany_local_run.ps1 -Mode service-status";
const WRAPPER_SERVICE_RECONCILE_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-reconcile";
"tools/epiphany_local_run.ps1 -Mode managed-service-task-install";
const WRAPPER_SERVICE_STATUS_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode managed-service-task-status";
const WRAPPER_SERVICE_START_EXECUTE_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-start-execute";
"tools/epiphany_local_run.ps1 -Mode managed-service-task-start";
const WRAPPER_SERVICE_STOP_EXECUTE_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode service-stop-execute";
const WRAPPER_CLUSTER_SERVICE_EXECUTION_AUDIT_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode cluster-service-execution-audit";
const WRAPPER_CLUSTER_SERVICE_EXECUTION_RUNBOOK_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode cluster-service-execution-runbook";
const WRAPPER_CLUSTER_SERVICE_EXECUTION_READINESS_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode cluster-service-execution-readiness";
const WRAPPER_CLUSTER_SERVICE_INSTALL_EXECUTE_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode cluster-service-install-execute";
const WRAPPER_CLUSTER_SERVICE_START_EXECUTE_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode cluster-service-start-execute";
const WRAPPER_CLUSTER_SERVICE_STOP_EXECUTE_COMMAND: &str =
"tools/epiphany_local_run.ps1 -Mode cluster-service-stop-execute";
"tools/epiphany_local_run.ps1 -Mode managed-service-task-stop";
// Historical lifecycle receipts still use these typed families. Their follow-up
// routes are deliberately demoted: cluster SCM has no replacement owner, while
// single-service SCM receipts lead to the Idunn scheduled-task plan.
const WRAPPER_SERVICE_EXECUTION_AUDIT_COMMAND: &str = WRAPPER_MANAGED_SERVICE_TASK_PLAN_COMMAND;
const WRAPPER_SERVICE_EXECUTION_RUNBOOK_COMMAND: &str = WRAPPER_MANAGED_SERVICE_TASK_PLAN_COMMAND;
const WRAPPER_SERVICE_EXECUTION_READINESS_COMMAND: &str = WRAPPER_MANAGED_SERVICE_TASK_PLAN_COMMAND;
const WRAPPER_SERVICE_RECONCILE_COMMAND: &str = WRAPPER_SERVICE_STATUS_COMMAND;
const WRAPPER_CLUSTER_SERVICE_EXECUTION_AUDIT_COMMAND: &str = WRAPPER_OVERVIEW_COMMAND;
const WRAPPER_CLUSTER_SERVICE_EXECUTION_RUNBOOK_COMMAND: &str = WRAPPER_OVERVIEW_COMMAND;
const WRAPPER_CLUSTER_SERVICE_EXECUTION_READINESS_COMMAND: &str = WRAPPER_OVERVIEW_COMMAND;
const WRAPPER_CLUSTER_SERVICE_INSTALL_EXECUTE_COMMAND: &str = WRAPPER_OVERVIEW_COMMAND;
const WRAPPER_CLUSTER_SERVICE_START_EXECUTE_COMMAND: &str = WRAPPER_OVERVIEW_COMMAND;
const WRAPPER_CLUSTER_SERVICE_STOP_EXECUTE_COMMAND: &str = WRAPPER_OVERVIEW_COMMAND;
const DIRECT_BIFROST_PUBLICATION_COMMAND: &str =
"epiphany-verse-query bifrost-publication --target-repository <repo> --changed-path <path>";
const SERVICE_LIFECYCLE_OWNER: &str = "Idunn";
@ -7494,24 +7490,19 @@ fn service_execution_audit_check_tui_row(check: &EpiphanyServiceExecutionAuditCh
fn service_execution_check_follow_up_command(action: &str) -> &'static str {
match action {
"cluster-windows-service-execution-runbook" => {
WRAPPER_CLUSTER_SERVICE_EXECUTION_RUNBOOK_COMMAND
"cluster-windows-service-execution-runbook"
| "cluster-windows-service-execution-readiness"
| "cluster-windows-service-install"
| "cluster-windows-service-start"
| "cluster-windows-service-execution-audit"
| "cluster-windows-service-stop" => "none",
"windows-service-execution-runbook" | "windows-service-execution-readiness" => {
WRAPPER_MANAGED_SERVICE_TASK_PLAN_COMMAND
}
"cluster-windows-service-execution-readiness" => {
WRAPPER_CLUSTER_SERVICE_EXECUTION_READINESS_COMMAND
}
"cluster-windows-service-install" => WRAPPER_CLUSTER_SERVICE_INSTALL_EXECUTE_COMMAND,
"cluster-windows-service-start" => WRAPPER_CLUSTER_SERVICE_START_EXECUTE_COMMAND,
"cluster-windows-service-execution-audit" => {
WRAPPER_CLUSTER_SERVICE_EXECUTION_AUDIT_COMMAND
}
"cluster-windows-service-stop" => WRAPPER_CLUSTER_SERVICE_STOP_EXECUTE_COMMAND,
"windows-service-execution-runbook" => WRAPPER_SERVICE_EXECUTION_RUNBOOK_COMMAND,
"windows-service-execution-readiness" => WRAPPER_SERVICE_EXECUTION_READINESS_COMMAND,
"windows-service-install" => WRAPPER_SERVICE_INSTALL_EXECUTE_COMMAND,
"windows-service-start" => WRAPPER_SERVICE_START_EXECUTE_COMMAND,
"windows-service-status" => WRAPPER_SERVICE_STATUS_COMMAND,
"windows-service-reconcile" => WRAPPER_SERVICE_RECONCILE_COMMAND,
"windows-service-reconcile" => WRAPPER_SERVICE_STATUS_COMMAND,
"windows-service-stop" => WRAPPER_SERVICE_STOP_EXECUTE_COMMAND,
_ => "none",
}

View file

@ -1376,3 +1376,42 @@ not implement the Windows service-control handshake. Build a real service host
or explicit Task Scheduler owner with restart policy, give the Qdrant tunnel
the same durable treatment, and prove startup/reboot recovery. Live abandoned
claim recovery remains unproven; use a safe fixture rather than forging work.
## Windows survival authority rebuild (2026-07-15)
The workstation survival cut rejected the generic Windows SCM path. The
Epiphany binaries are ordinary console programs and never implemented the
Windows service-control dispatcher, so `sc.exe create`, elevated service
runbooks/audits, cluster-service install/control, and `swarm-online-runbook`
were presentation of authority the body did not possess. Those routes and
their old receipts are historical evidence only; they must not steer current
deployment, readiness, or follow-up work.
Host survival is now deliberately narrower and honest. Current-user tasks
`Epiphany-Idunn-Managed-Service-Reconciler` and
`GameCult-Yggdrasil-Tunnel` run as Meta with `InteractiveToken`/Limited
privilege, `AtLogOn` plus a one-minute recurring recovery trigger,
restart-on-failure at one-minute intervals for 999 attempts, `IgnoreNew`, zero
execution limit, and exact direct foreground actions. Task Scheduler owns
process presence after login. It does not own projector children or semantic
state. Idunn still owns the managed-service reconciliation loop and projector
launch/restart correlation. `gamecult-ops` owns the Yggdrasil tunnel profile
and foreground SSH process; Epiphany merely consumes the pinned local Qdrant
ports. No wrapper, detached grandchild, or service-manager receipt is a second
survival owner.
Live recurrence proof killed reconciler PID 24152 and observed exactly one
replacement PID 25428. Killing projector PID 29868 then caused Idunn to launch
PID 19888 with launch receipt `4d406060-6582-473a-9322-9f4ccc8b322f`;
ready heartbeat `79fe3143-28a8-40fe-9547-0287159082e6` names provider
incarnation `projector-59217a66-e3e2-44c3-b000-36af3d43b043` and the exact
startup correlation. Tunnel recurrence killed SSH PID 22652 and observed PID
30444 start at 11:37:44 with Qdrant REST healthy.
The limitation is part of the contract: this is after-login recovery, not
pre-login, boot-time, machine-wide, or Windows-service operation. The next
Soul proof is a real reboot/logon cycle showing both scheduled tasks running,
the tunnel ports restored, one Idunn-managed projector child, and a fresh
launch-correlated ready heartbeat. After that, use an isolated exact
abandoned-claim fixture to prove recovery/resumption without forging canonical
Mind or Modeling work. Do not spend another pass polishing the dead SCM rite.

Binary file not shown.

View file

@ -72,7 +72,7 @@ data_flow:
active_subgoals:
- Use `notes/conceptual-substitution-audit-2026-07-12.md` plus `notes/receipt-writer-provenance-audit-2026-07-12.md` as the current authority-corrosion maps. Snapshot promotion, synthetic smoke escape, unbound operator completion, hidden service execution flags, provider/bootstrap collapse, central/all-provider publication, production-side implicit bootstrap, orphaned external response authority, bulk readiness authority, public topology-derived provider builders, bootstrap/template-authored operator observation, writerless operator-status schema authority, SoA projection body creation, path-selection-as-body-creation, executable-name-as-provider-participation, and orphaned daemon-tool response authority are cut. Provider responses and readiness without observers are test-only; the ownerless operator-status family and counterfeit Eve provider CLI are deleted; templates are private; query mutations require the body. CultCache's backing store owns missing-read purity by returning before lock acquisition. Next audit remaining projections, caches, schedulers, adapters, and non-receipt smokes for borrowed authority or path escape.
- `swarm-overview` is an Epiphany-local, renderer-neutral diagnostic projection over provider-owned typed state. It owns no lifecycle, discovery, composition, or mutation authority. Epiphany publishes clean provider-owned Eve surfaces; Odin may discover them; downstream lowerers and compositors remain outside Epiphany's concern.
- Idunn owns daemon survival and service lifecycle physiology. Codex/operator sessions may inspect, generate runbooks, and route explicit operator authority, but keeping daemons alive belongs to Idunn-owned service lifecycle receipts, scheduler policy, audits, and aftercare. Do not let Self, diagnostic projections, or ad hoc wrapper summaries become a second daemon-keeper. Global tool readbacks for Self `service-health`, `service-policy-directory`, and `swarm-online-runbook` state `lifecycleOwner=Idunn` and `hostedBody=Epiphany` without service mutation or private-state exposure.
- Idunn owns managed-service reconciliation and projector child lifecycle. On this workstation, Task Scheduler owns only current-user after-login presence of the Idunn reconciler; `gamecult-ops` owns only current-user after-login presence and configuration of the foreground Yggdrasil tunnel. Self, wrappers, diagnostic projections, lifecycle receipts, Task Scheduler, and the service manager are forbidden from becoming alternate projector, semantic-readiness, or recovery owners. Historical `swarm-online-runbook` and SCM service-control routes are rejected-path evidence, not current operator actions.
- Use `notes/epiphany-cultmesh-dreaming-roadmap.md` as the design authority for distributed Epiphany dreaming. Public dreams are separately authored typed documents distributed through CultMesh/CultNet; private state remains local and cannot be shared by flipping a visibility flag. Foreign dreams are external thought weather until a reviewed local adoption receipt digests them into memory, planning, doctrine, or governance.
- CultMesh is now the preferred ergonomic Rust abstraction over CultCache and CultNet for Epiphany-owned local database surfaces. The Rust substrate is repo-contained under `vendor/cultcache-rs`, `vendor/cultnet-rs`, and `vendor/cultmesh-rs`; the old `E:\Projects\CultLib\crates\*` path is dead in this checkout and must not be reintroduced as a compile-time dependency. Future local Verse/dream/status work should start at CultMesh unless it is explicitly polishing CultMesh internals. `CultMeshNode::get_all_with_keys<T>()` now exposes typed document enumeration through the mesh organ, and `CultMeshNode::soa<T>()` exposes CultCache's typed SoA table projection without bypassing the mesh organ. Compact audits can scan local Verse receipt families, and agent-state summary documents now prove SoA readback through CultMesh columns. `epiphany-verse-query agent-state` explicitly mirrors the persisted seven-row agent-state SoA into an existing bootstrapped local Verse; `agent-state-report` reads it without mutation; wrapper `-Mode agent-state-soa` visibly composes sync then report. Compact SoA rows now include each standing faculty's role id, agent id, profile kind, portable contract, memory/goal/value counts, and `private=false`; wrapper proof `local-20260618-175913-074-b22ff01c` printed all seven faculties in one sealed line. Preserve the three-Verse boundary: `epiphany-internal` for private sub-agent typed state, `gamecult-local` for trusted LAN/Yggdrasil-tunnel GameCult project sharing, and `epiphany-global` for untrusted public dreams plus topic-specific threaded public rooms for Persona posts.
- Use `notes/epiphany-verse-architecture.md` as the source note for local Verse/Odin/Yggdrasil prompt-context architecture. Odin is the all-seer discovery/coordinator surface for advertised Verse metadata, not a trust-boundary bypass. Yggdrasil is the hosting spine for important trusted GameCult Verses such as Bifrost. The first native local Verse query surface is `epiphany-verse-query`, which seeds/queries compact CultMesh policy/status/contract context for dynamic prompt assembly and operator inspection; `epiphany-prompt-context-smoke` proves that compact local Verse context plus a semantic memory graph context cut can render a bounded dynamic prompt packet, omit unrelated private-looking text, and preserve the packet inside a role worker launch document. Live bridge role/reorient launch paths now feed `dynamicPromptContext` from sibling `local-verse.ccmp` and `memory-graph.msgpack` stores beside runtime-spine, refreshing the memory graph from current typed thread-state repo graphs when absent; the bridge launch-context test proves that packet survives into a persisted runtime-spine worker launch request. `tools/epiphany_local_run.ps1 -Mode status` now uses `.epiphany-run/cultmesh/local-verse.ccmp` as the shared local operator Verse store for run intent, operator snapshot, run receipt, and final `local-verse-context.json`, so the read path sees the latest operator witnesses instead of a policy-only seed packet. Local runs also refresh persisted `epiphany.agent_state_soa.v0` from `state/agents.msgpack` and mirror it into local Verse as sealed `epiphany.cultmesh.agent_state_soa_summary.v0`, preserving seven-faculty row/column shape and contract/count metadata without exposing memory text. `epiphany-verse-query poke-daemon --daemon-id <id>` now records an operator-safe `epiphany.cultmesh.daemon_poke_intent.v0` plus `epiphany.cultmesh.daemon_poke_receipt.v0` in local Verse, so a down daemon has a typed lifecycle intervention path without private Verse rummaging; follow-up daemon status remains the liveness authority. `epiphany-verse-query connect-eve` now selects an Odin advertisement by id or target cluster through the narrow Eve surface directory, records Eve connection intent/receipt documents, and verifies latest receipts through narrow CultMesh loaders; `tools/epiphany_local_run.ps1 -Mode eve-connect` wraps the same receipt path, defaulting to the Persona public discussion surface without full local Verse serialization. `epiphany-verse-query bifrost-publication` now records the Bifrost body-change publication intent, Bifrost publication receipt, and GitHub publication receipt from explicit changed path, verification, review, authorship, credit, ledger, Hands PR, and publication URL inputs, verifies the latest chain through narrow CultMesh loaders, and is wrapped by `tools/epiphany_local_run.ps1 -Mode bifrost-publication` for non-mutating operator proof defaults. `epiphany-verse-query collaboration-feedback` now records public Persona/peer collaboration feedback plus an Imagination consensus-discovery receipt from explicit public refs, Eve receipt, topic, summary, and candidate action refs, verifies latest feedback/consensus through narrow CultMesh loaders, and is wrapped by `tools/epiphany_local_run.ps1 -Mode collaboration-feedback`, which first records the prerequisite Eve receipt; adoption still requires Mind/Bifrost gates. `-Mode mvp` now seeds the same local Verse, routes Persona front-door `bubble` speech audits into that store, and writes final `local-verse-context.json` so the Persona mouth-edge witness is visible beside operator run witnesses. `epiphany-operator-snapshot from-status` now also distills the latest native status `tools.invocations[]` row into local Verse daemon-tool invocation intent/receipt mirrors, so operator-safe runtime tool calls become discoverable as `epiphany.cultmesh.daemon_tool_invocation_*` while runtime-spine remains lifecycle owner and raw MCP JSON stays quarantined behind typed tool documents. Plan/run/MVP coordinator summaries can now mirror their runtime-spine `epiphany.coordinator_run_receipt.v0` into local Verse as `epiphany.cultmesh.coordinator_run_receipt.v0`, referencing sealed artifacts by path only while keeping runtime-spine as lifecycle owner. When that summary contains a `finalAction.handsActionGate`, the same distillation pass writes `epiphany.cultmesh.hands_action_gate.v0` into local Verse with the Hands intent/review ids, Substrate Gate grant id, requested paths, required receipt types, and record-pass command template; runtime-spine Hands/Substrate Gate receipts remain the only action owners. When coordinator steps contain `roleAccept` or `roleFailureReview`, the same pass writes the latest operator-safe `epiphany.cultmesh.role_review_event.v0` mirror with surface, role id, status, source coordinator receipt id, and any exposed acceptance receipt/result/job ids; thread-state acceptance receipts remain the review owner.
@ -714,4 +714,7 @@ current_status:
- Service lifecycle receipt history is now event-only: `load_epiphany_cultmesh_daemon_service_lifecycle_receipts` filters out the `epiphany-local/daemon-service-lifecycle-receipt/latest` mirror, while `load_latest_epiphany_cultmesh_daemon_service_lifecycle_receipt` remains the latest-state reader. Focused unit test `service_lifecycle_receipt_history_excludes_latest_mirror` proves two per-receipt writes return exactly two history records and latest points at the second. Fresh smoke `verse-query-lifecycle-history-filter-smoke` and live overview/triage `local-20260618-145632-497-efac6f0d` / `local-20260618-145632-321-867947af` prove compact swarm sights still expose service lifecycle attention plus the present elevated runbook artifact without daemon pokes or service mutation. Do not use a broad unscoped cargo test filter for this check on Windows; it fans out across bin harnesses and hit a broken pipe during this pass.
- `epiphany-verse-query seed-compact` is the compact seed receipt for wrappers and read-only rites. The older `seed` command still prints the full local Verse context for explicit debugging, but compact wrapper modes now avoid full `seed`/final `query` readback after the combined overview proof exposed Windows debug stack overflow from full-context serialization pressure.
last_completed_repo_swarm_cut: Huginn live-fire has crossed the first real repo Body from Persona pressure to branch-local Hands commit and Soul/Mind closure, and now has repeatable closure and redacted-public-proof mouths. On `E:\Projects\Huginn` branch `epiphany/huginn/first-awakening`, `tools/epiphany_local_run.ps1 -Mode repo-persona-intake` accepted item `huginn-inspection-readback-livefire`, Weksa/Persona intake remained sealed, and `epiphany-work derive-plan` lowered it to model-authored safe family `repo.status_section` for `README.md` only. `tools/epiphany_local_run.ps1 -Mode repo-swarm-run` advanced four bounded pulses: run-from-plan, adopt-from-plan, execute-from-plan, and close-from-execute. Huginn commit `e9b07c38fceabbdc89ea35c2156326c80c0393a2` updated only `README.md`; closure receipt `.epiphany\work\work-close-huginn-inspection-readback-livefire.json` records status `closed`, Soul verdict `passed`, Mind state commit `repo-work-close-huginn-inspection-readback-livefire-mind-commit`, safe family `repo.status_section`, path scope `README.md`, Bifrost publication gate, and `privateStateExposed=false`. Verification also ran Huginn's TypeScript compiler through concrete Node path: `C:\Program Files\nodejs\node.exe E:\Projects\Huginn\node_modules\typescript\bin\tsc -p tsconfig.json` passed. Native verifier `epiphany-repo-livefire-closure-smoke --workspace E:\Projects\Huginn --item huginn-inspection-readback-livefire --expected-path README.md --expected-family repo.status_section --expected-gate awaiting-publication --expected-blocker bifrost-publication-missing` checks closure receipt, Mind map entry, overview gate/blocker, authority seals, and `git show` changed paths, returning `status=ok`, `soulVerdict=passed`, `publicationGate=Bifrost`, and `privateStateExposed=false`. Wrapper `tools/epiphany_local_run.ps1 -Mode repo-livefire-closure -Workspace E:\Projects\Huginn -RepoWorkItem huginn-inspection-readback-livefire -SkipBuild` exposes the same read-only proof through the local operator mouth; artifact `local-20260621-190156-803-2f85ba15` printed commit, path, gate, blocker, Soul verdict, Mind commit receipt, and `privateStateExposed=False` without push, merge, publication, or target mutation. New wrapper `tools/epiphany_local_run.ps1 -Mode repo-work-public-proof -Workspace E:\Projects\Huginn -RepoWorkItem huginn-inspection-readback-livefire -SkipBuild` exports the redacted proof bundle and repo-local Verse index without publishing; artifact `local-20260621-190645-345-4555b1dc` wrote `.epiphany\public\proof-bundles\repo-work-public-proof-huginn-inspection-readback-livefire.json`, proof id `repo-work-public-proof-huginn-inspection-readback-livefire`, SHA-256 `857545b199f3e37eb06c2e757e5cfc201958e46667bb1f8403fd333a22620f63`, nine artifact rows, zero publication rows, and `privateStateExposed=False`. swarm overview readback `local-20260621-190701-140-b9519ec6` sees the `REPO-WORK-PUBLIC-PROOF` row and action row from Huginn's repo-local Verse with the same SHA-256 while Bifrost publication remains missing. Launcher compact modes are now named compact operator-context modes instead of read-only modes, and `bifrost-public-proof` summaries print item, target public Verse, room, proof SHA-256, review receipts, and credit receipts so publication receipts are auditable without claiming upstream sync.
next_action: Finish durable survival ownership for the now-live workstation semantic projector. The reserved policy is published against Yggdrasil Qdrant at `127.0.0.1:16333` and Ollama at `10.77.0.1:11435`. Explicit migrations removed the extinct ownerless operator-status projection and retired pre-Idunn claims, attempts, and index receipts from active semantic authority without fabricating grants; current Mind and Modeling projections were rebuilt through fresh Idunn grants and are query-eligible at 1024 dimensions (43 and 3 documents). Launch receipts now bind exact policy digest, child PID, executable SHA-256, fixed provider, and startup correlation; the child checks its own PID and bytes before constructing the body. Live proof shows a clean two-source idle pulse, ready correlated heartbeat, semantic ranking for both partitions, host singleton refusal, and Idunn restart after a forced child kill from PID 22992 to 29868 with launch receipt `daa89e4f-4301-40eb-aa87-5b52c5017221` and matching ready heartbeat. Library proof is 375 passed/1 ignored, supervisor proof 7/7, all binaries compile. Remaining deployment gap: the currently detached reconciler PID 22072 and ops SSH tunnel PID 22728 are not durable OS-owned physiology. Replace the false ordinary-console `sc.exe` service path with a real service host or explicit Task Scheduler ownership and restart policy, make the Qdrant tunnel equally durable, then prove reboot/startup recovery. Exact abandoned-claim recovery is unit/hostile proved but still needs a safe live recovery fixture; do not forge canonical work merely to make the dashboard green.
- Windows host survival authority is Task Scheduler, not SCM. Tasks `Epiphany-Idunn-Managed-Service-Reconciler` and `GameCult-Yggdrasil-Tunnel` run as current user Meta with `InteractiveToken`/Limited privilege, `AtLogOn` plus a one-minute recurring recovery trigger, `IgnoreNew`, zero execution limit, and restart-on-failure at one-minute intervals (999 attempts). Each task owns only after-login process presence through one exact direct foreground action. Idunn remains sole owner of managed-service reconciliation and projector child lifecycle; Task Scheduler cannot mint projector readiness, claims, grants, recovery, or terminal evidence. `gamecult-ops` owns the Yggdrasil tunnel profile and foreground SSH process; Epiphany only consumes pinned local Qdrant ports. This is explicitly after-login physiology, not pre-login, boot-time, machine-wide, or Windows-service survival.
- Live recurrence proof killed reconciler PID 24152 and observed Task Scheduler start exactly one replacement PID 25428. Killing projector PID 29868 then caused Idunn to launch PID 19888 with launch receipt `4d406060-6582-473a-9322-9f4ccc8b322f`; ready heartbeat `79fe3143-28a8-40fe-9547-0287159082e6` names provider incarnation `projector-59217a66-e3e2-44c3-b000-36af3d43b043` and the exact startup correlation. Tunnel recurrence killed SSH PID 22652 and observed PID 30444 start at 11:37:44 with Qdrant REST healthy.
- Historical Windows SCM material in this map is rejected-path evidence, not live authority. Arbitrary console `sc.exe` installation, elevated service execution runbooks/audits, cluster-service install/start/stop/control, `swarm-online-runbook`, service-manager action queues, and their wrapper routes no longer describe deployable physiology or actionable next work. Their receipts may remain sealed historical evidence, but they cannot decide liveness, readiness, recovery, or operator action. The console binaries never implemented the Windows service-control dispatcher and therefore could not honestly own SCM service state.
next_action: Prove this Task Scheduler boundary across a real reboot and user logon: both tasks must return to Running, the gamecult-ops foreground tunnel must restore `127.0.0.1:16333`/`:16334`, Idunn must reconcile exactly one projector child, and that child must publish a fresh launch-correlated ready heartbeat without operator-shell custody. Record that this proves after-login recovery only. Separately, construct an isolated exact abandoned-claim recovery fixture and prove fencing/recovery/resumption without fabricating canonical Mind or Modeling work. Do not resume SCM hardening or resurrect cluster-service/elevated-runbook wrappers.

File diff suppressed because it is too large Load diff