hive-sh4re: ToolGroup::Execution grants nothing under mcp__hyperhive__, say so

fixes #4232
This commit is contained in:
damocles 2026-09-11 18:19:29 +02:00 committed by mara
commit 179461d444

View file

@ -65,8 +65,16 @@ impl ToolGroup {
],
Self::Diagnostics => &["get_logs"],
Self::Forge => &["create_repo"],
Self::Execution => &["run", "status"],
Self::WebTools => &[],
// Both empty, for different reasons — see each variant's own
// doc comment above. `Execution` grants the out-of-process
// `bash` MCP server (`mcp__bash__run`/`status`/`kill`), gated
// at config-render time by `extra_server_required_group` in
// `hive-agent/src/mcp_config.rs`, not by this list — an
// out-of-process server has no later enforcement point, so
// that gate is the actual security boundary. `WebTools`
// grants Claude built-in tools, not MCP ones; see
// `builtin_tools()`.
Self::Execution | Self::WebTools => &[],
}
}