GeezerVison is showing github.com — feat(aggregator): /program hub + per-project pages for all projects (#1120, #1121) by dezren39 · Pull Request #1142 · developing-today/code
Conversation
dezren39
commented
Oct 27, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #1120, fixes #1121. Refs #1129 (epic), #1123 (README parts that belong with this PR; spec-alignment/status-report remainder stays tracked there).
What ships
Project configuration registry (#1120) — new pm-stack/aggregator/src/project-config.ts:
ProjectConfig per the issue's design (id/title/intro/poolArea/roadmapArea/homeDoc/dashboardLinks/trackedRefs/editorial), plus an optional architecture for the pm-dashboard doc.
validateProjectConfigs() — pure; duplicate ids, duplicate pool/roadmap areas, malformed slugs/refs, unusable home-doc URLs. Asserted clean over the shipped registry in tests; fail-soft at render.
- The pm-dashboard
PROGRAM migrates in as the pm-dashboard entry — literally the same object references (editorial.done === PROGRAM.done is tested), no content loss. Its designRecordUrl now points at the real file (the record is a directory containing a same-named .md; the old URL 404'd).
- README gains the "Projects are configured, not coded" recipe next to the page-manifest recipe, and the registry file is named in the layout list.
/program hub + per-project pages (#1121):
/program is now the projects index: one card per project with live pool counts by status for its Area and Grist roadmap row counts, the whole-pool summary + orchestration freshness from Dashboard: add program status/roadmap page (/program) #1046, the pm tracked-issue table, and the unset-Area pool count rendered once as a visible gap. Every pre-existing /program link still lands on a working page — the full pm-dashboard document moved one click to /program/pm-dashboard.
/program/<id> for all six projects (pm-dashboard, lab-cluster, id, repo-fleet, mcpx, cloud-program): intro + home-doc/dashboard links; tracked issues resolved live (unresolvable = "unresolved", never invented); its Area's pool items grouped by status (counts first, cards capped at 24 with a /projects link); its roadmap area's rows (title/status/horizon/notes/links); editorial sections where configured; honest gap banners for null poolArea/roadmapArea/homeDoc. Unknown id → clean not-found page (quota-service precedent).
- JSON twins:
/api/program.json keeps its existing shape and gains projects[] summaries; new /api/program-project.json?id=<id> (404 JSON for unknown id).
Starter editorial (concise, sourced; depth stays in #1124–#1128):
Tests
bun test: 143 pass / 0 fail (program.test.ts grows: registry validity + pm migration identity, validation negatives, summary/detail derivation against the real Grist seed counts, index render, every-project fixture render incl. null-area honesty, pm page retains the full Dashboard: add program status/roadmap page (/program) #1046 document).
bunx tsc --noEmit: clean.
- Fixture HTTP smoke:
/program, all six /program/<id>, /api/program.json, /api/program-project.json?id= (200; unknown id 404), /, /today, /projects, /pages all as expected.
- One pre-existing fix, called out separately:
test/render.test.ts expected 16 Grist seed rows; the seed grew to 23 with the cluster/id seeding work. Verified failing on pristine origin/main before this change; expectation updated with a comment. (CI doesn't run bun test for pm-stack, so this was red-on-main silently.)
Formatted with biome (TS) + prettier (MD) per treefmt, as #1060's fix did.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…1120, #1121)
Project registry (src/project-config.ts): one ProjectConfig per
project — id/title/intro, poolArea, roadmapArea, homeDoc,
dashboardLinks, trackedRefs, optional architecture + editorial —
with pure validateProjectConfigs (duplicate ids/areas, malformed
refs) asserted clean over the shipped registry in tests. The
pm-dashboard PROGRAM migrates into the registry as its entry (same
object references, no content loss); its designRecordUrl now points
at the real file (dir/same-named .md).
/program becomes the projects index: one card per project with LIVE
pool counts by status and roadmap row counts, the whole-pool summary
and orchestration freshness from #1046, and the unset-Area pool
count as a visible gap. /program/<id> renders per project: intro +
home-doc/dashboard links, tracked issues resolved live (unresolved
stays unresolved), its Area's pool items grouped by status, its
roadmap area's Grist rows, editorial done/next/long-term/gaps, and
honest gap banners for null poolArea/roadmapArea/homeDoc. JSON
twins: /api/program.json gains per-project summaries (existing pm
fields unchanged); new /api/program-project.json?id=<id> (404 JSON
for unknown id); unknown /program/<id> gets a clean not-found page.
Starter editorial for lab-cluster (project-structure spec seed:
12 epics with horizons, hard rules, nothing installed yet), id
(Phase 12 path from planning/roadmaps/id.md), repo-fleet (four
repos + #911), mcpx (planning/roadmaps/mcpx.md; tracked refs
verified open via gh), cloud-program (/quota hub + account
campaign; Plaid/Citi gap stated). Depth stays in #1124-#1128.
README: /program + /program/<id> views rows, the add-a-project
registry recipe, project-config.ts in the layout list (#1123 parts
that belong with this PR).
Also fixes a pre-existing-on-main test failure: render.test.ts
expected 16 Grist seed rows; the seed grew to 23 (verified failing
on pristine origin/main before this change).
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 41 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:
fc6ec172-1e96-4911-88b9-85e80f21e691
Commits
-
Reviewing files that changed from the base of the PR and between 5709db9 and dd1d307.
Files selected for processing: 8
-
pm-stack/aggregator/README.md
pm-stack/aggregator/src/pages.ts
pm-stack/aggregator/src/program.ts
pm-stack/aggregator/src/project-config.ts
pm-stack/aggregator/src/render.ts
pm-stack/aggregator/src/server.ts
pm-stack/aggregator/test/program.test.ts
pm-stack/aggregator/test/render.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
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-27T03:45:56.626817Z |
dd1d307 |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dd1d307816
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
intro:
|
|
|
"Every cloud account, plan, and subscription the fleet runs on — Cloudflare, Turso, OCI, the AI plans — and what each costs against its allotment. The Usage & billing hub renders the master tracker (workspace: ai-subscriptions) with dated reads and pace verdicts; the account-connection campaign wired API/OAuth access for nearly everything. The standing aim is ~100% of paid allotments, with pricing revalidated against official docs.",
|
|
|
poolArea: null,
|
|
|
roadmapArea: null,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Connect the cloud project to its existing roadmap area
The existing Grist seed already defines a Cloud program area containing the blocked “OCI Always Free — run the technical maximum” row (pm-stack/grist/seed/roadmap.json:120–125), and the fixture source loads that row. Setting roadmapArea to null makes both project builders discard it, so the index reports zero roadmap rows and /program/cloud-program incorrectly states that no roadmap area exists. Configure this entry to use Cloud program so the existing cloud infrastructure work remains visible.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 27, 2026
This was referenced Nov 3, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|