From ddb7ff690f41388ffdf79cc8e173fcd396423ab8 Mon Sep 17 00:00:00 2001 From: graphlemon Date: Thu, 6 Aug 2026 01:19:14 +0800 Subject: [PATCH] graphlemon: sdd artifact for task 3605272e-fe33-48cc-b3f3-e0c0ba26f970 --- .graphlemon/runs/3605272e-fe33-48cc-b3f3-e0c0ba26f970/sdd.md | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) create mode 100644 .graphlemon/runs/3605272e-fe33-48cc-b3f3-e0c0ba26f970/sdd.md diff --git a/.graphlemon/runs/3605272e-fe33-48cc-b3f3-e0c0ba26f970/sdd.md b/.graphlemon/runs/3605272e-fe33-48cc-b3f3-e0c0ba26f970/sdd.md new file mode 100644 index 0000000..6ae5d14 --- /dev/null +++ b/.graphlemon/runs/3605272e-fe33-48cc-b3f3-e0c0ba26f970/sdd.md @@ -0,0 +1,10 @@ +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). + +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. + +Design produced: +- 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/ route/handler in src/backend_server.py (404 on missing run, following existing NotFoundError conventions). +- 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-) required for the log auto-scroll checkbox to keep working. +- Confirmed safe in-scope cleanup: removing the now-dead onSwitchToTask callback path. + +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/. \ No newline at end of file -- libgit2 0.21.4