From 213be2d443c79aa88e92762f80d5058e41748aac Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 12 Jul 2026 23:22:57 +0100 Subject: [PATCH] Seal ownerless provider result actuators --- epiphany-core/src/cultmesh_integration.rs | 16 ++++++++++++++++ epiphany-core/src/lib.rs | 16 ++++++++++++++++ ...onceptual-substitution-audit-2026-07-12.md | 10 ++++++++++ notes/fresh-workspace-handoff.md | 4 ++++ state/ledgers.msgpack | Bin 444797 -> 445205 bytes state/map.yaml | 2 +- 6 files changed, 47 insertions(+), 1 deletion(-) diff --git a/epiphany-core/src/cultmesh_integration.rs b/epiphany-core/src/cultmesh_integration.rs index f60ba6d1..21f9ba3d 100644 --- a/epiphany-core/src/cultmesh_integration.rs +++ b/epiphany-core/src/cultmesh_integration.rs @@ -3281,6 +3281,7 @@ pub fn epiphany_cultmesh_eve_connection_intent_from_advertisement( } } +#[cfg(test)] #[cfg(test)] pub fn epiphany_cultmesh_eve_connection_receipt_for_intent( receipt_id: impl Into, @@ -3322,6 +3323,7 @@ pub fn write_epiphany_cultmesh_eve_connection_intent( Ok(written) } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_eve_connection_receipt( store_path: impl AsRef, @@ -4028,6 +4030,7 @@ pub fn epiphany_cultmesh_daemon_tool_invocation_intent_from_capability( } } +#[cfg(test)] #[cfg(test)] pub fn epiphany_cultmesh_daemon_tool_invocation_receipt_for_intent( receipt_id: impl Into, @@ -4150,6 +4153,7 @@ pub fn write_epiphany_cultmesh_daemon_tool_invocation_intent( Ok(written) } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_daemon_tool_invocation_receipt( store_path: impl AsRef, @@ -4225,6 +4229,7 @@ pub fn epiphany_cultmesh_bifrost_body_change_publication_intent( } } +#[cfg(test)] #[cfg(test)] pub fn epiphany_cultmesh_bifrost_body_change_publication_receipt_for_intent( receipt_id: impl Into, @@ -4274,6 +4279,7 @@ pub fn write_epiphany_cultmesh_bifrost_body_change_publication_intent( Ok(written) } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_bifrost_body_change_publication_receipt( store_path: impl AsRef, @@ -4311,6 +4317,7 @@ pub fn load_latest_epiphany_cultmesh_bifrost_body_change_publication_receipt( #[allow(clippy::too_many_arguments)] #[cfg(test)] +#[cfg(test)] pub fn epiphany_cultmesh_bifrost_github_publication_receipt_for_publication( receipt_id: impl Into, publication_receipt: &EpiphanyCultMeshBifrostBodyChangePublicationReceiptEntry, @@ -4346,6 +4353,7 @@ pub fn epiphany_cultmesh_bifrost_github_publication_receipt_for_publication( } } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_bifrost_github_publication_receipt( store_path: impl AsRef, @@ -4374,6 +4382,7 @@ pub fn load_latest_epiphany_cultmesh_bifrost_github_publication_receipt( #[allow(clippy::too_many_arguments)] #[cfg(test)] +#[cfg(test)] pub fn epiphany_cultmesh_bifrost_public_proof_publication_receipt_for_proof( receipt_id: impl Into, proof: &EpiphanyCultMeshRepoWorkPublicProofEntry, @@ -4411,6 +4420,7 @@ pub fn epiphany_cultmesh_bifrost_public_proof_publication_receipt_for_proof( } } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_bifrost_public_proof_publication_receipt( store_path: impl AsRef, @@ -4440,6 +4450,7 @@ pub fn load_latest_epiphany_cultmesh_bifrost_public_proof_publication_receipt( #[allow(clippy::too_many_arguments)] #[cfg(test)] +#[cfg(test)] pub fn epiphany_cultmesh_bifrost_artifact_acceptance_receipt_for_map_entry( receipt_id: impl Into, map_entry: &EpiphanyCultMeshRepoWorkMapEntry, @@ -4474,6 +4485,7 @@ pub fn epiphany_cultmesh_bifrost_artifact_acceptance_receipt_for_map_entry( } } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_bifrost_artifact_acceptance_receipt( store_path: impl AsRef, @@ -4503,6 +4515,7 @@ pub fn load_latest_epiphany_cultmesh_bifrost_artifact_acceptance_receipt( #[allow(clippy::too_many_arguments)] #[cfg(test)] +#[cfg(test)] pub fn epiphany_cultmesh_bifrost_metrics_receipt_for_map_entry( receipt_id: impl Into, map_entry: &EpiphanyCultMeshRepoWorkMapEntry, @@ -4536,6 +4549,7 @@ pub fn epiphany_cultmesh_bifrost_metrics_receipt_for_map_entry( } } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_bifrost_metrics_receipt( store_path: impl AsRef, @@ -4595,6 +4609,7 @@ pub fn epiphany_cultmesh_bifrost_collaboration_feedback( } } +#[cfg(test)] #[cfg(test)] pub fn epiphany_cultmesh_imagination_consensus_receipt_for_feedback( receipt_id: impl Into, @@ -4640,6 +4655,7 @@ pub fn write_epiphany_cultmesh_bifrost_collaboration_feedback( Ok(written) } +#[cfg(test)] #[cfg(test)] pub fn write_epiphany_cultmesh_imagination_consensus_receipt( store_path: impl AsRef, diff --git a/epiphany-core/src/lib.rs b/epiphany-core/src/lib.rs index da17545e..afcdbc27 100644 --- a/epiphany-core/src/lib.rs +++ b/epiphany-core/src/lib.rs @@ -370,17 +370,22 @@ pub use cultmesh_integration::default_epiphany_cultmesh_swarm_brake; pub use cultmesh_integration::epiphany_cluster_service_execution_audit_report; pub use cultmesh_integration::epiphany_cultmesh_agent_state_soa_summary_from_entry; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_bifrost_artifact_acceptance_receipt_for_map_entry; pub use cultmesh_integration::epiphany_cultmesh_bifrost_body_change_publication_intent; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_bifrost_body_change_publication_receipt_for_intent; pub use cultmesh_integration::epiphany_cultmesh_bifrost_collaboration_feedback; pub use cultmesh_integration::epiphany_cultmesh_bifrost_contracts; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_bifrost_github_publication_receipt_for_publication; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_bifrost_metrics_receipt_for_map_entry; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_bifrost_public_proof_publication_receipt_for_proof; pub use cultmesh_integration::epiphany_cultmesh_continuity_contracts; pub use cultmesh_integration::epiphany_cultmesh_coordinator_run_receipt_from_summary_json; @@ -392,15 +397,18 @@ pub use cultmesh_integration::epiphany_cultmesh_daemon_statuses; pub use cultmesh_integration::epiphany_cultmesh_daemon_tool_invocation_from_status_json; pub use cultmesh_integration::epiphany_cultmesh_daemon_tool_invocation_intent_from_capability; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_daemon_tool_invocation_receipt_for_intent; pub use cultmesh_integration::epiphany_cultmesh_eve_connection_intent_from_advertisement; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_eve_connection_receipt_for_intent; pub use cultmesh_integration::epiphany_cultmesh_eyes_contracts; pub use cultmesh_integration::epiphany_cultmesh_global_room_policies; pub use cultmesh_integration::epiphany_cultmesh_hands_action_gate_from_summary_json; pub use cultmesh_integration::epiphany_cultmesh_hands_contracts; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::epiphany_cultmesh_imagination_consensus_receipt_for_feedback; pub use cultmesh_integration::epiphany_cultmesh_mind_contracts; pub use cultmesh_integration::epiphany_cultmesh_operator_snapshot_from_status_json; @@ -468,17 +476,22 @@ pub use cultmesh_integration::query_epiphany_local_verse_context; pub use cultmesh_integration::seed_epiphany_local_verse_context; pub use cultmesh_integration::write_epiphany_cultmesh_agent_state_soa_summary; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_artifact_acceptance_receipt; pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_body_change_publication_intent; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_body_change_publication_receipt; pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_collaboration_feedback; pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_contracts; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_github_publication_receipt; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_metrics_receipt; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_bifrost_public_proof_publication_receipt; pub use cultmesh_integration::write_epiphany_cultmesh_continuity_contracts; pub use cultmesh_integration::write_epiphany_cultmesh_coordinator_run_receipt; @@ -492,15 +505,18 @@ pub use cultmesh_integration::write_epiphany_cultmesh_daemon_status; pub use cultmesh_integration::write_epiphany_cultmesh_daemon_statuses; pub use cultmesh_integration::write_epiphany_cultmesh_daemon_tool_invocation_intent; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_daemon_tool_invocation_receipt; pub use cultmesh_integration::write_epiphany_cultmesh_eve_connection_intent; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_eve_connection_receipt; pub use cultmesh_integration::write_epiphany_cultmesh_eyes_contracts; pub use cultmesh_integration::write_epiphany_cultmesh_global_room_policies; pub use cultmesh_integration::write_epiphany_cultmesh_hands_action_gate; pub use cultmesh_integration::write_epiphany_cultmesh_hands_contracts; #[cfg(test)] +#[cfg(test)] pub use cultmesh_integration::write_epiphany_cultmesh_imagination_consensus_receipt; pub use cultmesh_integration::write_epiphany_cultmesh_managed_service_policy; pub use cultmesh_integration::write_epiphany_cultmesh_mind_contracts; diff --git a/notes/conceptual-substitution-audit-2026-07-12.md b/notes/conceptual-substitution-audit-2026-07-12.md index 7f3260c7..07e2b9e6 100644 --- a/notes/conceptual-substitution-audit-2026-07-12.md +++ b/notes/conceptual-substitution-audit-2026-07-12.md @@ -360,3 +360,13 @@ Hands PR receipt. The command and its tests are deleted. The PR constructor and runtime writer are test-only; the typed record remains an ingest/read contract until an authenticated GitHub/Bifrost adapter owns publication evidence. The Hands smoke now proves only patch, command, and commit consequences. + +## Ownerless provider actuators in the public library + +Deleting CLI writers was insufficient while the library still publicly +exported constructors and writers for Eve connection acceptance, daemon-tool +acceptance, Bifrost body/GitHub/public-proof publication, Bifrost artifact +acceptance and metrics closure, and Imagination consensus. No production owner +called them; their remaining uses were unit fixtures. All sixteen constructor/ +writer exports are now `cfg(test)`. Types, validation exercised by tests, and +production readers remain available for genuine provider-authored ingest. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 561d27f4..a5170e27 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -87,6 +87,10 @@ The confirmed conceptual substitutions have been cut: - `epiphany-hands-action record-pr` is deleted. Caller-transcribed PR and Bifrost fields cannot create Hands publication proof; PR construction and persistence are test-only pending an authenticated adapter owner. +- ownerless provider-result actuators are no longer public production API. + Eve/daemon-tool acceptance, Bifrost publication/GitHub/public-proof/artifact/ + metrics results, and Imagination consensus constructors/writers are + `cfg(test)`; production retains their typed readers for real ingest. 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 d2be5d41396d7d91dd4bee412d2d045e1af68c44..fa59d7ec56fec82e96b91dbb75770c569cc30ee9 100644 GIT binary patch delta 360 zcmY+9KT88a5XHTCxkeBx4Fq8zjlw07KrB)UL0ePW?d{EZi{vVBWmp_x>L1#iG8fd0U-MuX}v4+6caW-WuMu=fQ1JxhpE3 zm7AMZzE$<3s081u^5rww@m=WYd{Mti2WUtOP8fp`Q$m!WCK7dq#=uCcv4~MOHJUsl z;7Z!-oRiX~J<)tmddqbqMSMI7WAjiZ$>JYG1D{PDe|ijI^844L