Commit ddb7ff690f41388ffdf79cc8e173fcd396423ab8
1 parent
f9773353
graphlemon: sdd artifact for task 3605272e-fe33-48cc-b3f3-e0c0ba26f970
Showing
1 changed file
with
10 additions
and
0 deletions
.graphlemon/runs/3605272e-fe33-48cc-b3f3-e0c0ba26f970/sdd.md
0 → 100644
| 1 | +The graphlemon planner Work Node workflow (graphlemon-node-853f2fdd026b41959c701afe64f580f6, run wf_4cc5a09c-eb1) completed successfully, producing an SDD for Unit U-046 addressing PRD "运行历史点击跳转错误 + 缺运行详情页" (Run History click-navigation bug + missing Run Detail page). | |
| 2 | + | |
| 3 | +Root cause confirmed by re-reading code: frontend/app.js:1530-1580's mountArtifactsOverviewPanel() renders the runs list but its row click only calls onSwitchToTask(...) — there's no actual "run detail" route, a gap already flagged in an existing code comment. | |
| 4 | + | |
| 5 | +Design produced: | |
| 6 | +- Backend: new get_work_graph_run(conn, run_id) + _nodes_for_run() in src/work_graph_run_query.py, plus a new GET /api/work-graph-runs/<run_id> route/handler in src/backend_server.py (404 on missing run, following existing NotFoundError conventions). | |
| 7 | +- Frontend: new #/runs/:run_id route (RUN_DETAIL_RE), renderRunDetail/mountRunDetail reusing existing renderGraphVisualizerPanel/mountLogViewer/log-tail machinery, with attention to an existing DOM-id contract (todo-detail-<nodeExecId>) required for the log auto-scroll checkbox to keep working. | |
| 8 | +- Confirmed safe in-scope cleanup: removing the now-dead onSwitchToTask callback path. | |
| 9 | + | |
| 10 | +Full document is truncated in the visible output; complete text is available in the task output file and workflow journal.jsonl if needed. No further action was taken — this is a planner artifact only; awaiting direction on whether to hand off to the Coder step or persist to docs/sdd/. | |
| 0 | 11 | \ No newline at end of file | ... | ... |