GeezerVison is showing github.com — split(pm-stack): render.ts (8,515 lines) under the production line limit (#12671) · Issue #13051 · developing-today/code
split(pm-stack): render.ts (8,515 lines) under the production line limit (#12671) #13051Labels meta/protocol-gapAn agent touched this without the required agent-note comment or labels; needs review of whyqueue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionuser/reviewNeeds a user-look: Muse reviews first and handles what it can DescriptionSplit pm-stack/aggregator/src/render.ts under the production line limit
pm-stack/aggregator/src/render.ts is 8,515 lines (measured on main, 2026-11-23) — the largest PM-stack TypeScript file. It is pure HTML rendering for every aggregator view (charts, tables, filters, boards).
It is grandfathered in .github/scripts/check-production-line-limit.sh (limit 2500 production lines, extended to pm-stack TypeScript under #12671). Per the guard's convention, this issue is the one that removes its grandfather entry: the entry is deleted in the same PR that lands the split.
Suggested shape (from #12671)
Split by view — for example charts, tables, filters, boards — behind the existing renderX exports, so callers keep importing the same names. Each resulting file must be under 2500 lines and covered by the existing aggregator test suites.
Done when
- render.ts (or its successor modules) are each under the 2500-line guard limit.
- The
pm-stack/aggregator/src/render.ts grandfather entry is removed from the guard script in the same PR.
- Aggregator suites pass; rendered output unchanged.
Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 Pickup — xaltha lane taking this split. Branch xaltha/13051-split-render-ts pushed from current main; splitting pm-stack/aggregator/src/render.ts (8,515 lines) by view behind the existing renderX exports, no behavior change, and removing its grandfather entry from .github/scripts/check-production-line-limit.sh in the same PR per the guard convention. Staying strictly inside render.ts and its own imports (sibling lane has server.ts / #13052). dezren39 commented on Nov 23, 2026 Split landed as PR #13089 (Closes #13051).
Module map — render.ts is now a 118-line barrel re-exporting every public name (callers unchanged); bodies moved verbatim:
- render-core.ts (1,461) — shared primitives: esc/fmt/relTime, layout + nav + search, script consts, comment/action forms, needs-user + session helpers, coverage strip, item briefs
- render-board.ts (759) — board, roadmap, item detail
- render-quota.ts (720) — quota view, usage/billing cards, service detail, history charts
- render-attention.ts (828) — attention view, needs-Drew census
- render-today.ts (566) — today, queue, overview
- render-dns.ts (101) — DNS register
- render-aa.ts (2,020) — AA cost explorer + inline explorer script
- render-views.ts (493) — sessions, conflicts, pages, health, discuss, comments queue
- render-program.ts (1,235) — projects, program, epic graph, phase panels
- render-alerts.ts (562) — alerts, notification preferences, notifications, digest
Import graph is a DAG (everything → core; attention/today → quota for the shared card helpers; views → board; program → board + views). The grandfather entry is removed from check-production-line-limit.sh in the same PR.
Evidence (full detail in the PR body): module bodies verified line-for-line against the original; render-touching suites (75 files) show zero deterministic failures before or after — the only failures in both runs are the sandbox's missing-web-push server-boot flake, proven split-independent; the six source-scanning test files were re-pointed at the render module set (assertions unchanged) and pass 61/61; differential typecheck of the render graph vs pristine HEAD is identical with zero errors in render files; the guard's only delta vs HEAD is the render.ts warning gone, and its contract tests pass. dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-08, task 22277, 2026-11-24): in review, not landed. The split is in PR #13089, which is still OPEN (not merged), and that PR closes this issue when it merges. No new packet is needed. Next step is merging #13089 once its checks pass, which the owning lane (xaltha) is tracking. developing-today-fleet commented on Nov 24, 2026 🤖 Agent note · bound
- Agent: fleet monitor
- Session / ID: task 23121 · repo-fleet-monitor run 2026-11-24 (digest 2026-11-24T11:14:44Z)
- Found via: monitor reconciliation (Duty 1B PR↔queue binding)
- Task: Bound task 23121 to PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 (pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089), verified this run as the implementation of issue split(pm-stack): render.ts (8,515 lines) under the production line limit (#12671) #13051 (title, branch and files read). The pickup happened out of band (session branch xaltha/13051-…, PR authored under Drew's account; the issue carried no work/queue claim labels and, for split(pm-stack): render.ts (8,515 lines) under the production line limit (#12671) #13051, no agent note — recorded as a protocol gap under Duty 4). Task 23121 is parked on the PR (reason pr-bound-shepherd, ~30 min): the resuming lane shepherds PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 — review CI, merge when green, do NOT re-implement.
- Expectation: PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 merged or handed back with a checkpoint.
developing-today-fleet commented on Nov 24, 2026 🤖 Agent note · attention — protocol gap
developing-today-fleet commented on Nov 25, 2026 Triage verdict (felix lane, task 23121, 2026-11-25): VALID, still unresolved — the earlier verdict's premise (merge PR #13089 once checks pass) is stale; the PR is blocked on a real merge conflict, not on checks.
Fresh state:
- This issue is OPEN. PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 is OPEN and CONFLICTING with main: pulls API reads mergeable=false, mergeable_state=dirty (head fc08943, +8895/-8527, 18 files). It has not moved since 2026-11-24.
- The conflict is substantive, not a stale-base artifact: since the split's branch point, 11 commits landed feature work inside the monolith on main (CF-9 drift CF-9 (#14866): laptop PM edition follows main + drift alarm (M2) #14949, pm-stack: staleness lane — surface >90d-untouched items per repo, starting with a nix triage campaign #1224 stale-issue delta, Phase tracker: derive progress for phases 0-10 (no F-item mapping rows yet) #13944 phase tracker, feat(queue): consume task-history cursor in PM aggregator #14853 task-history cursor, S6: chat/session surface (threaded view, reply, cross-reference, archive) #10035 chat surface, Cost Explorer overlays, plus fixes). render.ts on main is now 8,769 lines — larger than the 8,515 this issue was filed against — so the conflict grows with every aggregator feature that lands.
- Resolution shape: re-apply the split to CURRENT main's render.ts following PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089's module map (recorded on this issue 2026-11-23), preserving every main-side change inside the modules, and push to the PR branch so pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 becomes mergeable.
Routed: queue task 23802 (feature_slice, repo-health-code-pilot, dedupe repo-health:v1:slice:developing-today/code:issue:13051:slice-1) carries exactly that scope, with acceptance = PR mergeable + aggregator suite green in a remote run + barrel exports unchanged. The PR stays unmerged for Felix's review once resolved. Refs #13051 developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · bound
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: task 23802; cron run 2026-11-26T09:14 CST
- Found via: monitor reconciliation (Duty 1B PR↔queue binding)
- Task: Bound task 23802 to PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089. The task is now parked on the PR (reason pr-bound-shepherd, ~30 min); on resume it shepherds the PR — review CI, merge when green, do NOT re-implement.
- Expectation: PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 is the implementation of record for this issue until it merges or is superseded.
- Links: PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089
- Pickup evidence: session pickup — PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089 (branch
xaltha/13051-split-render-ts, title carrying split(pm-stack): render.ts (8,515 lines) under the production line limit (#12671) #13051) implements this issue; task 23802 was itself routed as the follow-on to that PR and sat queued unbound.
dezren39 commented on Nov 26, 2026 \n\nRechecked PR #13089 on 2026-11-26: it remains OPEN at head `fc08943b19e6c73f409371696702ae522acc3771`, `CONFLICTING` / `DIRTY`, with 0 reviews and 0 review comments. Current `main` is `6b675fa5dbb2ae1e0bfbbf009db3eb8b8c23c446`; `pm-stack/aggregator/src` still contains only `render.ts` among render files, so the split has not been superseded. Merging the 118-line PR barrel would drop the current main implementation (including `renderChat`); resolving that substantive conflict is outside this shepherd task and is tracked in parked task 23802. Resume when PR head changes or main gains the render-module split; then recheck the mergeability, checks, and issue disposition. developing-today-fleet commented on Nov 26, 2026 Progress on #13089 (oc-code-06, task 23802): the split branch xaltha/13051-split-render-ts is pushed at 6ea90a3 (current origin/main merged in, fast-forward). PR #13089 now reads mergeable=true, mergeable_state=clean. Main-side render.ts changes are ported into the render-.ts modules, the barrel re-exports the five new names, pct moved to render-core, and nav.test.ts merges the server-.ts scan with the render-*.ts scan. Still open: remote aggregator bun test. fleet queue dispatch returned HTTP 403 (fleet-forks integration) twice, so no run id or test counts yet. Task parked for a 1h retry. PR left unmerged. developing-today commented on Nov 27, 2026 1952-M evidence — queue task 24099, PR #13089 shepherd re-check (2026-11-26 19:52 CST bravo SUSTAIN)
Fresh firsthand reads via gh/Git-API:
- PR pm-stack: split render.ts (8,515 lines) into render-*.ts view modules (#13051) #13089: OPEN, non-draft, head
6ea90a387dfb515a75c1f7fc2464ef96e5a04c04 (changed from the prior park record's fc08943b19e6c73f409371696702ae522acc3771; 3 commits, 18 files, +9281/-8912), updated 2026-11-26T23:13:25Z.
- Mergeability (REST, second read):
mergeable=false, mergeable_state=dirty — still CONFLICTING against current main; cannot be merged safely.
- Main is NOT superseded:
pm-stack/aggregator/src/render.ts on main is still the monolith (sha 616b3e484d2b86a9b71dbadefd853ce4c9c5bc16, 550,882 bytes) and render-core.ts on main returns 404 — no render-*.ts split has landed on main.
- Review findings: 0 PR review comments; checks on head are CodeRabbit SKIPPED, Proof SKIPPED, dependabot SUCCESS — no failing review to answer.
- Issue split(pm-stack): render.ts (8,515 lines) under the production line limit (#12671) #13051 labels include
status/parked / queue/parked / user/review.
Disposition: task 24099 PARKED again. The substantive re-split / conflict resolution is outside this shepherd task's scope (its own acceptance excludes re-implementing the PR's change) and remains with the parked follow-up task 23802. Ready condition: PR #13089 head changes from 6ea90a387dfb515a75c1f7fc2464ef96e5a04c04 with mergeable_state clean, or main gains the render-*.ts split. developing-today-fleet commented on Nov 27, 2026 Current-main re-split pushed to the existing PR branch xaltha/13051-split-render-ts at f06ed1faa65395c819004e060707c32bae70fb77 (based on current main 1ade52eac4599624dc329c6f55e01b1f60eae4a8). Reapplied the split and ported the three post-split feature groups found in the monolith delta: paginated search totalResults, Needs User census rename/legacy endpoint, and AA-only model indicators. Chat rendering and prompt badge were already represented in the split. Checked all 112 public declarations from current main remain exported from the barrel. git diff --check is clean. Remote aggregator suite is running: dezren39/fleet#45935370994 (https://github.com/dezren39/fleet/actions/runs/45935370994). Fleet auto placement first got HTTP 403 from fleet-forks, then dispatch succeeded on fleet-personal. Run result and mergeability readback to follow. PR left open/unmerged for review.
MetadataMetadatameta/protocol-gapAn agent touched this without the required agent-note comment or labels; needs review of whyqueue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionuser/reviewNeeds a user-look: Muse reviews first and handles what it can DevelopmentNo branches or pull requestsIssue actions
|