Commit 97faa2d994c7cd60b49f6bbd42c0976cccde8604

Authored by graphlemon
1 parent 38b95420

graphlemon: brd artifact for task 837fc183-f87f-41d9-8bc9-6262d7172834

.graphlemon/runs/837fc183-f87f-41d9-8bc9-6262d7172834/brd.md 0 → 100644
  1 +The graphlemon Work Node (planner) workflow completed. It produced a BRD diagnosing a real UI bug: the Org Graph three-node strip (planner/coder/validator) on the dashboard (`renderOrgStrip()` in frontend/app.js:589-598) renders as static cards — no `data-*` attributes, no click handlers, no `cursor:pointer` styling — so clicking a node does nothing.
  2 +
  3 +Key points from the BRD:
  4 +- Root cause confirmed by directly reading frontend/app.js, style.css, src/task_query.py, and the SDD (docs/sdd/02-V-界面与交互.md §2.2), not just trusting the report.
  5 +- Fix direction: reuse the existing `#/tasks/:task_id` deep link (no new modal, no `#/graph` reuse) and reuse already-working machinery — `renderGraphVisualizerPanel` + `mountWorkNodeClickExpand` + `mountLogViewer` for DAG/logs, and `task.artifacts[].produced_by_run_id` for artifact-to-run linkage — rather than rebuilding any of it.
  6 +- Scope: shows only the org_node's most recent work_graph_run; explicitly excludes a second, near-identical org-strip bug embedded in `renderDetail()` (flagged as a separate follow-up, not scope creep); flags that docs/sdd/02-V-界面与交互.md §2.2 needs a matching spec update since this interaction was never documented.
  7 +- No blocking unknowns — ready to proceed to SDD/implementation; only the exact in-page anchor/routing mechanism is left open for that stage.
  8 +
  9 +No further action taken — this was the Planner stage output; next would be SDD/Coder picking it up in the Org Graph flow.
0 10 \ No newline at end of file
... ...