GeezerVison is showing github.com — aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) · Issue #2580 · developing-today/code
aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) #2580Labels app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item DescriptionFound 2026-10-30 during the merge-everything pass, verified twice against a pristine checkout of main (git archive of origin/main), so this is pre-existing breakage on main, not fallout from any PR.
In pm-stack/aggregator:
bunx tsc --noEmit (or the repo's typecheck) reports 3 errors
- the test suite reports 7 failures
- all of them sit in the pages-manifest / overview area
Apparent root cause: PageDef in pm-stack/aggregator/src/pages.ts is missing the group field that the manifest/overview code and its tests expect. Either the field was dropped from the type without updating its consumers, or the consumers were written against a field that never landed.
Acceptance: typecheck clean and the aggregator suite green on main; if group is intentionally gone, remove its uses and the tests that assert it instead.
Acceptance criteria
-
bunx tsc --noEmit (the repo typecheck) is clean in pm-stack/aggregator on main
- The aggregator test suite is green on main (the 7 pages-manifest/overview failures resolved)
- Either
PageDef.group is restored and consumed consistently, or every use of group and the tests asserting it are removed — no half-state
- The fix is verified against a pristine checkout of main, matching how the breakage was found
Activityadded kind/bugSomething isn't working (prefixed form of the classic bug label) effort/sSmall: expected under 2 hours of work meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Oct 30, 2026dezren39 commented on Oct 30, 2026 Intake review
Still live: the filer verified the breakage twice against a pristine git archive of origin/main on 2026-10-30, and no merged PR since then touches PageDef — treat as live main breakage until a fresh typecheck on current main says otherwise.
Related: code #2590 and #2582 are defects in the same aggregator (pm-stack) but different mechanisms (attention classification, quota pctWindows) — not duplicates. Note the pages manifest is also what the fleet feed renders from, so this breakage can hide fleet state.
Notes / risks: 3 typecheck errors + 7 test failures all in the pages-manifest/overview area, centred on PageDef.group in pm-stack/aggregator/src/pages.ts. Two coherent resolutions exist (restore the field, or remove its uses + tests); the wrong pick loses either a real grouping feature or real test coverage, so the triage should first check git history for when group disappeared and whether the removal was deliberate.
Suggested approach: git log -p on pages.ts around the group field, decide restore-vs-remove from that evidence, then run typecheck + the aggregator suite on a pristine checkout. dezren39 commented on Oct 30, 2026
#2604
Direction chosen: restore group end-to-end. PageDef.group/PAGE_GROUPS/groupedPages() are the nav-section model from #1135 and the tests plus the nav consumers are right to require it. The breakage was a bad merge of #1134 into #1135 (6f3fda03): the pages.ts conflict was resolved by taking the #1135 side of the board entry and keeping the new #1134 overview entry verbatim, leaving two pages on / and an overview entry with no group (so groupedPages() dropped it from the nav).
What changed
src/pages.ts: overview keeps / and gains group: "overview"; board is back on /board — which is what server.ts already serves.
test/overview.test.ts: fixtures refreshed for fields added after impl(aggregator): make / the stack front door - overview of all projects, attention, health, quotas (board moves to /board) #1134 (HealthView.version/itemsCoverage, AttentionView.watchdog) — 2 of the 3 typecheck errors.
test/actions.test.ts: the applied-snooze fixture measured until from its fixed past NOW, so it had silently expired (render-time suppression uses the wall clock). The snooze is now live at render.
README.md: route table updated (/ = Overview, /board = board).
Evidence, verified in a fresh worktree of origin/main (f9268e24)
Before:
$ bunx tsc --noEmit
src/pages.ts(44,3): error TS2741: Property 'group' is missing ...
test/overview.test.ts(11,7): error TS2739: ... 'HealthView' ... version, itemsCoverage
test/overview.test.ts(29,3): error TS2741: ... 'watchdog' is missing ... 'AttentionView'
$ bun test
498 pass
7 fail
After:
$ bunx tsc --noEmit
(clean, no output)
$ bun test
505 pass
0 fail
2614 expect() calls
Ran 505 tests across 41 files.
Codex review on the PR completed with no findings; the PR is mergeable with no blockers (one optional check still queued). dezren39 commented on Nov 1, 2026 🤖 Agent note · full-suite failure census at main (from queue task 4918 verification)
- Agent: repo-worker-code (Lane F), 2026-10-31
- While verifying PR feat(aggregator): /sessions recency window, search/filter, pagination (#1209) #3303 (sessions registry view), the full aggregator suite (
bun test, 754 tests / 52 files) showed 747 pass / 7 fail — and the identical 7 failures reproduce on pre-merge main 72e347609, so PR feat(aggregator): /sessions recency window, search/filter, pagination (#1209) #3303 introduced none of them. They are all in the PAGES-manifest breakage class this issue tracks:
- nav.test.ts — the manifest groups every page (fix(aggregator): navigation coherence - 10-item nav overflows on mobile, sub-pages undiscoverable #1135): every page names one of PAGE_GROUPS, and groups have no page-less id
- nav.test.ts — the manifest groups every page (fix(aggregator): navigation coherence - 10-item nav overflows on mobile, sub-pages undiscoverable #1135): groupedPages covers each page exactly once
- aa.test.ts — aa-explorer manifest + render: PAGES carries the aa-explorer page with unique routes
- overview.test.ts — overview front door (impl(aggregator): make / the stack front door - overview of all projects, attention, health, quotas (board moves to /board) #1134): PAGES registers overview at / and board at /board, routes unique
- overview.test.ts — overview front door (impl(aggregator): make / the stack front door - overview of all projects, attention, health, quotas (board moves to /board) #1134): rendered overview carries every section and links the board at /board
- actions.test.ts — attention action controls (design+impl(aggregator): triage actions on /attention - acknowledge, snooze, escalate, answer - orchestrator-mediated #1152/impl(aggregator): session actions from /sessions and /attention - poke, answer, stop - keeper/orchestrator-mediated #1156): pending + applied states render as badges; applied snooze lands in the Snoozed strip
- slice3.test.ts — pages manifest + slice-3 renders: manifest registers dns + sessions; routes unique
- Post-merge main
0ea0a0fa6 shows the same 747/7 totals. Fixing the PAGES/PAGE_GROUPS manifest divergence should clear all seven.
dezren39 commented on Nov 10, 2026
Progress from repo-worker-code-j: MID-SHIFT FALLBACK handed_off: claimant launches bound opencode session (lane row 1710) dezren39 commented on Nov 10, 2026
Released by repo-worker-code-j (outcome: free). MID-SHIFT FALLBACK (checkpoint broker failure): task 7342 handed off to opencode claimant, lane row 1710; issue #2580 revalidated OPEN no hard-stop labels; notes 6756116150, 6756126466; remaining: claimant launches bound opencode session to triage #2580 dezren39 commented on Nov 10, 2026 🤖 Agent note · handed off to opencode claimant — Agent: queue worker (repo-worker-code), lane code-b — Session/ID: task 7342, repo-queue-worker-shift-b 2026-11-09 run. Task 7342 (triage) for issue #2580: aggregator pages manifest broken on main, PageDef.group missing; attempts 5/24 on this claim. Fresh check: issue #2580 OPEN, no held/user/owned/do-not-merge/do-not-auto-edit labels. Execution lane row 1710 = opencode. Checkpointed handed_off; parking task 7342 for 20 minutes for the claimant window. dezren39 commented on Nov 10, 2026 agent-note:v1 — state: handed-off (task 7342, lane code-b)
dezren39 commented on Nov 10, 2026 🤖 Agent note · done
- Agent: repo queue worker, lane code-x (repo-worker-code)
- Session / ID: cron repo-queue-worker-shift-x run 2026-11-09 20:39 CST; task 7342
- Task: task 7342 for issue aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) #2580 (triage packet — aggregator pages manifest broken on main, PageDef.group missing) — completed as bookkeeping per runbook §1c (Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097 rule 3): issue aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) #2580 no longer carries status/needs-triage; its intake/triage record is on the issue at aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) #2580 (comment). No triage performed by this lane. Fresh evidence added: at current origin/main (321ae7e) the pages manifest's PageDef now carries
group: string (one of PAGE_GROUPS) — the breakage this packet was filed for appears already fixed on main; issue aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) #2580 itself stays open for its owner to close on that evidence.
- Expectation: issue aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) #2580's owner verifies the typecheck state and closes it on the merits; no further queue cycling of this packet.
- Links: task 7342 · issue aggregator: pages manifest broken on main — PageDef.group missing (3 typecheck errors, 7 test failures) #2580
dezren39 commented on Nov 10, 2026
🤖 Agent note · done — breakage verified fixed on main; closing
MetadataMetadataapp/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/sSmall: expected under 2 hours of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item DevelopmentNo branches or pull requestsIssue actions
|