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

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 as duplicate during backlog burn-down. Canonical issue: #601.

Reason: identical title/workstream. Keeping one thread prevents duplicate agent labor and review waste.

Closing as duplicate during backlog burn-down. Canonical issue: #601. Reason: identical title/workstream. Keeping one thread prevents duplicate agent labor and review waste.
Timmy closed this issue 2026-03-28 04:46:29 +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#602