Skip to content

feat(framework): run history in the dashboard (#303)#307

Merged
suleimansh merged 1 commit into
mainfrom
feat/dashboard-run-history
Jul 9, 2026
Merged

feat(framework): run history in the dashboard (#303)#307
suleimansh merged 1 commit into
mainfrom
feat/dashboard-run-history

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Part of #299 (MVP slice 2 of 3). Closes #303.

The dashboard showed only the current run. This adds the second sidebar: a list of the project's past runs, click one to replay its projection in the main view.

What changed

  • Each finished run is archived under .framework/runs/<id>.jsonl (log) + .framework/runs/<id>.json (snapshot). The live events.jsonl stays as-is, so the daemon tail is untouched. A crash that skips the final flush is archived on the next run.
  • New endpoints on the dashboard server: GET /api/runs (list) and GET /api/runs/<id> (one run's meta + events). Wired for the daemon and the per-run/--resume dashboards via a cwd option.
  • Left sidebar lists runs (intent, status, session link). Click replays that run; "Back to live" returns to the current run. Replay reuses the exact same client projection the live stream drives.

Single project only. No Queue, no Overview (those stay in #299).

Tests: store archive/list/replay + crash-safety, and the two HTTP endpoints. pnpm typecheck + pnpm test green.

Archive each finished run under .framework/runs/<id>.jsonl + <id>.json and add
a left sidebar that lists a project's past runs (intent, status, session link).
Clicking one replays its projection in the main view; "Back to live" returns to
the current run. Served over GET /api/runs and GET /api/runs/<id>. A crash that
skips the final flush is archived on the next run. Single project only.

Closes #303
@suleimansh suleimansh added enhancement New feature or request priority: medium Worth doing, not urgent labels Jul 9, 2026
@suleimansh suleimansh self-assigned this Jul 9, 2026
@suleimansh suleimansh merged commit 388f3ad into main Jul 9, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/dashboard-run-history branch July 9, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: medium Worth doing, not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[The Framework] Run history in the dashboard (single project)

1 participant