From 085029db4b8b43f628df97c6cdc0b0bd23acc183 Mon Sep 17 00:00:00 2001 From: Duncan Date: Mon, 17 Aug 2026 22:41:57 -0400 Subject: [PATCH] docs(egress): correct closed-world sink enumeration in owner_identity_egress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Managed-agent sink #4 was labeled a reaction publish; the actual site is send_managed_agent_channel_message (the managed-agent channel message send). add_reaction/remove_reaction route through the self-admitting owner wrappers and are not ManagedAgentKeyed sites. Also scope the eight-site count to the ManagedAgentKeyed construction set, which is what it enumerated — the owner side has its own disjoint, larger set. Resolves the P29-C1 MINOR from C1 close. Co-authored-by: Will Pfleger Signed-off-by: Will Pfleger --- desktop/src-tauri/src/owner_identity_egress.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/desktop/src-tauri/src/owner_identity_egress.rs b/desktop/src-tauri/src/owner_identity_egress.rs index d41b2789a..104edcb6f 100644 --- a/desktop/src-tauri/src/owner_identity_egress.rs +++ b/desktop/src-tauri/src/owner_identity_egress.rs @@ -51,11 +51,13 @@ //! //! # Closed-world egress construction sites (C1c condition 3) //! -//! The `EgressLease` witness is only ever minted at these eight sites — the -//! complete owner/managed-agent egress sink set. The `relay_admission` -//! module doc and the C8 closed-world sink test enumerate exactly this set; a +//! The `EgressLease` witness is minted only at the enumerated sites below. A //! new send that skips admission fails to compile (no witness) and fails the -//! sink-test enumeration. +//! C8 closed-world sink-test enumeration. The `relay_admission` module doc and +//! that sink test enumerate exactly this set. Two disjoint construction sets +//! exist: the owner-identity sites (`try_admit_owner_identity_egress`) and the +//! **eight** managed-agent keyed sites (`admit_managed_agent_egress`) — the +//! ruled `ManagedAgentKeyed` construction set. //! //! Owner-identity (`try_admit_owner_identity_egress`): //! - `submit_event` / `query_relay_at` / `build_nip98_auth_header` — the @@ -74,7 +76,10 @@ //! 1. `submit_engram_event` (snapshot import). //! 2. `sync_managed_agent_profile`. //! 3. the agent query probe (`runtime_commands`). -//! 4. `commands::messages` reaction publish. +//! 4. `commands::messages::send_managed_agent_channel_message` — the +//! managed-agent channel message send (`add_reaction`/`remove_reaction` +//! publish through the self-admitting owner wrappers and are NOT +//! `ManagedAgentKeyed` sites). //! 5. the four `project_git_workflow` PR-status/merge sends (items 5–8). use std::sync::atomic::{AtomicU64, Ordering};