Commit eeabd6d4718a50cd6ef8141342bb0e498ffba508

Authored by graphlemon
1 parent 8568e19f

graphlemon: prd artifact for task bfd3ee82-26e5-44d6-8acc-fdbeb3d78185

.graphlemon/runs/bfd3ee82-26e5-44d6-8acc-fdbeb3d78185/prd.md 0 → 100644
  1 +The graphlemon Work Node (planner) workflow completed successfully (1 agent, ~155s, 0 errors). It produced a PRD draft: "控制台导航栏「当前项目」上下文" — adding a persistent current-project context to the console nav bar across all pages except `#/setup`. Key points:
  2 +
  3 +- Nav bar shows the current project's name (fetched via existing `GET /api/projects/:project_id`), clickable to jump to `#/projects` for switching.
  4 +- Adds a 4-bucket task status summary (done / running / pending / attention, mapping the 10 raw task statuses) next to the project name, computed client-side from `GET /api/tasks?project_id=...` — no new backend aggregation endpoint.
  5 +- `done`/`pending` buckets link to `#/tasks?status=<value>` with the status filter pre-selected; `running`/`attention` (multi-status buckets) link to unfiltered `#/tasks` since `v_task_board`'s filter is single-select (explicitly out of scope to change).
  6 +- Requires a new capability in `render()` (`frontend/app.js`) to parse `?key=value` query strings on hash routes — doesn't exist today.
  7 +- Nav refresh piggybacks on the existing `hashchange` listener, no new event plumbing needed.
  8 +- Flags `docs/sdd/02-V-界面与交互.md`'s "导航栏右侧" section as stale (references `v_project_setup` instead of the actual `v_project_list`/`#/projects` mechanism) and calls out that follow-up doc sync as a required post-landing step.
  9 +- Explicitly scopes out: WebSocket-pushed live refresh of the summary, multi-status filter UI, backend pagination.
  10 +
  11 +No code was written — this is the Planner's PRD artifact, presumably feeding into a Coder task next.
0 \ No newline at end of file 12 \ No newline at end of file