GeezerVison is showing github.com — design(aggregator): project configuration registry — one config per project for the program pages · Issue #1120 · developing-today/code
design(aggregator): project configuration registry — one config per project for the program pages #1120DescriptionSummary
The /program page (#1046, PR #1060) documents ONE project — the PM dashboard itself — through a single hard-coded editorial object (pm-stack/aggregator/src/program.ts: one PROGRAM doc + one TRACKED_REFS list). Drew's direction (2026-10-26): these pages must be integrated for all projects, not just this one, and the configuration design itself needs improving so that adding/documenting a project is a config change, not a code change per project.
Design to build
A project registry in the aggregator (new module, e.g. src/project-config.ts), one entry per project:
interface ProjectConfig {
id: string; // slug used in /program/<id>
title: string;
intro: string; // one-paragraph description
poolArea: string | null; // org Project #4 Area value; null = project has no dedicated Area yet (page says so honestly)
roadmapArea: string | null; // Grist "Program roadmap" area value (RoadmapRow.area)
homeDoc?: { repo: string; path: string; url: string }; // planning/roadmaps/<project>.md per the project-structure spec
dashboardLinks?: { label: string; route: string }[]; // e.g. cloud-program -> /quota, pm-dashboard -> /projects
trackedRefs: RefKey[]; // issues whose live state the page resolves
editorial?: { done: ProgramEntry[]; next: ProgramEntry[]; longTerm: ProgramEntry[]; gaps: ProgramEntry[] };
}
Requirements:
- The existing pm-dashboard
PROGRAM content migrates into the registry as the pm-dashboard entry — no content loss, no duplication (program.ts either becomes the registry or re-exports from it).
- Validation is fail-soft at render and strict in tests: duplicate ids, duplicate poolAreas, malformed refs, and a registry entry whose poolArea/roadmapArea matches nothing are all test failures, not runtime surprises.
- A documented "add a project" recipe (registry entry + optional editorial) in the aggregator README — target: a new project page in under 30 minutes, mirroring the page-manifest recipe.
- The registry is the single source the /program index, per-project pages, and their JSON twins all read.
Initial project set (verified live 2026-10-26)
| id |
poolArea |
roadmapArea |
home doc |
| pm-dashboard |
pm-dashboard (19 pool items) |
PM stack |
design record doc |
| lab-cluster |
lab-cluster (19) |
Basement cluster |
planning/roadmaps/basement-cluster.md (project-structure spec seed) |
| id |
id-train (25) |
id |
planning/roadmaps/id.md |
| repo-fleet |
fleet-ops (9) |
Repo fleet |
planning/roadmaps/repo-and-ci.md |
| mcpx |
null yet |
null yet |
planning/roadmaps/mcpx.md |
| cloud-program |
null yet |
null yet |
/quota hub + ai-subscriptions tracker |
Pool also holds 18 items with Area unset — the config must tolerate that (they belong to no project page until Area is set; the index should surface the unset count so the gap is visible, not hidden).
Acceptance
Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 27, 2026 Epic: #1129 — per-project status pages for all projects (generalize /program beyond pm-dashboard). dezren39 commented on Oct 27, 2026
Picked up by Muse (dashboard builder session) — implementing on branch pm/program-multi-project together with its sibling issue (registry + pages land in one PR, per the epic #1129 structure). Plan: src/project-config.ts registry + validation, pm-dashboard PROGRAM migrated into it, /program becomes the projects index, /program/ pages + /api/program-project.json twin for all six configured projects, starter editorial sourced per project, README recipe. Will post a completion note with PR + live verification. dezren39 commented on Oct 27, 2026 Agent note (completion, 2026-10-26): Shipped via PR #1142, merged as 4c18a775b0ed6de78113db9de35cc5d98b5c00a8, deployed to the laptop aggregator and verified live.
src/project-config.ts: ProjectConfig registry per the issue's design (+ optional architecture), six v1 entries, validateProjectConfigs() asserted clean over the shipped registry in tests (duplicates/malformed refs covered by negative tests).
- The pm-dashboard PROGRAM migrated in by reference (identity-tested, no content loss). One correction found while building: the design record lives at
doc/2026-10-24T11-05-38Z_design_project-management-stack/2026-10-24T11-05-38Z_design_project-management-stack.md (directory + same-named file) — the registry and PROGRAM.designRecordUrl now use it; the old flat .md URL 404'd.
- README carries the add-a-project recipe ("Projects are configured, not coded").
- Live registry validation against the real pool at deploy: pool total 170 — pm-dashboard 28, lab-cluster 20, id 101, repo-fleet 4, unset 17; every configured poolArea matched live items.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|