Watch
0
0
Fork
You've already forked hyperhive
0

say per-agent socket where the manager socket is gone

the manager socket no longer exists; ruth's socket is the per-agent one. Fixes the wire-type crate docs, hive-sh4re manager.rs header and README, and two other mentions.
This commit is contained in:
atlas 2026-10-16 20:20:51 +02:00 • committed by mara
commit 0fc77df1a9
6 changed files with 10 additions and 14 deletions

View file

@ -1,7 +1,7 @@
//! Per-agent + manager socket wire types (`/run/hive/mcp.sock`).
//! Per-agent socket wire types (`/run/hive/mcp.sock`).
//!
//! The unified `Request` / `Response` protocol spoken between an agent's
//! in-container harness (and the manager) and the `hive-c0re` daemon over the
//! in-container harness and the `hive-c0re` daemon over the
//! per-agent mcp socket. Re-homed out of `hive-sh4re` so this one socket owns
//! its own protocol crate, mirroring `hive-host-sock` / `hive-priv-sock`. The
//! shared payload types it references (`Message`, `LooseEnd`, …)
@ -17,7 +17,7 @@ fn default_true() -> bool {
true
}
/// Unified request enum for both agent and manager sockets. The agent's
/// Unified request enum for the per-agent socket. The agent's
/// identity is the socket it arrived on.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(tag = "cmd", rename_all = "snake_case")]
@ -59,9 +59,7 @@ pub enum Request {
/// Non-mutating — pulls from the broker without delivering. The
/// per-agent web UI uses this to render its own inbox section.
Recent { limit: u64 },
/// Loose-ends view — always the caller's own. Same shape on the agent
/// and manager sockets; the manager (`ruth`) is a normal agent here, it
/// just sees its own threads like anyone else. See
/// Loose-ends view — always the caller's own. See
/// `docs/process/conventions.md::Loose-ends wire shape`.
GetLooseEnds,
/// Set a free-text status string visible on the dashboard. The harness
@ -106,7 +104,7 @@ pub enum Request {
PauseAcknowledged,
}
/// Unified response enum for both agent and manager sockets.
/// Unified response enum for the per-agent socket.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(tag = "kind", rename_all = "snake_case")]
pub enum Response {