refactor: remove hyperhive.role option — there is only one role: agent

This commit is contained in:
damocles 2026-06-04 12:40:24 +02:00 committed by mara
commit 41eb3f806c
23 changed files with 105 additions and 229 deletions

View file

@ -28,10 +28,8 @@ tracing-subscriber.workspace = true
tempfile = "3"
[[bin]]
# Unified harness binary: both `agent` and `manager` code paths live
# here; the binary picks its role at startup from `HIVE_ROLE` (set by
# `harness-base.nix` from `hyperhive.role`). The privilege boundary is
# enforced server-side at the socket, so shipping both surfaces in one
# binary is safe. See `docs/turn-loop.md::Harness binary shape`.
# Unified harness binary for all agents. Privilege boundary is
# enforced server-side at the socket (tool groups / manager surface).
# See `docs/turn-loop.md::Harness binary shape`.
name = "hive"
path = "src/bin/hive.rs"