From ac58823eb30f5eab3f4726d20847458ea78f80d7 Mon Sep 17 00:00:00 2001 From: iris Date: Sat, 15 Aug 2026 12:26:39 +0200 Subject: [PATCH] docs(turn-loop): fix stale AgentRequest/ManagerRequest wire-type names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Verified against hive-agent/src/main.rs and hive-core-agent-sock/src/lib.rs: there is no AgentRequest/AgentResponse or ManagerRequest/ManagerResponse alias anywhere in the tree — hive-agent uses hive_core_agent_sock's unified Request/Response enum directly. --- docs/turn-loop/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/turn-loop/README.md b/docs/turn-loop/README.md index 71baa55c..c952841c 100644 --- a/docs/turn-loop/README.md +++ b/docs/turn-loop/README.md @@ -67,8 +67,8 @@ agents) runs: Two sibling crates, both role-agnostic (there is one role: agent — the privilege boundary lives server-side at the broker socket -(`/run/hive/mcp.sock`), which refuses `ManagerRequest` calls regardless -of who sends them): +(`/run/hive/mcp.sock`), which refuses privileged `Request` variants +regardless of who sends them): - `hive-agent` — long-running harness loop (the inbox poll + claude-pump + ack/requeue cycle described above). @@ -79,10 +79,11 @@ of who sends them): transport — no per-turn stdio child (eliminates the re-registration race). -`hive-agent`'s wire types (`AgentRequest` / `AgentResponse`, aliased as -`ManagerRequest` / `ManagerResponse`) and its turn loop are factored -through a small `Surface` trait with one zero-sized impl, so the loop -itself has no per-role branches. See `hive-agent/src/main.rs`'s module +`hive-agent`'s wire types (`hive_core_agent_sock::{Request, Response}` — +one unified enum shared by the agent and manager sockets) and its turn +loop are factored through a small `Surface` trait with one zero-sized +impl, so the loop itself has no per-role branches. See +`hive-agent/src/main.rs`'s module doc for the trait shape. ### Boot wiring