From b33b3f315cd3e692aae5984a1e1061e8e4e7cd0a Mon Sep 17 00:00:00 2001 From: damocles Date: Fri, 5 Jun 2026 18:36:42 +0200 Subject: [PATCH] fix(#1397): point send-refused message at sentinel not stale manager name --- hive-ag3nt/src/mcp.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hive-ag3nt/src/mcp.rs b/hive-ag3nt/src/mcp.rs index 8290e6f1..018e9298 100644 --- a/hive-ag3nt/src/mcp.rs +++ b/hive-ag3nt/src/mcp.rs @@ -1960,9 +1960,10 @@ fn check_send_allowed(to: &str) -> Result<(), String> { } Err(format!( "send refused: recipient '{to}' not in hyperhive.allowedRecipients \ - (configured in agent.nix). Allowed: {allow:?}. The manager is \ - always reachable — route through `send(to: \"manager\", …)` if \ - you need to reach someone outside the allow-list." + (configured in agent.nix). Allowed: {allow:?}. Your structural \ + parent is always reachable — route through `send(to: \"{}\", …)` \ + if you need to reach someone outside the allow-list.", + hive_sh4re::PARENT_RECIPIENT )) }