docs: document the independent subagent daemon (start/continue/interrupt)

This commit is contained in:
damocles 2026-09-09 18:15:35 +02:00
commit e64639c4d0
6 changed files with 165 additions and 14 deletions

View file

@ -98,6 +98,14 @@ hand-maintained per-file tree drifts out of sync with the code.
directly over streamable-http (no stdio bridge), writes task files
under `/harness/bash-tasks/`, and records the favorite-tools
`bash_commands` stat into turn-stats.sqlite.
- **`hive-subagent-mcp/`** — per-agent claude-subagent runner daemon
(`hive-subagent-daemon`); spawns nested claude sessions on request and
serves `start`/`continue`/`interrupt` directly over streamable-http (no
stdio bridge). Independent of `hive-bash-mcp` (a subagent is a much
heavier capability than a bash command). No task files — the daemon's
only state is an in-memory map of currently-running processes, live
only as long as the process is; the actual claude session survives a
daemon restart independently (see `session.rs`'s module doc).
- **`hive-sh4re/`** — shared wire types (Agent / Manager request +
response, `Message`, `Approval`, `HelperEvent`) used across the unix
sockets. Host-admin-socket and hive-priv-socket wire types have been