Read-only replay cockpit for visualizing Doc-Driven Development Workflow tasks.
cd frontend
npm install
npm run build:data # normalize discovered task artifacts into src/data/workflow-snapshots.json
npm run dev # start dev server| Command | Purpose |
|---|---|
npm run dev |
Start Vite dev server |
npm run build:data |
Rebuild normalized workflow snapshots |
npm test |
Run all Vitest tests |
npm run build |
TypeScript check + production build |
scripts/build-example-task.ts— reads discovered workflow task directories and emitssrc/data/workflow-snapshots.jsonsrc/data/canonical-stages.ts— the 22-stage canonical workflow definitionsrc/lib/map-artifacts-to-stages.ts— maps handoff artifacts to canonical stagessrc/lib/build-replay-snapshots.ts— builds replayable state from run-log eventssrc/components/— UI panels (summary bar, workflow graph, step detail, artifact preview, timeline)src/state/use-replay-state.ts— React state for node/event selection
- Single example task only
- Read-only, no mutations
- Manual replay via timeline clicks
- All 22 canonical stages rendered even when the example task has fewer artifacts