diff --git a/epiphany-core/src/cultmesh_integration.rs b/epiphany-core/src/cultmesh_integration.rs index 5147d83d..d2892973 100644 --- a/epiphany-core/src/cultmesh_integration.rs +++ b/epiphany-core/src/cultmesh_integration.rs @@ -2630,9 +2630,6 @@ pub fn load_epiphany_cultmesh_status( runtime_id: impl Into, ) -> Result> { let store_path = store_path.as_ref(); - if !store_path.exists() { - return Ok(None); - } let node = open_epiphany_cultmesh_node(store_path, runtime_id)?; node.get(EPIPHANY_CULTMESH_STATUS_KEY) } @@ -5931,9 +5928,6 @@ pub fn load_epiphany_cultmesh_daemon_liveness( > { let store_path = store_path.as_ref(); let runtime_id = runtime_id.into(); - if !store_path.exists() { - return Ok(Vec::new()); - } let node = open_epiphany_cultmesh_node(store_path, runtime_id.clone())?; let mut rows = Vec::new(); for cluster in load_epiphany_cultmesh_cluster_topology(store_path, runtime_id.clone())? { @@ -5958,9 +5952,6 @@ pub fn load_epiphany_cultmesh_daemon_restart_policy_directory( > { let store_path = store_path.as_ref(); let runtime_id = runtime_id.into(); - if !store_path.exists() { - return Ok(Vec::new()); - } let node = open_epiphany_cultmesh_node(store_path, runtime_id.clone())?; let mut rows = Vec::new(); for cluster in load_epiphany_cultmesh_cluster_topology(store_path, runtime_id.clone())? { @@ -5988,9 +5979,6 @@ pub fn load_epiphany_cultmesh_eve_surface_directory( > { let store_path = store_path.as_ref(); let runtime_id = runtime_id.into(); - if !store_path.exists() { - return Ok(Vec::new()); - } let node = open_epiphany_cultmesh_node(store_path, runtime_id.clone())?; let mut rows = Vec::new(); for cluster in load_epiphany_cultmesh_cluster_topology(store_path, runtime_id.clone())? { @@ -6047,9 +6035,6 @@ pub fn load_epiphany_cultmesh_daemon_tool_directory( > { let store_path = store_path.as_ref(); let runtime_id = runtime_id.into(); - if !store_path.exists() { - return Ok(Vec::new()); - } let node = open_epiphany_cultmesh_node(store_path, runtime_id)?; let mut rows = Vec::new(); let capabilities = node @@ -6480,9 +6465,6 @@ pub fn load_epiphany_cultmesh_cluster_topology( runtime_id: impl Into, ) -> Result> { let store_path = store_path.as_ref(); - if !store_path.exists() { - return Ok(Vec::new()); - } let node = open_epiphany_cultmesh_node(store_path, runtime_id)?; let mut topology = Vec::new(); for cluster in epiphany_cultmesh_cluster_topology() { diff --git a/notes/conceptual-substitution-audit-2026-07-12.md b/notes/conceptual-substitution-audit-2026-07-12.md index 6b5df1ab..95d06415 100644 --- a/notes/conceptual-substitution-audit-2026-07-12.md +++ b/notes/conceptual-substitution-audit-2026-07-12.md @@ -228,9 +228,11 @@ Several diagnostic loaders also opened a missing CultMesh node before learning that there was nothing to read. The store path had become a conceptual substitute for an initialized body. -Parser-side directory creation is deleted. Status and topology prerequisites -now preserve absence; the full Verse context query refuses a nonexistent store; -and the liveness, restart-policy, Eve-surface, and daemon-tool directories -return empty without opening CultMesh. A nested-parent unit check and rebuilt -CLI probe prove that query, cluster-daemon heartbeat, and supervisor status -fail on missing stores without creating either store or parent directory. +Parser-side directory creation is deleted. The deeper owner is now repaired in +`SingleFileMessagePackBackingStore`: pulling an absent store returns an empty +envelope set before lock acquisition, so every CultCache/CultMesh reader +inherits filesystem-pure absence instead of maintaining its own path guard. +The scattered loader compensators were removed. Full Verse context alone adds +projection policy by refusing to describe a nonexistent body. Backing-store and +nested diagnostic tests plus rebuilt CLI probes prove that reads and refused +daemon/supervisor starts create neither store, lock, nor parent directory. diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index 5fdf63fb..8662f6f5 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -132,9 +132,10 @@ report itself never refreshes canonical state. - Merely naming a CultMesh store does not create its body. Query, cluster-daemon, and daemon-supervisor parsers perform no filesystem writes; missing status or - topology prerequisites preserve absence; full context query refuses a - nonexistent store; narrow diagnostic directories return empty without - opening CultMesh. Explicit bootstrap or a real writer owns body creation. + topology prerequisites preserve absence because CultCache pulling bypasses + lock acquisition when the backing file is absent. Full context query refuses + a nonexistent store. Explicit bootstrap or a real writer owns body creation; + individual loaders do not carry duplicate absence compensators. - Store/runtime overrides fail before fixture seeding or receipt construction. - Negative proof: targeting `state/local-verse.ccmp` was rejected and its SHA-256 did not change. - Positive proof: the built-in quarantined smoke completes successfully and reports its quarantine coordinates. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 6e904869..f5f79fd3 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -49,8 +49,10 @@ The confirmed conceptual substitutions have been cut: state. The wrapper explicitly composes sync then report rather than hiding a refresh inside readback. - query, cluster-daemon, and daemon-supervisor argument parsing no longer creates - store parents. Missing-store reads/prerequisites preserve filesystem absence; - explicit bootstrap or a real writer owns CultMesh body creation. + store parents. CultCache's single-file backing store returns empty before + taking a lock when its file is absent, so all readers preserve filesystem + absence without per-loader guards. Full context projection refuses a missing + Verse; explicit bootstrap or a real writer owns CultMesh body creation. The presentation boundary is now plain: `swarm overview` is a generic compact read-only projection. Gjallar is a downstream TUI application on Nightwing and is not an Epiphany organ, provider, owner, runtime, or architectural dependency. Eve/CultUI graphs may be lowered or composited downstream without Epiphany caring which presentation client does it. diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 40c90aca..cbae2b31 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index b5f69d7a..ccd96f65 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -70,7 +70,7 @@ data_flow: - move historical proof to git, commits, smoke artifacts, or distilled evidence rather than plan prose 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, and path-selection-as-body-creation are cut. Provider responses and readiness without observers are test-only; the ownerless operator-status family is deleted; templates are private; query mutations require the body; missing reads and refused daemon/supervisor starts preserve parent-directory absence. Next audit remaining projections, caches, schedulers, adapters, and non-receipt smokes for borrowed authority or path escape. + - 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, and path-selection-as-body-creation are cut. Provider responses and readiness without observers are test-only; the ownerless operator-status family is deleted; templates are private; query mutations require the body. CultCache's backing store now owns missing-read purity by returning before lock acquisition, so missing reads and refused daemon/supervisor starts preserve store, lock, and parent-directory absence without per-loader compensators. 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. - 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. diff --git a/vendor/cultcache-rs b/vendor/cultcache-rs index 38388f6d..153e2d6e 160000 --- a/vendor/cultcache-rs +++ b/vendor/cultcache-rs @@ -1 +1 @@ -Subproject commit 38388f6ddfae6b74cfcfdcce7c9ecffac2ebdbcc +Subproject commit 153e2d6e5d9cf2906977966f148ca064d7b4bf20