GeezerVison is showing github.com — pm dashboard /roadmap: integrate the repos' own roadmap files (ROADMAP.md, planning/roadmaps/*.md) alongside the Grist table · Issue #1738 · developing-today/code
pm dashboard /roadmap: integrate the repos' own roadmap files (ROADMAP.md, planning/roadmaps/*.md) alongside the Grist table #1738DescriptionGap
The /roadmap page is fed only by a hand-maintained Grist table (doc "Program roadmap", read by sources/live.ts gristRoadmap). The repos' own roadmap records are invisible to the dashboard:
- dezren39/nix has ROADMAP.md (with its Done table, maintained by fleet jobs).
- developing-today/code keeps program roadmaps under planning/roadmaps/ (e.g. planning/roadmaps/id.md is the id program's record) plus .opencode/plans/ phase files.
- The Oct 26 dashboard review found the Grist roadmap held 16 rows with ZERO id rows, while ~68 id issues were open — the hand-kept table drifts from the repo records.
Related but different in scope: code#1216 (add PM stack rows to the code repo's ROADMAP.md / planning files) and code#1352 (program tending). This issue is the dashboard READ side: surface what the repos already record.
What to build
- A roadmap source in the aggregator that reads the repos' roadmap files from the laptop's primary checkouts (the aggregator already deploys from ~/git/code): ROADMAP.md files and planning/roadmaps/*.md, parsed into RoadmapRow-shaped records (title, area/project, status, horizon when stated, source file + heading anchor as the link).
- Merge with the Grist rows on /roadmap and /api/roadmap.json: each row shows its source (grist vs repo file); repo-derived rows link back to the file/heading.
- Dedup rule: when a Grist row and a repo section describe the same roadmap item (title/area match), prefer the repo row and note the Grist duplicate in provenance rather than showing both.
- Per code#1500's rule, the page must say why a section is empty (file missing vs parse-empty vs source unreadable).
Acceptance
- /roadmap shows rows derived from at least the code repo's planning/roadmaps/*.md and the nix repo's ROADMAP.md, with source labels and working links.
- The id program appears on the dashboard roadmap from its repo record without any hand entry.
- Grist rows still render; duplicates are collapsed per the rule above; the /api twin matches the page.
Raised by Drew 2026-10-28 ("does roadmap integrate roadmap.md files?" — currently no); companion to the PM event-log issue filed the same day.
Acceptance criteria
- /roadmap and /api/roadmap.json show rows derived from at least the code repo's planning/roadmaps/*.md and the nix repo's ROADMAP.md, with source labels and working links back to the file/heading.
- The id program appears on the dashboard roadmap from its repo record without any hand entry.
- Grist rows still render; duplicates are collapsed preferring the repo row with the Grist duplicate noted in provenance; any empty section says why (file missing vs parse-empty vs source unreadable).
Activitydeveloping-today commented on Oct 28, 2026 dezren39 commented on Oct 28, 2026 Direction correction (Drew, 2026-10-28): the requirement is NOT primarily that /roadmap reads the Markdown files. The requirement is that all roadmap planning files are automatically synced — Grist table, ROADMAP.md files, planning/roadmaps/*.md, and any other roadmap home — so no source drifts from the others. Whether the dashboard should then READ the synced Markdown (vs keep reading Grist) is an implementation choice that needs a design pass before building: options include (a) sync engine keeps every store current and each consumer reads its native store, (b) one canonical store with the others as generated views, (c) read-through in the aggregator. The interim 4-hourly sync task (cron roadmap-sync-grist-md, first run 2026-10-28 ~16:13 CDT) covers the sync requirement operationally until this design lands. Acceptance updated: a design record comparing the options lands FIRST and is linked here; the build follows the design, not this issue's original framing. dezren39 commented on Oct 28, 2026 Intake review
Related: #1216 (PM-stack rows in the code repo's own ROADMAP/planning files — write side; this issue is the dashboard read side), #1352 (program tending), #1744 (shared schema), #1739 (event log, companion filed the same day).
Notes: Verified still live at intake (2026-10-28T17:45Z): /roadmap is still Grist-only per the body (sources/live.ts gristRoadmap); no PR adds a repo-files roadmap source. The drift evidence is concrete (16 Grist rows, zero id rows vs ~68 open id issues). Acceptance criteria section appended formalizing the body's ## Acceptance list; original body preserved above it.
Risks: Title/area matching for dedup is fuzzy — a bad match could hide a legitimately distinct Grist row; provenance note (per the body's rule) is the mitigation, keep it visible. Parsing two different roadmap formats (nix ROADMAP.md tables vs code planning/roadmaps/*.md) may need per-format parsers.
Suggested approach: Start with the code repo's planning/roadmaps/*.md (the aggregator already deploys from ~/git/code), prove the id program appears, then add nix ROADMAP.md, then the dedup pass.
🤖 Fleet monitor intake enrichment · 2026-10-28
dezren39 commented on Nov 13, 2026 Implementation scoping (lane code-b, task 15879): current state verified; build sequence pinned; parked for a full-sitting build.
Current state (verified on main, 2026-11-13): the aggregator's roadmap rows come only from the Grist source (pm-stack/aggregator/src/sources/live.ts); derivation/view logic lives in src/derive.ts + src/board-view.ts (the /roadmap rule #4013 shared with /api/roadmap.json #8723), with src/roadmap-reconcile.ts, src/roadmap-annotations.ts, and src/roadmap-horizon.ts around it. The repo records exist and are rich: planning/roadmaps/*.md in this repo (id.md, mcpx.md, pm-stack.md, nixos-and-infra.md, basement-cluster.md, …) — the id program has a full record there and no Grist presence, exactly the drift the issue names.
Build sequence (one PR):
- New source module (sibling of sources/live.ts): read the configured repo checkouts on the aggregator host — code repo
planning/roadmaps/*.md, nix repo ROADMAP.md — and parse each file into roadmap rows (program = file, items = headings/bullets per the files' existing structure), each row carrying source provenance (repo-file vs grist) and a link back to file + heading anchor.
- Merge in derive: repo rows + Grist rows; duplicates collapse preferring the repo row, with the Grist duplicate noted in provenance (acceptance wording). Keep the feat(aggregator): saved views — named per-person filter sets, shareable URLs, persistent default (#1276) #4013 linkedLike view rule and the /api twin identical (board-view.ts is shared verbatim — change it in one place only).
- Empty-section reasons per code#1500: each source section states why it is empty — file missing vs parse-empty vs source unreadable — as three distinct states in the source module's result type, rendered by the page.
- Config: checkout paths via env with laptop defaults, following the existing config.ts patterns (cf. roadmapAnnotationsFile); no hard-coded absolute paths in the source module.
- Tests: parser fixtures (an id.md-shaped file yields the id program with zero Grist rows), dedupe preference + provenance note, the three empty states, /api twin parity.
Verification when built: /roadmap and /api/roadmap.json on the laptop aggregator show the id program from planning/roadmaps/id.md with repo-file provenance, Grist rows unchanged.
Task 15879 parked — resume at step 1. dezren39 commented on Nov 14, 2026 🤖 Agent note · picked up
- Agent: queue worker (repo-worker-code), lane code-d
- Session / ID: task 15879
- Found via: queue claim
- Task: Implement the issue pm dashboard /roadmap: integrate the repos' own roadmap files (ROADMAP.md, planning/roadmaps/*.md) alongside the Grist table #1738 remainder per the pinned build sequence (comment 6850664164): new repo-file roadmap source for the aggregator (code planning/roadmaps/*.md + nix ROADMAP.md), merge/dedupe preferring repo rows with Grist provenance noted, empty-section reasons per issue fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments) #1500, config via env, parser/dedupe/empty-state tests.
- Expectation: effort/m; done looks like one PR with the source module + tests green, and /api/roadmap.json on the laptop aggregator showing repo-file rows including the id program.
- Links: issue pm dashboard /roadmap: integrate the repos' own roadmap files (ROADMAP.md, planning/roadmaps/*.md) alongside the Grist table #1738, issue fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments) #1500, task 11959
dezren39 commented on Nov 14, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code), lane code-d
- Session / ID: task 15879
- Found via: queue claim
- Task: Issue pm dashboard /roadmap: integrate the repos' own roadmap files (ROADMAP.md, planning/roadmaps/*.md) alongside the Grist table #1738 remainder implemented and verified. PR feat(pm-aggregator): repo-file roadmap source alongside Grist (#1738) #9727 (repo-file roadmap source) squash-merged as 65876ae. Live-source verification of the merged tree (worktree instance, real Grist + real checkouts, state files redirected): GET /api/roadmap.json returned 139 rows — 106 repo-file rows (97 from planning/roadmaps, 9 from the nix ROADMAP.md) + 33 Grist rows, with 1 Grist duplicate collapsed into its repo-file twin; the id program appears with 32 rows from planning/roadmaps/id.md and no hand entry; /roadmap HTML carries the same rows, the Repo file badges, and the provenance line naming both sections. All four acceptance criteria are met, so issue pm dashboard /roadmap: integrate the repos' own roadmap files (ROADMAP.md, planning/roadmaps/*.md) alongside the Grist table #1738 closes with this note.
- Expectation: Done. One infra caveat: the production pm-aggregator unit still serves the pre-merge tree because the primary clone cannot fast-forward — it carries pre-existing uncommitted work (lib/default.nix, nixos/home/laptop-backups.nix, laptop-state-backup files, pm-stack/aggregator/bun.lock) and pm-git-sync is failing; that stall is tracked on issue pm-git-sync stalled 2026-11-08→10: queue lanes worked directly in the primary clone and a stale worktree squatted the main branch #8170 and the dirt is not this task's to move. The unit picks this change up as soon as the primary is clean and current.
- Links: PR feat(pm-aggregator): repo-file roadmap source alongside Grist (#1738) #9727, issue pm dashboard /roadmap: integrate the repos' own roadmap files (ROADMAP.md, planning/roadmaps/*.md) alongside the Grist table #1738, issue fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments) #1500, issue pm-git-sync stalled 2026-11-08→10: queue lanes worked directly in the primary clone and a stale worktree squatted the main branch #8170, task 11959
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|