Repository navigation
feat(pm-aggregator): wire C7 project spaces + reports timeline into serving paths (#12351) - #16781
Conversation
…erving paths (#12351) Slice 2 of C7 leaf 4: the pure module from slice 1 (PR #15887) had no callers. This wires it into the aggregator serving paths: - src/project-spaces-serving.ts: standing landings for the four spaces (structural facts only; content sections visibly unavailable, never invented), the served timeline view over the current stored records with serving-time link verification, and the HTML renderers (overview-first, fold/unfold in place, S4.19). - GET /spaces + /api/spaces.json and GET /timeline + /api/timeline.json, dispatched in server.ts and handled beside handleReportsRead in server-write-routes.ts; the timeline reads the same retained report records as /reports. - pages.ts registers both landings (work group, dropdown nav) so the current-quarter timeline is discoverable from the manifest. - test/project-spaces-serving-c7.test.ts: route-level read-back — a seeded real-day record and its weekly parent served from the stored records file, current-quarter discoverability, spaces honesty (unavailable sections), and link resolution (C6/C8 reference entries name the seeded day and week). Refs #12351.
|
Warning Review limit reachedYou'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 50 minutes. View limit details
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. |
…able; fix serving-suite record id (#12351) - curation-1497: the decision table must cover the manifest; the two new landings enter at dropdown tier per the post-#1497 pattern. - project-spaces-serving: appendReportRecord returns { inserted, record } — read the seeded daily record id from .record.id (the first dispatch failed this assertion with undefined).
Verification (lane 0647-L15R)Merged at head Full-suite run at exact head —
New and re-run evidence inside that run:
Typecheck: the workflow's typecheck step is skipped whenever the test step fails (the pre-existing failure above), so a separate targeted run — fleet-command 46266560044 ( |
|
Typecheck follow-up (lane 0647-L15R): the targeted run 46266560044 named in the verification comment above concluded failure without running the command. Its log shows a target-checkout failure: the venue fetched Re-dispatched as fleet run 46270596649 against branch |
|
Typecheck verification, final state (lane 0647-L15R). The faithful project typecheck cannot run on this codebase right now, for reasons that predate and surround this PR rather than sit in it:
The verification this PR stands on is the full-suite run at exact head 8203833 recorded above: 4199 pass, 1 fail (the pre-existing #16785 failure, identical on main). The temp branch xaltha/12351-verify-tmp is deleted with this comment. |
Summary
Part of #9575; C7 leaf 4 (#12351) slice 2 — the serving wiring. Slice 1 (PR #15887) landed the pure module
pm-stack/aggregator/src/project-spaces-timeline.tswith no callers; this PR wires it into the aggregator serving paths:src/project-spaces-serving.ts(new): the standing landings for the four spaces (structural facts only — key, title, sibling spaces as related links; every content section renders visibly unavailable rather than invented, since no source feed exists yet), the served timeline view over the current stored records with serving-time link verification (unresolved references surface inmissingLinks, never silently render), and the HTML renderers — overview-first with fold/unfold in place (design S4.19).GET /spaces+/api/spaces.jsonandGET /timeline+/api/timeline.json, dispatched inserver.tsand handled besidehandleReportsReadinserver-write-routes.ts; the timeline reads the same retained report records as/reports. C6 index/mobile and C8 ingestion stay external: the view exportstimelineIndexEntriesreference entries and implements neither.pages.ts: both landings registered (work group, dropdown nav) so the current-quarter timeline is discoverable from the page manifest.test/project-spaces-serving-c7.test.ts(new): route-level integration over a seeded records file, booting the real server (the impl(pm-stack): break-glass — outage queueing + local owner token CLI (#1253 split 6) #9608 suite pattern).Design verify list (c7-rollups-design.md, leaf 4)
/api/timeline.json.design-pages-c7.test.ts(hand-written count oracle), re-run in this PR's full-suite verification./timelinemanifest registration.report-records-c7.test.ts; guessed issue-state counts indesign-pages-c7.test.ts; ownership duplication inproject-spaces-timeline-c7.test.ts(C6/C8 externality) — all re-run in the full aggregator suite dispatched on this head.Verification
pm-aggregator-tests.yml(full aggregatorbun test+ typecheck) dispatched on the exact head; result linked in a comment before merge.Merge Danger
Door: two-way. Blast radius: two new read-only routes + two manifest entries + one new serving module in the aggregator; no writes, no migration, no schedule change. The spaces pages serve structural landings only until a prose source feed exists.
Closes #12351.
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T12:57:17Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "aa5a503c40005914ca3676c21a1da732e7aeb3d7" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.