Update CLAUDE.md and plan.md to document the web layer

CLAUDE.md previously described only the TUI; it now covers the web
server (internal/web), React frontend, ingestion CLI, and the vitest/
playwright test commands. plan.md Phase 3 framing updated and the
championship hub recorded.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 00:15:01 -04:00
parent 282b5a8c24
commit 7a5e0a323d
2 changed files with 79 additions and 11 deletions

View File

@@ -28,12 +28,13 @@ New views that reconstruct the race narrative and make box-box indispensable dur
## Phase 3 — "Engineering Room" (Companion Web View)
A lightweight local web UI for visualizations that need a proper canvas.
Originally scoped as a lightweight canvas for visualizations, this has grown into a full companion web app: a React + Vite SPA (command center, race hub, live timing, championship, briefing, data library) served by the Go server in `internal/web/`, with a `/api/v1` REST surface, an SSE relay of the F1 live feed, and Playwright e2e/visual coverage.
- [x] **`box-box --web` server** — Spawn a localhost SPA from Go embedded assets, sharing the same SQLite cache
- [x] **SVG Track Map** — Animated car positions on a real circuit layout with team colors
- [x] **Telemetry Overlay** — Interactive throttle/brake/speed graph through a lap (D3.js or Canvas)
- [x] **Strategy Timeline** — Visual pit stop and stint timeline for the full field
- [x] **Championship Hub**`/championship` page backed by `/api/v1/championship/hub`: official standings aggregated with derived stats (wins, podiums, poles, last-5 form, teammate head-to-head) and per-round cumulative points progression
---