Keep VoidBot MCP alive across deployments

This commit is contained in:
Meta Vens 2026-07-19 15:00:46 +01:00
commit 03edb8fffc
9 changed files with 120 additions and 12 deletions

View file

@ -456,3 +456,4 @@
{"ts":"2026-07-16T05:10:08Z","type":"architecture","status":"ok","note":"Completion audit removed the final scheduler type loophole: system_agent and void_moderation are no longer valid participant/turn kinds, so legacy state cannot deserialize a built-in Void CTB writer. Physiology cadence is now a typed VOID_PHYSIOLOGY_INTERVAL_MINUTES config owned by the resident daemon rather than a raw legacy mood environment name."}
{"ts":"2026-07-16T05:14:05Z","type":"verification","status":"ok","note":"Final daemon-organ audit at deployed 9deebb3: Idunn promotion succeeded; Ygg reports one resident scheduler Node process, 22 repo/native Personas only, one repo_face_rumination turn kind, zero pending attention, five-minute typed physiology cadence, disabled moderation/rumination inference, enabled transport-only candidate delivery, paused zero-selection pulses, and accepted RUDP health. Local/upstream HEAD match and all five obsolete Starfire task husks are absent."}
{"ts":"2026-07-16T16:01:14Z","type":"repair","status":"ok","note":"Agent Discord archive access failed because Codex launched a Starfire-local MCP process whose QDRANT_URL was loopback after the archive moved to Yggdrasil. Repo and global Codex MCP config now execute the stdio MCP server inside Ygg's worker container over SSH; Qdrant remains private. A real MCP client advertised 20 tools and search_history returned two archive hits."}
{"ts":"2026-07-19T14:58:00Z","type":"repair","status":"ok","note":"A raw SSH docker-exec MCP stream made every open agent task inherit the lifetime of Yggdrasil's replaceable worker container; an Idunn promotion therefore left tasks at Transport closed even after the new worker was healthy. Codex now attaches to a stable local stdio relay which opens one fresh remote MCP session per request. A real relay smoke advertised 20 tools, listed 52 indexed repositories, and returned a VoidBot source hit; direct history and source retrieval against Ygg also passed."}

View file

@ -225,7 +225,7 @@ accepted_design:
- Eve v2 live state has one owner path. CultLib dev supplies typed live-publication handles, authenticated retained provider sessions, reconnect evidence, and application receipts (`ebd8c78c`, `d4934233`, `8965f3c0`). Eve resolves component `stateBindings` and owns subscription teardown/rebind without receipt DOM writes (`85b0139`, `522df00`). Hermodr ingests provider sessions and emits ordered snapshot/update/stale/reconnected events without polling (`5cb819e`, `561e320`). VoidBot publishes accepted heat as typed control state and binds both visible heat components to it (`060da23`, `3d86b93`). Live-fire proved initial, provider-driven, and browser-command updates converge through that one path.
- `voidbot.swarm_operator_view.v1` is the live authority for swarm summary, queue, selected Face detail/channels, operations, pressure, pending mentions, recent events, and route state. Eve binds those values as text/list props; the composition renderer no longer computes those browser-visible facts from its generation snapshot. The static HTML artifact may still lower a snapshot for debugging, but it cannot own live browser state.
- The production Eve browser nerve is Starfire Chrome -> `http://10.77.0.1:8798` -> Hermodr on Yggdrasil -> Odin discovery and provider-owned VoidBot RUDP on Yggdrasil. Hermodr's browser listener is WireGuard-only, its authenticated retained-publication ingress is host-loopback `127.0.0.1:17874`, and VoidBot remains the state/command owner at `127.0.0.1:17873`. Starfire owns no Hermodr, Odin, or VoidBot deployment body.
- Codex agent access to VoidBot archives executes the stdio MCP body inside Yggdrasil's worker container over SSH. Qdrant remains Yggdrasil-loopback-private. A Starfire-local MCP body pointed at `127.0.0.1:6333` advertises tools but returns `fetch failed` and is forbidden as an archive access path; `scripts/smoke-voidbot-remote-mcp.mjs` proves tool advertisement and a real history query.
- Codex agent access to VoidBot archives and indexed sources crosses a stable Starfire-local stdio relay. The relay opens a fresh SSH session to the MCP body inside Yggdrasil's worker container for each tool request, so an Idunn container replacement cannot permanently close the agent-facing transport. Qdrant remains Yggdrasil-loopback-private. A Starfire-local VoidBot MCP body pointed at `127.0.0.1:6333` is forbidden; `scripts/smoke-voidbot-remote-mcp.mjs` proves the direct upstream body and `scripts/smoke-voidbot-remote-mcp-relay.mjs` proves the durable agent path through real history and source retrieval.
- Long-running work should expose durable logs or status files instead of relying on one attached session and hope.
- Persistent project memory must stay ruthlessly distilled; git history and artifacts carry routine proof.