Skip to content

feat(pm-aggregator): repo-file roadmap source alongside Grist (#1738) - #9727

Merged
dezren39 merged 1 commit into
mainfrom
queue/15879-1738-repo-roadmap-source
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/15879-1738-repo-roadmap-source

Conversation

@dezren39

@dezren39 dezren39 commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Implements the #1738 remainder (task 15879): the aggregator roadmap now reads the repos' own roadmap files alongside the Grist table.

What changed

  • New source module pm-stack/aggregator/src/sources/repo-roadmap.ts: parses developing-today/code planning/roadmaps/*.md and dezren39/darwin-nix ROADMAP.md (the shared Title-table shape; horizon from the section heading or the Horizon column; area from the file or the section) into RoadmapRow records with repo-file: subjects, source labels, and GitHub blob links back to file + heading anchor (RoadmapRow.fileUrl, rendered as a "Repo file" badge next to the Grist badge).
  • Merge in the live source's roadmap(): duplicates collapse preferring the repo-file row, with the Grist duplicate noted in that row's notes and its links unioned in. The /roadmap page and /api/roadmap.json twin share the same rows by construction.
  • Empty sources say why (fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments) #1500): each repo source section reports ok / missing / parse-empty / unreadable with a reason, folded into the roadmap provenance label.
  • Config: checkout paths via PM_AGG_CODE_CHECKOUT / PM_AGG_NIX_CHECKOUT with laptop-primary defaults, following the existing config.ts patterns.
  • test/grist-live.test.ts: hermetic repo checkouts (the live merge must not depend on host checkouts) + provenance expectations updated for the repo-file sections.

Verification

  • New tests: 11 in repo-roadmap.test.ts (both file shapes, dedupe preference + provenance, all three empty states, /api parity by construction) — pass.
  • Roadmap-adjacent suites (program, render, roadmap-horizon, grist-live): 68 pass.
  • Full aggregator suite: same failure set as clean main (stash baseline; tsc error count identical at 22 pre-existing test-file errors, none in the touched files).
  • Real-data parse against the laptop checkouts: 97 rows from planning/roadmaps + 9 rows from the nix ROADMAP.md; the id program yields 32 rows from planning/roadmaps/id.md with zero hand entries.

Queue: task 15879 (lane code-d). Issue #1738 stays open until the post-merge deploy check of /api/roadmap.json is recorded.

@dezren39
dezren39 requested a review from a team as a code owner November 14, 2026 04:55
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ef914628-4e4b-4d50-a899-81c8b9830006
Commits

Reviewing files that changed from the base of the PR and between 8ec75c7 and 383934f.

Files selected for processing: 7

  • pm-stack/aggregator/src/config.ts
  • pm-stack/aggregator/src/model.ts
  • pm-stack/aggregator/src/render.ts
  • pm-stack/aggregator/src/sources/live.ts
  • pm-stack/aggregator/src/sources/repo-roadmap.test.ts
  • pm-stack/aggregator/src/sources/repo-roadmap.ts
  • pm-stack/aggregator/test/grist-live.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T04:55:30.913703Z
We couldn’t complete this review. Comment @codex review to try again.
383934f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant