From c952f4b1b4118a0d5c9ec5904a8a86a7ea7cfb9c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 31 May 2026 02:45:39 +0100 Subject: [PATCH] Render VoidBot dashboard avatars on Eve --- docs/eve-dashboard.md | 14 +++++++------- notes/current-system-map.md | 5 +++-- src/Mimir.EveDashboard/Program.cs | 5 +++++ state/evidence.jsonl | 1 + state/map.yaml | 5 +++-- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/docs/eve-dashboard.md b/docs/eve-dashboard.md index bba97b8..6b3cb40 100644 --- a/docs/eve-dashboard.md +++ b/docs/eve-dashboard.md @@ -76,10 +76,10 @@ dotnet run --project .\src\Mimir.EveDashboard\Mimir.EveDashboard.csproj -- ` - `eve.dashboard.broker`: the switchboard rendered as provider cards. - `mimir.stream.layout`: the existing Mimir source-layout fixture provider. - `voidbot.swarm`: the native VoidBot tab. It reads the existing - `swarm-state.json` projection from VoidBot, renders the CTB rail as upcoming - turn cards, renders agent status cards, and expands the selected Face's state - leaves/detail. It is read-only in this cut; scheduler mutations still belong - to VoidBot's heartbeat controls. + `swarm-state.json` projection from VoidBot, publishes avatar image URLs on + identity nodes, and lets Eve render the CTB rail, selected Face status panel, + state tree, and detail pane as native UIKit. It is read-only in this cut; + scheduler mutations still belong to VoidBot's heartbeat controls. - `yggdrasil.streampixels.edge`: the first Yggdrasil/StreamPixels service dashboard placeholder for the TCP/SSH-routed live edge. @@ -114,6 +114,6 @@ The broker smoke on 2026-05-31 verified: - WebSocket `/eve/deck` sends the switchboard snapshot. - `open-provider` switches to `mimir.stream.layout` and broadcasts that provider state. -- `open-provider` switches to `voidbot.swarm`, which emits VoidBot's paused - swarm status, CTB rail, agent cards, and selected Face state detail from the - existing VoidBot swarm snapshot. +- `open-provider` switches to `voidbot.swarm`, which emits VoidBot's swarm + status, CTB rail with avatar URLs, agent cards, and selected Face state + detail from the existing VoidBot swarm snapshot. diff --git a/notes/current-system-map.md b/notes/current-system-map.md index e4e6d66..11a512d 100644 --- a/notes/current-system-map.md +++ b/notes/current-system-map.md @@ -428,8 +428,9 @@ descriptors for LAN or SSH-forwarded TCP surfaces. EveCanvas renders the dashboard locally in UIKit, including the scene graph and multitouch pan/pinch/rotate source panels, and now treats provider-card taps as `open-provider` commands. `voidbot.swarm` reads VoidBot's existing -`.voidbot/status/swarm-state.json` projection, rendering the CTB rail as -upcoming turn cards plus agent status cards and selected Face state detail. +`.voidbot/status/swarm-state.json` projection, publishes avatar URLs on +identity nodes, and Eve renders a native VoidBot-style cockpit: CTB rail, +selected Face/status pane, state tree, and detail panel. Dashboard manifests and states have typed CultMesh-compatible document shapes `mimir.eve_dashboard_manifest.v1` and `mimir.eve_dashboard_state.v1`, while the live iPad lane remains WebSocket/TCP because it is the proven tunnelable diff --git a/src/Mimir.EveDashboard/Program.cs b/src/Mimir.EveDashboard/Program.cs index 1bc2ca9..eaddde0 100644 --- a/src/Mimir.EveDashboard/Program.cs +++ b/src/Mimir.EveDashboard/Program.cs @@ -812,6 +812,7 @@ internal sealed class VoidBotSwarmProvider : IDashboardProvider active ? "active" : mentionCount > 0 ? "mention" : Minutes(NumberValue(turn, "nextTurnInMinutes"))) { IdentityId = identityId, + AvatarUrl = StringValue(turn, "avatarUrl"), Detail = $"speed {NumberValue(turn, "effectiveSpeed") ?? 0:0.###} heat {NumberValue(turn, "heat") ?? 0:0.###}", }); } @@ -843,6 +844,7 @@ internal sealed class VoidBotSwarmProvider : IDashboardProvider selected ? "selected" : active ? "active" : Minutes(NumberValue(agent, "nextTurnInMinutes"))) { IdentityId = identityId, + AvatarUrl = StringValue(agent, "avatarUrl"), Detail = $"load {NumberValue(agent, "currentLoad") ?? 0:0.##} heat {NumberValue(agent, "heat") ?? 0:0.##}", }); } @@ -870,6 +872,7 @@ internal sealed class VoidBotSwarmProvider : IDashboardProvider BoolValue(faceState, "readable") == true ? "readable" : "unreadable") { IdentityId = identityId, + AvatarUrl = StringValue(agent, "avatarUrl"), Detail = $"memory {NumberValue(counts, "memory") ?? 0:0} pressures {NumberValue(counts, "pressures") ?? 0:0} constraints {NumberValue(agent, "constraintCount") ?? 0:0}\n{Truncate(description, 150)}", }); @@ -1191,6 +1194,8 @@ internal sealed class DashboardNode( public string? IdentityId { get; set; } + public string? AvatarUrl { get; set; } + public string? StatePath { get; set; } public string? Detail { get; set; } diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 7958442..0b68de9 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -256,3 +256,4 @@ {"ts": "2026-05-31T02:12:01+01:00", "type": "decision", "status": "ok", "note": "LED exposure/gain sweeps must optimize recovered spline quality, not raw brightness/contrast. MimirLedSplineQualityScorer now scores detected LED count, curve coverage, spacing coherence, smoothness, exposure fitness, and saturation penalty; overexposed halos can see every LED and still lose because centroid/curve quality is bad."} {"ts": "2026-05-31T02:16:04+01:00", "type": "implementation", "status": "ok", "note": "Added MimirLedSplineFrameAnalyzer as the frame-level bridge for physical camera sweeps: it extracts bright luma components, solves a per-sensor LED curve, and feeds MimirLedSplineQualityScorer so saturated blobs can be detected but rejected as poor calibration evidence."} {"ts": "2026-05-31T03:05:00+01:00", "type": "verification", "status": "ok", "note": "Live LED spline sweep now runs on actual direct sensor feeds. `dotnet run --project src/Mimir.BufferSmoke/Mimir.BufferSmoke.csproj -- --led-spline-live-score --setting-seconds 0.25 --settle-ms 100 --expected-leds 38 --minimum-luma 0.55` selected exposure -9/gain 8 for `kiyo-pro-rgb` (score 0.666, 41 detections, usable) and `kiyo-basic-rgb` (score 0.650, 38 detections, usable). LeapUVC rejected generic KS exposure/gain writes and only recovered two LED components; both PS3 Eye feeds scored 0 at current fixed controls because their native wrapper does not yet expose gain/exposure."} +{"ts": "2026-05-31T02:45:05+01:00", "type": "verification", "status": "ok", "note": "Eve dashboard now renders voidbot.swarm as a native VoidBot-style cockpit with CTB avatar URLs, selected Face/status pane, state tree, and detail panel; device build/install passed and broker smoke reported 8 CTB avatar URLs."} diff --git a/state/map.yaml b/state/map.yaml index 26dbccf..150000a 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -337,8 +337,9 @@ accepted_design: surfaces. EveCanvas renders the scene graph and source panels natively in UIKit with multitouch transform editing, and provider-card taps send `open-provider`. `voidbot.swarm` reads VoidBot's existing - `.voidbot/status/swarm-state.json` projection, rendering the CTB rail as - upcoming turn cards plus agent status cards and selected Face state detail. + `.voidbot/status/swarm-state.json` projection, publishes avatar URLs on + identity nodes, and Eve renders a native VoidBot-style cockpit: CTB rail, + selected Face/status pane, state tree, and detail panel. Dashboard manifests and states now have typed CultMesh-compatible document shapes `mimir.eve_dashboard_manifest.v1` and `mimir.eve_dashboard_state.v1`, while the live iPad lane stays