Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-queue-client/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
..
agent_archetype.rs swarmctl shares the create-agent, inference and permissions shapes with the controller 2026-10-19 18:58:00 +02:00
agent_icon.rs swarm-wire: take agent_icon's wire types 2026-10-18 22:50:02 +02:00
agent_inference.rs move the review classifier, agent login and inference types into swarm-wire 2026-10-18 19:27:30 +02:00
agent_limits.rs swarm-wire: take agent_limits's wire types 2026-10-18 22:50:02 +02:00
agent_permissions.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
agent_schedules.rs swarm-wire: take agent_schedules's wire types 2026-10-18 22:50:02 +02:00
agent_status.rs swarm-wire: take agent_status's wire types 2026-10-18 22:50:02 +02:00
agent_term.rs agent_permissions, agent_term and subagent_term take their wire contracts from swarm-wire 2026-10-19 18:30:44 +02:00
agents_md.rs read an agent's agents.md through the swarm and edit it with git diffs 2026-10-18 12:35:11 +02:00
agents_md_initial.rs set an agent's initial agents.md at create 2026-10-18 15:54:14 +02:00
archetypes.rs swarm-wire: take notices's wire types, fmt the moved imports 2026-10-18 22:50:02 +02:00
forge_events.rs agents get a todo when assigned to an issue or PR, rewritten when unassigned and cleared on close 2026-10-22 07:28:53 +02:00
kv.rs hive-c0re/swarm-*: drop clippy allows and dedupe unix_now + KV open_or_create 2026-10-09 10:25:48 +02:00
lib.rs agents get a todo when assigned to an issue or PR, rewritten when unassigned and cleared on close 2026-10-22 07:28:53 +02:00
notices.rs swarm-wire: take notices's wire types, fmt the moved imports 2026-10-18 22:50:02 +02:00
operator_profiles.rs keep the operator list under one key and read it with one direct get 2026-10-17 13:10:05 +02:00
router_todo.rs agents get a todo when assigned to an issue or PR, rewritten when unassigned and cleared on close 2026-10-22 07:28:53 +02:00
status.rs hive-c0re/swarm-*: drop clippy allows and dedupe unix_now + KV open_or_create 2026-10-09 10:25:48 +02:00
subagent_term.rs agent_permissions, agent_term and subagent_term take their wire contracts from swarm-wire 2026-10-19 18:30:44 +02:00
test_nats.rs agents get a todo when assigned to an issue or PR, rewritten when unassigned and cleared on close 2026-10-22 07:28:53 +02:00
wanted.rs swarm-wire: take wanted's wire types 2026-10-18 22:50:02 +02:00