From f7843d727d60e7d971797c9116fdbecc1f899984 Mon Sep 17 00:00:00 2001 From: atlas Date: Sun, 20 Sep 2026 01:44:48 +0200 Subject: [PATCH] hive-c0re: fix stale GetLooseEnds example in dispatch_shared doc comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The parenthetical claimed the manager can target other agents via GetLooseEnds — true before 65481273, false since. It was the only socket-specific example that comment ever had, so rewrite the sentence to name what dispatch_shared actually defers: ListDescendants and the orchestration verbs, which need per-verb tool-group gating, plus host-admin/unknown requests. --- hive-c0re/src/socket_server/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hive-c0re/src/socket_server/mod.rs b/hive-c0re/src/socket_server/mod.rs index c939590d..5084cd30 100644 --- a/hive-c0re/src/socket_server/mod.rs +++ b/hive-c0re/src/socket_server/mod.rs @@ -180,9 +180,10 @@ pub(crate) fn recv_timeout(wait_seconds: Option) -> std::time::Duration { /// Handle the subset of `Request` variants that are identical on both /// the agent socket and the manager socket. Returns `Some(response)` for -/// every variant it handles; returns `None` for variants with socket-specific -/// semantics (e.g. `GetLooseEnds`, where the manager can target other -/// agents) or for manager-only variants. +/// every variant it handles; returns `None` for the remaining variants — +/// `ListDescendants` and the orchestration verbs (schedules / meta-inputs), +/// which need per-verb tool-group gating — or for host-admin / unknown +/// requests invalid on either socket. /// /// The unified `dispatch` calls this first; the remaining arms (which gate /// on topology / capabilities / tool-groups) are handled there.