From 84b42f5751b6ca5a376144ad458e7285d39734c7 Mon Sep 17 00:00:00 2001 From: iris Date: Wed, 3 Jun 2026 09:57:35 +0200 Subject: [PATCH] docs(#1110): update README diagram; add animated SVG component diagram MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit README: fix stale ASCII diagram - hm1nd → h-ruth (manager container name, post-#1014 rename) - per-agent web UIs now route through hive-gateway unix sockets, not direct :8100-8999 TCP (HIVE_WEB_SOCKET is now unconditional) - split into 'optional containers' and 'agent containers' sections - add hive-gateway, hive-forge, hive-matrix rows New: branding/component-diagram.svg — extended animated diagram for website use (as suggested in the issue). Matches the existing hyperhive branding aesthetic (dark #0a0600 bg, amber #ffb300 accents, monospace, scanlines). Shows: - host machine frame with hive-c0re as central hub - optional containers: gateway, forge, matrix - agent containers: h-ruth, h-iris, h-damocles, h- - animated dots flowing along connection paths (broker messages, HTTP proxying, config pushes) - pulsing glow ring on hive-c0re - legend panel --- README.md | 15 +- branding/component-diagram.svg | 398 +++++++++++++++++++++++++++++++++ 2 files changed, 408 insertions(+), 5 deletions(-) create mode 100644 branding/component-diagram.svg diff --git a/README.md b/README.md index 0c2c5208..56c49373 100644 --- a/README.md +++ b/README.md @@ -21,16 +21,21 @@ the substrate. host (NixOS, runs hive-c0re.service) │ ├── operator -│ ├── browser → :7000 hive-c0re dashboard -│ ├── browser → :8100-8999 per-agent web UIs (all agents, FNV-1a hash) +│ ├── browser → :80 (hive-gateway) dashboard + per-agent UIs +│ │ /agent// → per-agent unix socket │ └── CLI → /run/hyperhive/host.sock admin protocol │ ├── hive-c0re (Rust daemon: lifecycle / broker / approvals / │ auto-update / dashboard / sockets) │ -└── nixos-containers - ├── hm1nd manager agent (privileged MCP surface) - └── h- sub-agent (vanilla MCP surface + per-agent extras) +├── optional containers +│ ├── hive-gateway nginx — proxies :80 → c0re dashboard + per-agent sockets +│ ├── hive-forge Forgejo — per-agent accounts, config mirror (agent-configs/) +│ └── hive-matrix tuwunel — Matrix homeserver + per-agent accounts +│ +└── agent containers + ├── h-ruth manager (privileged MCP surface, approval gating) + └── h- sub-agent (claude + MCP tools + per-agent web UI + unix socket) ``` Depth lives in [`docs/`](docs/) — pick the one matching your task: diff --git a/branding/component-diagram.svg b/branding/component-diagram.svg new file mode 100644 index 00000000..dda6b476 --- /dev/null +++ b/branding/component-diagram.svg @@ -0,0 +1,398 @@ + + hyperhive — component diagram + Architecture diagram: host machine running hive-c0re, optional service containers (gateway, forge, matrix), and agent containers (manager + sub-agents) communicating over unix sockets and a sqlite broker. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + HOST (NixOS) + + + + + OPERATOR + browser + + CLI + + + + + + + + hive-c0re + + lifecycle · broker · approvals + auto-update · dashboard + sockets · rebuild-queue + + :7000 · /run/hyperhive/host.sock + /run/hyperhive/agent-*.sock + + + + + + + + hive-gateway + + nginx container · :80 + /agent/<name>/ → unix sock + forge.<domain> vhost + + + + + + hive-forge + + Forgejo · :3000 + per-agent accounts + tokens + agent-configs/ mirror + + + + + + hive-matrix + + tuwunel Matrix server + per-agent accounts + federation enabled + + + + + + + + h-ruth + + manager agent + privileged MCP surface + approval gating + config proposals + unix sock + web UI + + + + + + h-iris + + sub-agent + claude + MCP tools + send/recv/ask + bash tasks + unix sock + web UI + + + + + + h-damocles + + sub-agent + claude + MCP tools + NixOS plumbing + harness ergonomics + unix sock + web UI + + + + + + h-<name> + + ··· + any number of agents + + + + + + + :80 + + + + :7000 + + + + + + + config mirror + + + + + + + manager sock + + + + + + + + + + + + sqlite broker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LEGEND + + + + + unix sockets (control) + + + + broker messages + + + + HTTP / web proxy + + + + config / git + + + + Matrix homeserver + + + + optional / many + + optional containers dashed + + + + + hyperhive — identity = unix socket · communication = broker · config = git + + +