From 91403abe9f9570f0e93eeb351f94dd386bbc8231 Mon Sep 17 00:00:00 2001 From: Ramis Date: Sun, 28 Jun 2026 08:16:15 -0700 Subject: [PATCH] docs: simplify infra diagram to value-focused paths Combine Caddy+API and Hermes+detector into single nodes, collapse the LiveKit room internals, and relabel every edge with the value it carries (pre-commit signal, nudge before clash, learn from outcomes) instead of listing every transport hop. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01LuV8W8oNYRsDWKoqK8Mkqc --- README.md | 47 +++++++++++++++-------------------------------- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index e364fd0..06c00b1 100644 --- a/README.md +++ b/README.md @@ -107,41 +107,24 @@ flowchart LR Dev["Engineer browser
React PWA + screen share"] subgraph DO["DigitalOcean droplet — systemd-supervised"] - Caddy["Caddy
serves static frontend · proxies /api"] - API["API service
/api/token · /api/pods · /api/outcome"] - Agent["Vision agent worker
@livekit/rtc-node"] - Detector["Coordination detector
collisions + blockers"] - Hermes["Hermes action layer
cards · messages · urgent voice"] - PyAgent["Live conversation agent
LiveKit Agents (Python)"] + WebApi["Caddy + API service
static app · /api · LiveKit tokens"] + Agent["Vision agent worker"] + Coord["Hermes coordinator
detects clashes · intervenes"] + PyAgent["Live conversation agent
(Python)"] end - subgraph LK["LiveKit room — managed cloud"] - Tracks["Screen-share video tracks"] - DataCh["Data topic
podman.intervention"] - AudioCh["Audio tracks
TTS + Lyria music"] - end + LK["LiveKit room
managed cloud"] + Mongo[("MongoDB Atlas
team memory")] - Mongo[("MongoDB Atlas
observations · collisions
interventions · outcomes · vectors")] - - Dev -->|static assets| Caddy - Dev -->|"POST /api/*"| Caddy --> API - API -->|LiveKit JWT| Dev - Dev -->|publish screen| Tracks - - Agent -->|subscribe frames| Tracks - Agent --> Detector --> Hermes - Hermes -->|cards / messages| DataCh - Hermes -->|urgent voice| AudioCh - PyAgent <-->|join room · speak| AudioCh - DataCh --> Dev - AudioCh --> Dev - Dev -->|"POST /api/outcome"| Caddy - - API <--> Mongo - Agent -->|write observations| Mongo - Detector -->|read recall · write collisions| Mongo - Hermes -->|write interventions| Mongo - PyAgent -->|tool reads| Mongo + Dev -->|"open app · get token"| WebApi + Dev <-->|"live screens + voice"| LK + LK -->|"pre-commit work signal"| Agent --> Coord + Coord -->|"nudge before duplicate work / clash"| LK + LK -->|"cards + spoken alerts"| Dev + PyAgent <-->|"answer questions by voice"| LK + Coord -->|"learn from every outcome"| Mongo + PyAgent -->|"recall team context"| Mongo + WebApi <-->|"pods + outcomes"| Mongo ``` > Mongo connectivity is **required at boot** — the API and both agents ping Atlas