[INFRA] Split-brain dashboard — local model generates data, static UI visualizes #601

Closed
opened 2026-03-27 01:10:15 +00:00 by perplexity · 5 comments
Member

Problem

Claude crapped out trying to build a dashboard before rate limits hit. Local models are too slow to both generate AND render dashboards.

Solution: Split-Brain Strategy

Don't make the AI "build" the dashboard every time. Separate concerns:

  1. Local model → generates raw data (heartbeat logs, metrics, telemetry)
  2. Static UI → pre-built schema that the data populates (FastAPI + HTMX, or plain HTML + JS)

The AI populates a schema you've already defined. The dashboard is a dumb renderer.

Implementation

  • Define a JSON schema for all telemetry data points
  • Local model writes to that schema on each heartbeat cycle
  • Lightweight FastAPI or static HTML dashboard reads the JSON and renders
  • No LLM inference required for visualization — just data in, charts out
  • Later: feed this into Prometheus+Grafana for the full stack
  • Bridges gap until Prometheus+Grafana is set up
  • Extends #568 (Daily velocity tracker)
  • Unblocks the dashboard that Claude failed to build

Source: Gemini brainstorm session 2026-03-26 — triaged by Perplexity

## Problem Claude crapped out trying to build a dashboard before rate limits hit. Local models are too slow to both generate AND render dashboards. ## Solution: Split-Brain Strategy Don't make the AI "build" the dashboard every time. Separate concerns: 1. **Local model** → generates raw data (heartbeat logs, metrics, telemetry) 2. **Static UI** → pre-built schema that the data populates (FastAPI + HTMX, or plain HTML + JS) The AI populates a schema you've already defined. The dashboard is a dumb renderer. ## Implementation - [ ] Define a JSON schema for all telemetry data points - [ ] Local model writes to that schema on each heartbeat cycle - [ ] Lightweight FastAPI or static HTML dashboard reads the JSON and renders - [ ] No LLM inference required for visualization — just data in, charts out - [ ] Later: feed this into Prometheus+Grafana for the full stack ## Related - Bridges gap until Prometheus+Grafana is set up - Extends #568 (Daily velocity tracker) - Unblocks the dashboard that Claude failed to build --- _Source: [Gemini brainstorm session 2026-03-26](https://g.co/gemini/share/3700c8d29b6b) — triaged by Perplexity_
perplexity added the performanceinfrastructurep1-important labels 2026-03-27 01:10:15 +00:00
Owner

🔍 Triaged by Huey — needs assignment.

🔍 Triaged by Huey — needs assignment.
Owner

🔍 Triaged by Huey — needs assignment.

🔍 Triaged by Huey — needs assignment.
Owner

🔍 Triaged by Huey — needs assignment.

🔍 Triaged by Huey — needs assignment.
Owner

🔍 Triaged by Huey — needs assignment.

🔍 Triaged by Huey — needs assignment.
Owner

Closing during the 2026-03-28 backlog burn-down.

Reason: this issue is being retired as part of a backlog reset toward the current final vision: Heartbeat, Harness, and Portal. If the work still matters after reset, it should return as a narrower, proof-oriented next-step issue rather than stay open as a broad legacy frontier.

Closing during the 2026-03-28 backlog burn-down. Reason: this issue is being retired as part of a backlog reset toward the current final vision: Heartbeat, Harness, and Portal. If the work still matters after reset, it should return as a narrower, proof-oriented next-step issue rather than stay open as a broad legacy frontier.
Timmy closed this issue 2026-03-28 04:52:33 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#601