hyperhive/hive-subagent-mcp/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 5ce0a357b4 subagent: grant claude's Bash when the agent holds the execution group
A subagent inherited the parent's built-in tool list, which correctly has
no `Bash` -- the agent reaches a shell through the `bash` MCP server, not
the built-in. Subagents get no such server, so the intersection was empty
and they could not run a command at all: no commits, no pushes, no gates.

Add `subagent_builtin_tools_for`/`_arg`, which reuse the shared resolver
and append `Bash` only when `Execution` -- the group that gates the `bash`
MCP server -- is present. Only the subagent spawn path calls them, so the
harness's own `--tools`/`--allowedTools` are unchanged.

The capability transfers; the mechanism does not.

Refs #4422
2026-09-15 18:48:51 +02:00
..
lib.rs subagent: give each run its own signal URL, and drop the name argument 2026-09-14 22:24:51 +02:00
main.rs subagent: give each run its own signal URL, and drop the name argument 2026-09-14 22:24:51 +02:00
mcp.rs subagent: give each run its own signal URL, and drop the name argument 2026-09-14 22:24:51 +02:00
mcp_config.rs subagent: give each run its own signal URL, and drop the name argument 2026-09-14 22:24:51 +02:00
paths.rs subagents: add availableToSubagents opt-in toggle for extraMcpServers 2026-09-13 13:57:53 +02:00
session.rs subagent: grant claude's Bash when the agent holds the execution group 2026-09-15 18:48:51 +02:00