diff --git a/README.md b/README.md index 1e56ccd..f6ca355 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,6 @@ The first executable is deliberately narrow: - exposes Yggdrasil service status when the local SSH alias can reach it. - publishes explicit `verse` and `service` nodes for compact Eve/CultUI lowerers. - publishes explicit `observation-stream` nodes for Periwinkle/EVE sensor, microphone, touch, and camera stream summaries when Mimir's CultMesh observation ledger is present. -- ingests the `voidbot.swarm` Eve/CultUI dashboard from Mimir's `/eve/deck` provider surface and embeds it as an Odin `interface` node. +- ingests the `mimir.live.stats` and `voidbot.swarm` Eve/CultUI dashboards from Mimir's `/eve/deck` provider surfaces and embeds them as Odin `interface` nodes. The next real cut is to replace static host probes with CultNet schema discovery and CultMesh Verse peer exchange. The probe layer is an input adapter. It must not become the architecture. diff --git a/docs/architecture.md b/docs/architecture.md index 03a179f..c989e59 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -59,7 +59,7 @@ The compact Nightwing TUI lowers these into dense cells and fills surplus screen ## Current Interface Surface -Odin currently ingests `voidbot.swarm` from the local Mimir Eve deck at `ws://127.0.0.1:8795/eve/deck`. That provider owns the VoidBot swarm composition: CTB rail, selected Face summary, state graph, and state detail. Odin embeds the provider's `surface.root` as an `interface` child with provenance, version, status, and source endpoint. +Odin currently ingests `mimir.live.stats` and `voidbot.swarm` from the local Mimir Eve deck at `ws://127.0.0.1:8795/eve/deck`. `mimir.live.stats` owns the compact Mimir telemetry composition: RMS bars, sync confidence, runtime buffer facts, actuator state, and device observation streams. `voidbot.swarm` owns the VoidBot swarm composition: CTB rail, selected Face summary, state graph, and state detail. Odin embeds each provider's `surface.root` as an `interface` child with provenance, version, status, and source endpoint. This is the model for future services: if a service publishes an operator interface, ingest the Eve/CultUI composition graph and lower it. Do not collapse it into a service-status tile unless the graph is unavailable and the tile is explicitly a temporary probe. diff --git a/src/odin-coordinator.cjs b/src/odin-coordinator.cjs index da85106..9c0ee54 100644 --- a/src/odin-coordinator.cjs +++ b/src/odin-coordinator.cjs @@ -205,7 +205,7 @@ function sendFrame(socket, opcode, payload) { async function buildState() { version += 1; const observedAt = new Date().toISOString(); - const [docker, adb, hosts, yggdrasilServices, nightwingServices, nightwingGpu, voidBotDashboard, observations] = await Promise.all([ + const [docker, adb, hosts, yggdrasilServices, nightwingServices, nightwingGpu, voidBotDashboard, mimirLiveStats, observations] = await Promise.all([ dockerSnapshot(), adbSnapshot(), hostChecks(), @@ -213,6 +213,7 @@ async function buildState() { remoteServices("nightwing", ["ssh", "nightwing-eve-dashboard", "nightwing-eve-browser-reference", "gamecult-visible-ops", "docker"]), remoteGpu("nightwing"), fetchEveProvider(eveDeckUrl, "voidbot.swarm"), + fetchEveProvider(eveDeckUrl, "mimir.live.stats"), observationSnapshot(observationLogPath, observationFreshSeconds), ]); @@ -223,6 +224,7 @@ async function buildState() { service("adb", "Periwinkle ADB", adb.devices.length ? "active" : "waiting", adb.devices.map((device) => `${device.serial}:${device.state}`).join(", ") || adb.error || "no devices"), service("cultcache", "Odin CultCache", fs.existsSync(cachePath) ? "active" : "waiting", path.basename(cachePath)), service("voidbot-swarm", "VoidBot Swarm", voidBotDashboard.state, voidBotDashboard.detail), + service("mimir-live-stats", "Mimir Live Stats", mimirLiveStats.state, mimirLiveStats.detail), service("mimir-observation-ledger", "Mimir Observation Ledger", observations.state, observations.detail), ...docker.containers.map((container) => service(`docker-${container.name}`, container.name, "active", container.image)), ]), @@ -267,7 +269,7 @@ async function buildState() { health: entry.status, detail: entry.capabilities.join(", "), })), - surface: buildSurface({ observedAt, docker, adb, hosts, yggdrasilServices, verses, interfaces: [voidBotDashboard], observations }), + surface: buildSurface({ observedAt, docker, adb, hosts, yggdrasilServices, verses, interfaces: [mimirLiveStats, voidBotDashboard], observations }), }; }