benchmark.md
1.33 KB
The graphlemon Work Node (planner) workflow finished. It cross-checked the SDD against the current codebase (frontend/app.js, src/work_graph_run_query.py, src/task_query.py, src/backend_server.py, src/schema.py, and related tests) and produced a Benchmark artifact for U-046: "Run history click navigates incorrectly + missing run detail page", covering:
- T1 — new
get_work_graph_run(conn, run_id)query function contract (happy/boundary/not-found cases) - T2 — new
GET /api/work-graph-runs/<run_id>route (must not collide with the existing list route, 404 conventions matching other single-resource GETs) - T3 — frontend: change the
gc_runs_listrow click to navigate viadata-run-id+ hash change instead ofonSwitchToTask, without altering existing list rendering - T4 — new
#/runs/:run_idroute and run-detail page, reusingrenderGraphVisualizerPanel/mountLogViewer/route-cleanup patterns, plus edge cases (empty DAG, non-existent run, WS cleanup on navigation) - T5 — regression: full
srcunittest suite and existing frontend smoke tests must stay green
Full benchmark text is saved in the task output file if the complete document is needed. Nothing was committed — this was planning/analysis only. Ready to proceed to implementation (Coder) or hand off to the next Work Node stage if desired.