From e3dc6e08998a159d291d8b4aec4baed5b8e22319 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 6 May 2026 00:23:34 +0000 Subject: [PATCH] docs: fix stale test count + dashboard route path (BEN-54) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PROGRESS.md said `110 unit tests + 5 eval scenarios`; the suite is at 151 + 5 today. FRONTEND.md and product-specs/live-dashboard.md both documented the run-detail route as `#/run/`, but `src/web/App.tsx` parses `runs/` (plural) and `Dashboard.tsx` links there — so the docs sent reviewers to a 404. --- PROGRESS.md | 2 +- docs/FRONTEND.md | 10 +++++----- docs/product-specs/live-dashboard.md | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/PROGRESS.md b/PROGRESS.md index 8aa3401..fd7a999 100644 --- a/PROGRESS.md +++ b/PROGRESS.md @@ -10,7 +10,7 @@ for a live smoke test against Linear with a real `claude` CLI. ## Gate status -- `pnpm all` — green. 110 unit tests + 5 eval scenarios. +- `pnpm all` — green. 151 unit tests + 5 eval scenarios. - `pnpm dev WORKFLOW.md --mock` — full mock run with live dashboard. - `pnpm build:web` — produces `dist/web`, served by Hono at `/`. - `symphony replay ` — replays any recorded run over SSE. diff --git a/docs/FRONTEND.md b/docs/FRONTEND.md index bb60235..6fc1f2b 100644 --- a/docs/FRONTEND.md +++ b/docs/FRONTEND.md @@ -16,11 +16,11 @@ what the agents are doing. ## Routes -| Hash | Component | Purpose | -| ------------ | --------------------------------------- | ---------------------------------------------- | -| `#/` | [`Dashboard`](../src/web/Dashboard.tsx) | Live run list + status breakdown. | -| `#/run/` | [`RunDetail`](../src/web/RunDetail.tsx) | Per-turn transcript, rendered prompt, events. | -| `#/search` | [`Search`](../src/web/Search.tsx) | Full-text search across turn content + events. | +| Hash | Component | Purpose | +| ------------- | --------------------------------------- | ---------------------------------------------- | +| `#/` | [`Dashboard`](../src/web/Dashboard.tsx) | Live run list + status breakdown. | +| `#/runs/` | [`RunDetail`](../src/web/RunDetail.tsx) | Per-turn transcript, rendered prompt, events. | +| `#/search` | [`Search`](../src/web/Search.tsx) | Full-text search across turn content + events. | Add a route by adding a branch in `App.tsx`'s switch and a single component file. Don't install a router. diff --git a/docs/product-specs/live-dashboard.md b/docs/product-specs/live-dashboard.md index 2db1821..48337a0 100644 --- a/docs/product-specs/live-dashboard.md +++ b/docs/product-specs/live-dashboard.md @@ -10,18 +10,18 @@ Frontend: [`src/web/`](../../src/web/). Backend: [`src/api/server.ts`](../../src ## Users - **Operator** — watches live runs; diagnoses stuck issues. -- **Reviewer** — opens `#/run/` after a PR lands; reads the transcript +- **Reviewer** — opens `#/runs/` after a PR lands; reads the transcript before approving. - **Agent loops** (future) — could `curl /api/search` or `/api/runs/:id` to reason about prior work. ## Routes -| Hash | Component | Purpose | -| ------------ | ---------------------------------------------- | ------------------------------------------- | -| `#/` | [`Dashboard.tsx`](../../src/web/Dashboard.tsx) | List of all runs + live indicator. | -| `#/run/` | [`RunDetail.tsx`](../../src/web/RunDetail.tsx) | Turn transcript + events + rendered prompt. | -| `#/search` | [`Search.tsx`](../../src/web/Search.tsx) | Text search across turn content + events. | +| Hash | Component | Purpose | +| ------------- | ---------------------------------------------- | ------------------------------------------- | +| `#/` | [`Dashboard.tsx`](../../src/web/Dashboard.tsx) | List of all runs + live indicator. | +| `#/runs/` | [`RunDetail.tsx`](../../src/web/RunDetail.tsx) | Turn transcript + events + rendered prompt. | +| `#/search` | [`Search.tsx`](../../src/web/Search.tsx) | Text search across turn content + events. | ## HTTP surface