fix(#1397): point send-refused message at <parent> sentinel not stale manager name

This commit is contained in:
damocles 2026-06-05 18:36:42 +02:00
commit b33b3f315c

View file

@ -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
))
}