Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-core-agent-sock/README.md
atlas 0fc77df1a9 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.
2026-10-16 21:42:26 +02:00

21 lines
940 B
Markdown

# hive-core-agent-sock
Wire types for the **per-agent socket** (`/run/hive/mcp.sock`) — the
unified `Request` / `Response` protocol spoken between an agent's in-container
harness and the `hive-c0re` daemon.
## Why it's its own crate
Re-homed out of `hive-sh4re` so this one socket owns its protocol crate,
mirroring the `hive-host-sock` / `hive-priv-sock` splits. The shared payload
types it references (`Message`, `LooseEnd`, …) stay in `hive-sh4re`,
which this crate depends on — this crate is just the request/response envelope
for this socket.
## Not to be confused with `hive-agent-sock`
This is the **host-served** protocol: the harness talks _out_ to `hive-c0re`
over `/run/hive/mcp.sock` (broker sends, lifecycle).
`hive-agent-sock` is the separate _in-container_ socket the harness serves to
its own local producers — that one never leaves the container. See
`docs/trust-boundary/boundary.md` for the socket topology.