GeezerVison is showing github.com — feat(pm-aggregator): complexity-weighted progress slice 1 (#1108) by dezren39 · Pull Request #2373 · developing-today/code
Conversation
dezren39
commented
Oct 29, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Slice 1 of #1108 (queue task 3003): complexity-weighted progress in pm-stack/aggregator, from data already in the feed (ProjectPoolItem.labels) — no collector/GraphQL change.
What
- New pure module
src/weights.ts: effortWeight(labels) — effort/xs=1, effort/s=4, effort/m=12, effort/l=40 (l open-ended per the spec; treated as its floor value). Items with no recognised effort label are unsized: counted separately in every summary, never silently zero-weighted. summarizeWeights() gives total/closed/open weight, weighted %, counts, unsized split, and the hands queue (open weight by mode/*: physical + hybrid = hands weight vs online weight, plus unmoded). weightedPct is null when nothing is sized — no fake 0/100.
- Rendering (shared
weightedLine/handsLine so surfaces can't drift):
/projects: weighted header for the shown set (weighted % first, raw counts second) + per-Area weighted rows with hands-queue lines.
/program project cards: ProjectSummary now carries weights; cards show the weighted line + hands line alongside the existing count view.
- Per-project page (
/program/lab-cluster etc.): weighted header + hands queue over the Area's pool items, and a per-Epic weighted progress block (aggregate over kind=Epic pool items + one row per epic with its weight/state) alongside the existing by-status counts.
- Slice 2 stays excluded, per the packet: epic→sub-issue link graph, node sizing/coloring, blocks/blocked-by edges, longest-chain/depth metric.
Hand-checked sample (acceptance)
A lab-cluster-style epic set computed by hand from effort labels:
- Epic A: closed,
effort/l = 40 · Epic B: open, effort/m, mode/online = 12 · Epic C: open, effort/s, mode/physical = 4 · Epic D: open, unsized
Hand math: total weight 40+12+4 = 56; closed 40 → 71.4% weighted; counts 1/4 closed; hands queue = physical 4; online = 12; 1 unsized.
Module output for the same set (run on the laptop):
71.4% weighted (40/56 weight closed) · 1/4 items closed · 1 unsized
hands queue: 4 weight waiting on hands (physical + hybrid) · online: 12 · 1 open unsized
Matches.
Tests
bun test test/weights.test.ts — 9/9 pass (every effort label, unsized handling, closed/open + merged split, hands queue).
bun test test/projects.test.ts test/program.test.ts test/render.test.ts — 43/43 pass.
- Full suite + typecheck are CI's job on this PR.
![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.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Pure src/weights.ts: effortWeight xs=1/s=4/m=12/l=40 from effort/*
labels, unsized items counted separately (never zero-weighted
silently), summarizeWeights with closed/open weight split and the
hands queue (open physical+hybrid weight vs online).
Rendering: /projects header + per-Area weighted rows, /program
project cards (ProjectSummary.weights), and the per-project page
(/program/<id>) weighted header, hands-queue line, and per-Epic
weighted progress block alongside the existing count views.
Tests: test/weights.test.ts 9/9; projects+program+render 43/43.
coderabbitai
Bot
commented
Oct 29, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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 20 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:
f15c248f-0e49-4d5f-9c11-3ae1298cd476
Commits
-
Reviewing files that changed from the base of the PR and between af19d7f and 0574d45.
Files selected for processing: 4
-
pm-stack/aggregator/src/project-config.ts
pm-stack/aggregator/src/render.ts
pm-stack/aggregator/src/weights.ts
pm-stack/aggregator/test/weights.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-30T05:22:38.984624Z |
0574d45 |
New commits |
ℹ️ 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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Blocked on repo merge-queue stall (#1599) — 2026-10-29T20:20Z, queue task 3003 (openchamber scheduled lane)
PR is merge-ready and stays as-is; no code change this shift.
- Revalidated:
mergeable=MERGEABLE, mergeStateStatus=CLEAN, required check basic: proxy port fallbacks SUCCESS, full (main tier): Nix flake evaluation SKIPPED (branch tier), CodeRabbit NEUTRAL, Codex review completed with no findings. Diff matches packet scope: weights.ts + weights.test.ts + render.ts + project-config.ts (slice 1 only; epic link graph etc. remain slice 2).
- Enqueued 20:20:49Z → ejected by
github-merge-queue[bot] at 20:21:22Z, unmerged, no explanatory comment. The merge-group commit f64d4a6f passed every check (nix ci run 40948209989 SUCCESS, required check SUCCESS).
- Direct merge API: 405 "Changes must be made through the merge queue"; ruleset 26115813 has no bypass actors;
main unchanged since 5a34fa70 (10:57:51Z, ~9.4 h).
Next action: when #1599 is fixed, re-enqueue this PR (merge commit) and verify the merge. Task 3003 is blocked with that resume condition, not re-parked, so the queue stops re-enqueueing every shift.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ted-progress
# Conflicts:
# pm-stack/aggregator/src/render.ts
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|