Commit 8b835b118ec616702d2ac911925b69d36f4f232d
1 parent
d7035fc5
graphlemon: brd artifact for task 3605272e-fe33-48cc-b3f3-e0c0ba26f970
Showing
1 changed file
with
12 additions
and
0 deletions
.graphlemon/runs/3605272e-fe33-48cc-b3f3-e0c0ba26f970/brd.md
0 → 100644
| 1 | +The `graphlemon-node-90c6ca9d21eb4678ab122e2f5bd011fd` (planner) workflow finished. It produced a BRD document diagnosing and scoping a fix for the Graph console: | |
| 2 | + | |
| 3 | +**Problem confirmed:** Clicking a row in "Graph 运行历史" (`v_graph_console`) just switches the task selector (`onSwitchToTask`) instead of opening that specific run's details — because no run-detail page/route exists yet. A stale code comment even documents this as "intentional." | |
| 4 | + | |
| 5 | +**Scope of the fix (BRD-level, not yet PRD/SDD):** | |
| 6 | +- FR-1: New route `#/runs/:run_id` | |
| 7 | +- FR-2: Run detail page reusing existing components — `renderGraphVisualizerPanel`/`mountWorkNodeClickExpand` for the DAG/node view, and the existing `mountLogViewer`/WS-tail-then-static logic for per-node logs (nothing new to build there) | |
| 8 | +- FR-3: New backend query/endpoint to fetch a single run by `run_id` (current `get_task` returns the whole task's runs, wrong shape/payload — though `task_query._work_nodes_for_run` is already `run_id`-scoped and should be reused, not reimplemented) | |
| 9 | +- FR-4: Minimal change to `gc_runs_list`'s click handler only, plus removing the now-stale "no run detail route" comment | |
| 10 | +- Explicitly out of scope: the list endpoint itself, log-viewer/backend internals, and multi-run comparison UI | |
| 11 | + | |
| 12 | +This is a BRD only — no code was written. Next step in the pipeline would be PRD/SDD refinement before a Coder task picks it up. | |
| 0 | 13 | \ No newline at end of file | ... | ... |