Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-subagent-mcp/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 2f00f9041f agent permissions: drop hive-c0re's swarm-agent-permissions.json fallback, fail closed before the first read
Removes the HiveCopy hand-off: hive-c0re no longer writes each agent's
entry from swarm-agent-permissions.json into its runtime dir as
swarm-permissions.json, and the harness and subagent daemon no longer
read it. hive-c0re keeps the file as its own last read of the swarm for
the manage_root_agent mounts. Also removes permissions_import::pending(),
its only caller being the hand-off. No nix provisioned the copy, so no
nix option is removed and no tombstone is needed.

Rule after this change: until an agent's first successful read of its
key it holds no permissions (no execution, so no bash), and a subagent it
starts holds the same. After a read a set key wins, [] holds none and an
unset key is the default. A failed read keeps the last value, so an
unreachable queue at start keeps the agent closed until a read succeeds.
The harness logs once at warn that it starts closed.

Fixes #5315
2026-10-25 02:17:32 +02:00
..
lib.rs hive-subagent-mcp: check subagent models against the swarm's subagent_models 2026-10-10 13:58:47 +02:00
main.rs subagent: keep runs at +1000 when their cgroup is unavailable 2026-10-13 12:25:27 +02:00
mcp.rs rename claude.md to agents.md for agents and the repo 2026-10-18 02:33:06 +02:00
mcp_config.rs hive-c0re: render the new agent option paths into generated agent flakes 2026-09-17 20:19:30 +02:00
paths.rs rename claude.md to agents.md for agents and the repo 2026-10-18 02:33:06 +02:00
role.rs hive-subagent-mcp: name a role at dispatch, load it as the system prompt 2026-09-21 17:21:40 +02:00
session.rs move Permission into hive-types, drop swarm-controller's hive-sh4re dep 2026-10-18 21:40:01 +02:00
swarm_models.rs agent permissions: drop hive-c0re's swarm-agent-permissions.json fallback, fail closed before the first read 2026-10-25 02:17:32 +02:00
swarm_term.rs agent_permissions, agent_term and subagent_term take their wire contracts from swarm-wire 2026-10-19 18:30:44 +02:00