hive-sh4re: ToolGroup::Execution grants nothing under mcp__hyperhive__, say so
fixes #4232
This commit is contained in:
parent
6d7565a30d
commit
179461d444
1 changed files with 10 additions and 2 deletions
|
|
@ -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 => &[],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue