Separate collaboration proposal authority
This commit is contained in:
parent
c04b5f1a31
commit
59c64e1925
10 changed files with 330 additions and 64 deletions
|
|
@ -208,11 +208,11 @@ fn run_smoke(args: Args) -> Result<Value> {
|
|||
require_text(&topic_text, "[topic]")?;
|
||||
require_text(
|
||||
&topic_text,
|
||||
"public_room = \"epiphany-global/persona-collaboration/repo-collaboration-topic-family\"",
|
||||
"requested_public_room = \"epiphany-global/persona-collaboration/repo-collaboration-topic-family\"",
|
||||
)?;
|
||||
require_text(
|
||||
&topic_text,
|
||||
"eve_surface = \"eve://epiphany/repo/repo-collaboration-topic-family/collaboration\"",
|
||||
"requested_eve_surface = \"eve://epiphany/repo/repo-collaboration-topic-family/collaboration\"",
|
||||
)?;
|
||||
require_text(&topic_text, "persona_discussion_allowed = true")?;
|
||||
require_text(&topic_text, "human_discussion_allowed = true")?;
|
||||
|
|
|
|||
|
|
@ -2727,6 +2727,13 @@ fn derive_repo_manifest_plan(
|
|||
format!("candidate_action_refs = {}", toml_array(&candidate_refs)),
|
||||
format!("public_discussion_refs = {}", toml_array(&public_refs)),
|
||||
String::new(),
|
||||
"[policy]".to_string(),
|
||||
"status = \"proposed\"".to_string(),
|
||||
"authoring_owner = \"Imagination\"".to_string(),
|
||||
"required_reviewers = [\"Persona\", \"Mind\"]".to_string(),
|
||||
"policy_admitted = false".to_string(),
|
||||
"publication_owner = \"Bifrost\"".to_string(),
|
||||
String::new(),
|
||||
"[body]".to_string(),
|
||||
format!("domain = {}", toml_basic_string(&body_domain)),
|
||||
"authority_owner = \"Epiphany Self\"".to_string(),
|
||||
|
|
@ -3319,8 +3326,15 @@ fn derive_repo_collaboration_topic_plan(
|
|||
String::new(),
|
||||
"[topic]".to_string(),
|
||||
format!("id = {}", toml_basic_string(&topic_id)),
|
||||
format!("public_room = {}", toml_basic_string(&public_room)),
|
||||
format!("eve_surface = {}", toml_basic_string(&eve_surface)),
|
||||
"status = \"proposed\"".to_string(),
|
||||
"authoring_owner = \"Imagination\"".to_string(),
|
||||
"discussion_owner = \"Persona\"".to_string(),
|
||||
"publication_owner = \"Bifrost\"".to_string(),
|
||||
format!("requested_public_room = {}", toml_basic_string(&public_room)),
|
||||
format!("requested_eve_surface = {}", toml_basic_string(&eve_surface)),
|
||||
"public_room_published = false".to_string(),
|
||||
"eve_surface_published = false".to_string(),
|
||||
"provider_receipt_required = true".to_string(),
|
||||
"persona_discussion_allowed = true".to_string(),
|
||||
"human_discussion_allowed = true".to_string(),
|
||||
"agent_friendly_tui = true".to_string(),
|
||||
|
|
@ -6529,152 +6543,137 @@ fn closure_family_assertions(
|
|||
);
|
||||
}
|
||||
"repo.collaboration_policy" => {
|
||||
let policy = parse_repo_collaboration_policy(&content).ok();
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-schema-present",
|
||||
content.contains("schema_version = \"epiphany.repo_collaboration_policy.v0\""),
|
||||
policy
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationPolicy::has_canonical_identity),
|
||||
"Committed collaboration policy carries the schema version.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-family-present",
|
||||
content.contains("safe_action_family = \"repo.collaboration_policy\""),
|
||||
policy
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationPolicy::has_canonical_identity),
|
||||
"Committed collaboration policy carries the safe action family.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-summary-present",
|
||||
content.contains(&compact_summary),
|
||||
policy
|
||||
.as_ref()
|
||||
.is_some_and(|value| value.summary == compact_summary),
|
||||
"Committed collaboration policy contains the accepted pressure summary."
|
||||
.to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-body-truth",
|
||||
content.contains("[body]")
|
||||
&& content.contains("provider_owns_truth = true")
|
||||
&& content.contains("renderer_owns_truth = false"),
|
||||
policy
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationPolicy::preserves_provider_truth)
|
||||
&& policy
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationPolicy::remains_proposal),
|
||||
"Committed collaboration policy preserves provider ownership.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-verse-boundaries",
|
||||
content.contains("[verses]")
|
||||
&& content.contains("private = \"epiphany-internal\"")
|
||||
&& content.contains("local = \"gamecult-local\"")
|
||||
&& content.contains("public = \"epiphany-global\"")
|
||||
&& content.contains("private_state_may_leave_repo = false")
|
||||
&& content.contains("odin_discoverable = true"),
|
||||
policy.as_ref().is_some_and(RepoCollaborationPolicy::has_verse_boundaries),
|
||||
"Committed collaboration policy names private/local/public Verse boundaries and Odin discovery.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-eve-connection",
|
||||
content.contains("[eve]")
|
||||
&& content.contains("surface = \"eve://epiphany/repo/")
|
||||
&& content.contains("compact_tui_required = true")
|
||||
&& content.contains("connection_receipt_required = true")
|
||||
&& content.contains("\"submit-feedback\""),
|
||||
policy
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationPolicy::has_eve_request),
|
||||
"Committed collaboration policy names the Eve connection contract.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-persona-feedback",
|
||||
content.contains("[persona]")
|
||||
&& content.contains("public_discussion_allowed = true")
|
||||
&& content.contains("human_discussion_allowed = true")
|
||||
&& content.contains("peer_persona_discussion_allowed = true")
|
||||
&& content.contains("speech_audit_required = true")
|
||||
&& content.contains("feedback_must_route_to_imagination = true"),
|
||||
policy.as_ref().is_some_and(RepoCollaborationPolicy::has_persona_route),
|
||||
"Committed collaboration policy routes Persona/human/peer feedback through audited public discussion.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-imagination-route",
|
||||
content.contains("[imagination]")
|
||||
&& content.contains("feedback_route = \"imagination://repo/")
|
||||
&& content.contains("consensus_required_before_adoption = true")
|
||||
&& content.contains("candidate_actions_non_authoritative = true")
|
||||
&& content.contains("mind_adoption_required = true")
|
||||
&& content.contains("bifrost_publication_required = true"),
|
||||
policy.as_ref().is_some_and(RepoCollaborationPolicy::has_imagination_route),
|
||||
"Committed collaboration policy routes feedback to Imagination before Mind/Bifrost gates.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-authority-seals",
|
||||
content.contains("[authority]")
|
||||
&& content.contains("direct_hands_authority = false")
|
||||
&& content.contains("direct_mind_state_commit = false")
|
||||
&& content.contains("direct_publication_authority = false")
|
||||
&& content.contains("direct_merge_authority = false")
|
||||
&& content.contains("service_lifecycle_authority = false")
|
||||
&& content.contains("cross_body_mutation_authority = false")
|
||||
&& content.contains("private_verse_rummaging = false")
|
||||
&& content.contains("requires_cultmesh_receipts = true"),
|
||||
policy.as_ref().is_some_and(RepoCollaborationPolicy::has_authority_seals),
|
||||
"Committed collaboration policy denies direct action/state/publication/service/cross-body authority.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-policy-private-seal",
|
||||
content.contains("private_state_exposed = false"),
|
||||
policy
|
||||
.as_ref()
|
||||
.is_some_and(|value| !value.private_state_exposed),
|
||||
"Committed collaboration policy preserves the private-state seal.".to_string(),
|
||||
);
|
||||
}
|
||||
"repo.collaboration_topic" => {
|
||||
let topic = parse_repo_collaboration_topic(&content).ok();
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-topic-schema-present",
|
||||
content.contains("schema_version = \"epiphany.repo_collaboration_topic.v0\""),
|
||||
topic
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationTopic::has_canonical_identity),
|
||||
"Committed collaboration topic carries the schema version.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-topic-family-present",
|
||||
content.contains("safe_action_family = \"repo.collaboration_topic\""),
|
||||
topic
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationTopic::has_canonical_identity),
|
||||
"Committed collaboration topic carries the safe action family.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-topic-summary-present",
|
||||
content.contains(&compact_summary),
|
||||
topic
|
||||
.as_ref()
|
||||
.is_some_and(|value| value.summary == compact_summary),
|
||||
"Committed collaboration topic contains the accepted pressure summary.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-topic-public-surface",
|
||||
content.contains("[topic]")
|
||||
&& content.contains("public_room = \"epiphany-global/persona-collaboration/")
|
||||
&& content.contains("eve_surface = \"eve://epiphany/repo/")
|
||||
&& content.contains("persona_discussion_allowed = true")
|
||||
&& content.contains("human_discussion_allowed = true"),
|
||||
topic
|
||||
.as_ref()
|
||||
.is_some_and(RepoCollaborationTopic::remains_unpublished_proposal),
|
||||
"Committed collaboration topic names public discussion and Eve surfaces."
|
||||
.to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-topic-imagination-route",
|
||||
content.contains("[imagination]")
|
||||
&& content.contains("consensus_route = \"imagination://repo/")
|
||||
&& content.contains("consensus_required_before_action = true")
|
||||
&& content.contains("candidate_actions_are_non_authoritative = true")
|
||||
&& content.contains("mind_adoption_required = true"),
|
||||
topic.as_ref().is_some_and(RepoCollaborationTopic::has_imagination_route),
|
||||
"Committed collaboration topic routes feedback to Imagination consensus before adoption.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-topic-authority-seals",
|
||||
content.contains("[authority]")
|
||||
&& content.contains("adoption_authorized = false")
|
||||
&& content.contains("hands_action_authorized = false")
|
||||
&& content.contains("publication_authorized = false")
|
||||
&& content.contains("cross_body_mutation_authorized = false")
|
||||
&& content.contains("private_verse_rummaging = false"),
|
||||
topic.as_ref().is_some_and(RepoCollaborationTopic::has_authority_seals),
|
||||
"Committed collaboration topic denies action, publication, cross-body, and private-rummaging authority.".to_string(),
|
||||
);
|
||||
push_assertion(
|
||||
&mut assertions,
|
||||
"collaboration-topic-private-seal",
|
||||
content.contains("private_state_exposed = false"),
|
||||
topic
|
||||
.as_ref()
|
||||
.is_some_and(|value| !value.private_state_exposed),
|
||||
"Committed collaboration topic preserves the private-state seal.".to_string(),
|
||||
);
|
||||
}
|
||||
|
|
@ -14533,6 +14532,8 @@ idunn_deployment_authority_required = true
|
|||
"repo.sync_request",
|
||||
"repo.pr_request",
|
||||
"repo.maintainer_review_request",
|
||||
"repo.collaboration_policy",
|
||||
"repo.collaboration_topic",
|
||||
"repo.consensus_brief",
|
||||
"repo.interpreter_brief",
|
||||
"repo.objective_draft",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
include!("closure_contracts/external_governance.rs");
|
||||
include!("closure_contracts/collaboration.rs");
|
||||
include!("closure_contracts/preparation.rs");
|
||||
include!("closure_contracts/workflow.rs");
|
||||
include!("closure_contracts/operations.rs");
|
||||
|
|
|
|||
|
|
@ -0,0 +1,196 @@
|
|||
#[derive(Debug, Deserialize)]
|
||||
pub(super) struct RepoCollaborationPolicy {
|
||||
pub(super) schema_version: String,
|
||||
pub(super) safe_action_family: String,
|
||||
pub(super) summary: String,
|
||||
pub(super) private_state_exposed: bool,
|
||||
policy: CollaborationPolicyProposal,
|
||||
body: CollaborationBody,
|
||||
verses: std::collections::BTreeMap<String, toml::Value>,
|
||||
eve: CollaborationEve,
|
||||
persona: std::collections::BTreeMap<String, bool>,
|
||||
imagination: CollaborationImagination,
|
||||
authority: std::collections::BTreeMap<String, bool>,
|
||||
}
|
||||
impl RepoCollaborationPolicy {
|
||||
pub(super) fn has_canonical_identity(&self) -> bool {
|
||||
self.schema_version == "epiphany.repo_collaboration_policy.v0"
|
||||
&& self.safe_action_family == "repo.collaboration_policy"
|
||||
}
|
||||
pub(super) fn remains_proposal(&self) -> bool {
|
||||
self.policy.status == "proposed"
|
||||
&& self.policy.authoring_owner == "Imagination"
|
||||
&& self.policy.required_reviewers == ["Persona", "Mind"]
|
||||
&& !self.policy.policy_admitted
|
||||
&& self.policy.publication_owner == "Bifrost"
|
||||
}
|
||||
pub(super) fn preserves_provider_truth(&self) -> bool {
|
||||
self.body.provider_owns_truth && !self.body.renderer_owns_truth
|
||||
}
|
||||
pub(super) fn has_verse_boundaries(&self) -> bool {
|
||||
self.verses.get("private").and_then(toml::Value::as_str) == Some("epiphany-internal")
|
||||
&& self.verses.get("local").and_then(toml::Value::as_str) == Some("gamecult-local")
|
||||
&& self.verses.get("public").and_then(toml::Value::as_str) == Some("epiphany-global")
|
||||
&& self
|
||||
.verses
|
||||
.get("private_state_may_leave_repo")
|
||||
.and_then(toml::Value::as_bool)
|
||||
== Some(false)
|
||||
&& self
|
||||
.verses
|
||||
.get("odin_discoverable")
|
||||
.and_then(toml::Value::as_bool)
|
||||
== Some(true)
|
||||
}
|
||||
pub(super) fn has_eve_request(&self) -> bool {
|
||||
self.eve.surface.starts_with("eve://epiphany/repo/")
|
||||
&& self.eve.compact_tui_required
|
||||
&& self.eve.connection_receipt_required
|
||||
&& self.eve.supported_actions == ["read-queue", "discuss", "submit-feedback"]
|
||||
}
|
||||
pub(super) fn has_persona_route(&self) -> bool {
|
||||
[
|
||||
"public_discussion_allowed",
|
||||
"human_discussion_allowed",
|
||||
"peer_persona_discussion_allowed",
|
||||
"speech_audit_required",
|
||||
"feedback_must_route_to_imagination",
|
||||
]
|
||||
.iter()
|
||||
.all(|key| self.persona.get(*key) == Some(&true))
|
||||
}
|
||||
pub(super) fn has_imagination_route(&self) -> bool {
|
||||
self.imagination
|
||||
.feedback_route
|
||||
.starts_with("imagination://repo/")
|
||||
&& self.imagination.consensus_required_before_adoption
|
||||
&& self.imagination.candidate_actions_non_authoritative
|
||||
&& self.imagination.mind_adoption_required
|
||||
&& self.imagination.bifrost_publication_required
|
||||
}
|
||||
pub(super) fn has_authority_seals(&self) -> bool {
|
||||
[
|
||||
"direct_hands_authority",
|
||||
"direct_mind_state_commit",
|
||||
"direct_publication_authority",
|
||||
"direct_merge_authority",
|
||||
"service_lifecycle_authority",
|
||||
"cross_body_mutation_authority",
|
||||
"private_verse_rummaging",
|
||||
]
|
||||
.iter()
|
||||
.all(|key| self.authority.get(*key) == Some(&false))
|
||||
&& self.authority.get("requires_cultmesh_receipts") == Some(&true)
|
||||
}
|
||||
}
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct CollaborationPolicyProposal {
|
||||
status: String,
|
||||
authoring_owner: String,
|
||||
required_reviewers: Vec<String>,
|
||||
policy_admitted: bool,
|
||||
publication_owner: String,
|
||||
}
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct CollaborationBody {
|
||||
provider_owns_truth: bool,
|
||||
renderer_owns_truth: bool,
|
||||
}
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct CollaborationEve {
|
||||
surface: String,
|
||||
compact_tui_required: bool,
|
||||
connection_receipt_required: bool,
|
||||
supported_actions: Vec<String>,
|
||||
}
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct CollaborationImagination {
|
||||
feedback_route: String,
|
||||
consensus_required_before_adoption: bool,
|
||||
candidate_actions_non_authoritative: bool,
|
||||
mind_adoption_required: bool,
|
||||
bifrost_publication_required: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub(super) struct RepoCollaborationTopic {
|
||||
pub(super) schema_version: String,
|
||||
pub(super) safe_action_family: String,
|
||||
pub(super) summary: String,
|
||||
pub(super) private_state_exposed: bool,
|
||||
topic: CollaborationTopicProposal,
|
||||
imagination: CollaborationTopicImagination,
|
||||
authority: std::collections::BTreeMap<String, bool>,
|
||||
}
|
||||
impl RepoCollaborationTopic {
|
||||
pub(super) fn has_canonical_identity(&self) -> bool {
|
||||
self.schema_version == "epiphany.repo_collaboration_topic.v0"
|
||||
&& self.safe_action_family == "repo.collaboration_topic"
|
||||
}
|
||||
pub(super) fn remains_unpublished_proposal(&self) -> bool {
|
||||
let t = &self.topic;
|
||||
t.status == "proposed"
|
||||
&& t.authoring_owner == "Imagination"
|
||||
&& t.discussion_owner == "Persona"
|
||||
&& t.publication_owner == "Bifrost"
|
||||
&& t.requested_public_room
|
||||
.starts_with("epiphany-global/persona-collaboration/")
|
||||
&& t.requested_eve_surface.starts_with("eve://epiphany/repo/")
|
||||
&& !t.public_room_published
|
||||
&& !t.eve_surface_published
|
||||
&& t.provider_receipt_required
|
||||
&& t.persona_discussion_allowed
|
||||
&& t.human_discussion_allowed
|
||||
}
|
||||
pub(super) fn has_imagination_route(&self) -> bool {
|
||||
self.imagination
|
||||
.consensus_route
|
||||
.starts_with("imagination://repo/")
|
||||
&& self.imagination.consensus_required_before_action
|
||||
&& self.imagination.candidate_actions_are_non_authoritative
|
||||
&& self.imagination.mind_adoption_required
|
||||
&& self.imagination.bifrost_publication_required
|
||||
}
|
||||
pub(super) fn has_authority_seals(&self) -> bool {
|
||||
[
|
||||
"adoption_authorized",
|
||||
"hands_action_authorized",
|
||||
"publication_authorized",
|
||||
"cross_body_mutation_authorized",
|
||||
"private_verse_rummaging",
|
||||
]
|
||||
.iter()
|
||||
.all(|key| self.authority.get(*key) == Some(&false))
|
||||
}
|
||||
}
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct CollaborationTopicProposal {
|
||||
status: String,
|
||||
authoring_owner: String,
|
||||
discussion_owner: String,
|
||||
publication_owner: String,
|
||||
requested_public_room: String,
|
||||
requested_eve_surface: String,
|
||||
public_room_published: bool,
|
||||
eve_surface_published: bool,
|
||||
provider_receipt_required: bool,
|
||||
persona_discussion_allowed: bool,
|
||||
human_discussion_allowed: bool,
|
||||
}
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct CollaborationTopicImagination {
|
||||
consensus_route: String,
|
||||
consensus_required_before_action: bool,
|
||||
candidate_actions_are_non_authoritative: bool,
|
||||
mind_adoption_required: bool,
|
||||
bifrost_publication_required: bool,
|
||||
}
|
||||
|
||||
pub(super) fn parse_repo_collaboration_policy(text: &str) -> Result<RepoCollaborationPolicy> {
|
||||
toml::from_str(text).context("collaboration policy is not valid typed TOML")
|
||||
}
|
||||
pub(super) fn parse_repo_collaboration_topic(text: &str) -> Result<RepoCollaborationTopic> {
|
||||
toml::from_str(text).context("collaboration topic is not valid typed TOML")
|
||||
}
|
||||
|
||||
include!("collaboration_tests.rs");
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
#[cfg(test)]
|
||||
mod collaboration_tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn topic_comment_cannot_counterfeit_publication_state() {
|
||||
let text = r#"
|
||||
schema_version = "epiphany.repo_collaboration_topic.v0"
|
||||
safe_action_family = "repo.collaboration_topic"
|
||||
summary = "summary"
|
||||
private_state_exposed = false
|
||||
[topic]
|
||||
status = "proposed"
|
||||
authoring_owner = "Imagination"
|
||||
discussion_owner = "Persona"
|
||||
publication_owner = "Bifrost"
|
||||
requested_public_room = "epiphany-global/persona-collaboration/item"
|
||||
requested_eve_surface = "eve://epiphany/repo/item/collaboration"
|
||||
# public_room_published = false
|
||||
public_room_published = true
|
||||
eve_surface_published = false
|
||||
provider_receipt_required = true
|
||||
persona_discussion_allowed = true
|
||||
human_discussion_allowed = true
|
||||
[imagination]
|
||||
consensus_route = "imagination://repo/item/consensus-discovery"
|
||||
consensus_required_before_action = true
|
||||
candidate_actions_are_non_authoritative = true
|
||||
mind_adoption_required = true
|
||||
bifrost_publication_required = true
|
||||
[authority]
|
||||
adoption_authorized = false
|
||||
hands_action_authorized = false
|
||||
publication_authorized = false
|
||||
cross_body_mutation_authorized = false
|
||||
private_verse_rummaging = false
|
||||
"#;
|
||||
let topic = parse_repo_collaboration_topic(text).expect("fixture is typed TOML");
|
||||
assert!(!topic.remains_unpublished_proposal());
|
||||
}
|
||||
}
|
||||
|
|
@ -1176,6 +1176,24 @@ adapter.
|
|||
Direct source inventory now reports 183 substring occurrences across twelve
|
||||
remaining families.
|
||||
|
||||
## Repo proposal as live Persona/Eve contract
|
||||
|
||||
Deterministic Imagination lowering emitted `repo.collaboration_policy` as
|
||||
collaboration law and `repo.collaboration_topic` with `public_room` and
|
||||
`eve_surface` fields that looked live despite no provider/publication receipt.
|
||||
The contracts now state the real boundary. Imagination authors proposals;
|
||||
Persona owns discussion; Persona and Mind review policy; Mind admits repo
|
||||
policy; Bifrost publishes. Topic fields are requested room/surface identifiers,
|
||||
both publication flags remain false, and a provider receipt is required.
|
||||
Downstream Eve/TUI/GUI composition is not an Epiphany concern.
|
||||
|
||||
A physical collaboration closure domain parses both proposals and their
|
||||
authority seals. The malicious fixture proves a commented unpublished flag
|
||||
cannot conceal a live publication claim.
|
||||
|
||||
Twenty-two high-authority closure families are typed. Direct source inventory
|
||||
now reports 124 substring occurrences across ten remaining families.
|
||||
|
||||
The same inspection found 33 consecutive duplicate `#[cfg(test)]` attributes
|
||||
on provider constructors/writers and their re-exports. One gate already makes
|
||||
each item test-only; the second owned nothing. The duplicates are removed.
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
- Bifrost artifact-acceptance and metrics requests remain open until actual Bifrost/Maintainer receipts are ingested. The stale response-closing request-family smokes, accounting bundle, wrapper mode, and aggregate green gate are deleted.
|
||||
- Repo-work readiness reports are sight only. The generic readiness-review approval command and writer are deleted because one caller supplied four unresolved reviewer labels. `repo.readiness_review_request` now assigns routing to Self, lists Maintainer/Soul/Mind/Bifrost as independent required reviewers, and names no readiness-approval owner; typed review readers await genuine multi-organ/provider evidence.
|
||||
- Interpreter Brief is preparation cargo authored by Imagination from accepted public pressure. It requests Mind interpretation and remains `interpretation_admitted=false`; it is not Mind-owned state until a genuine Mind path supplies and admits interpretation evidence.
|
||||
- Repo collaboration policy/topic files are proposals, not live social or renderer contracts. Imagination authors them, Persona owns discussion, Persona/Mind review policy, Mind admits repo policy, Bifrost owns publication, and requested public-room/Eve-surface identifiers remain unpublished until provider receipts exist. Epiphany does not own downstream Eve/TUI/GUI composition.
|
||||
- `repo.planning_brief` is deleted. It contained no candidate work-item records and let copied global catalog/schema/closure constants self-attest as per-item planning and readiness evidence. The live preparation chain is consensus draft -> interpretation request -> objective draft -> Mind adoption.
|
||||
- There is no aggregate repo-swarm MVP gate. The former smoke manually aggregated fixture summaries into green rows and `demoReady=true`; it and its wrapper are deleted. Whole-organism readiness requires a live-fire path whose claimed consequences are observed at their owning boundaries.
|
||||
- Persona owner: `collaboration-feedback` writes public, bounded feedback only after that provider receipt exists.
|
||||
|
|
|
|||
|
|
@ -381,6 +381,14 @@ gone; 1,393 source lines were removed without an adapter. No production source
|
|||
references remain. Direct inventory now reports 183 substring occurrences
|
||||
across twelve families.
|
||||
|
||||
Collaboration policy/topic no longer pretend deterministic repo files are live
|
||||
Persona/Eve contracts. Imagination authors proposals; Persona owns discussion;
|
||||
Persona/Mind review policy; Mind admits it; Bifrost publishes. Requested public
|
||||
room and Eve surface ids remain unpublished until provider receipts exist, and
|
||||
downstream rendering is explicitly irrelevant. A new typed collaboration
|
||||
closure domain protects both families. Twenty-two high-authority families are
|
||||
typed; direct inventory reports 124 substring occurrences across ten families.
|
||||
|
||||
Consensus Brief keeps its honest draft/unconverged semantics but no longer
|
||||
proves them with substring presence. Preparation owns its typed consensus,
|
||||
Imagination route, inputs, authority, and privacy closure; a malicious comment
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -660,4 +660,4 @@ 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: Continue the conceptual-substitution pass after the complete Planning Brief deletion. repo.planning_brief, its generator, closure/readback, readiness row, Verse classification, CLI advertisement, and dedicated smoke are gone; no production source references remain and no adapter replaced them. The live preparation chain is consensus -> interpretation request -> objective draft -> Mind adoption. Direct source inventory now reports 183 content.contains occurrences across twelve remaining families. Next map the collaboration policy/topic pair: determine whether repo-local manifests are provider-owned public contracts or deterministic proposals falsely claiming Persona/Eve authority. External governance should converge on tooling plus publication/accounting; operations retains policy/deployment.
|
||||
next_action: Continue the conceptual-substitution pass. Twenty-two high-authority closure families are typed and guarded; direct source inventory reports 124 content.contains occurrences across ten families. Collaboration policy/topic are now explicit Imagination-authored proposals: Persona owns discussion, Persona/Mind review policy, Mind admits policy, Bifrost publishes, requested public-room/Eve-surface ids remain unpublished pending provider receipts, and downstream renderer composition is irrelevant. Next inspect repo.eve_surface and repo.tool_capabilities for the same requested-versus-live provider substitution. External governance should converge on tooling plus publication/accounting; operations retains policy/deployment.
|
||||
|
|
|
|||
Reference in a new issue