You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A whole quota-current feature that was never committed before the rescue: 4 modified files in pm-stack/aggregator/src/ (+71/−5 across config, model, render, live source) plus 2 new files (src/quota-current.ts, test/quota-current.test.ts). The branch's earlier work landed via merged PR #1329; this feature itself is only in the rescue commit at HEAD.
How it got here
On 2026-11-01 a sandbox worktree cleanup removed ~100 local worktrees under ~/git. This work existed only as uncommitted changes in a worktree; it was committed with the message rescue: preserve uncommitted work from worktree cleanup 2026-11-01 and pushed to origin (no PR opened, nothing merged) so the worktree could be removed without losing it.
Decision needed
Merge it, cherry-pick from it, or drop it. Nothing else references this branch — no worktree, no open PR — so deleting the branch later loses only what is described above.
(Filed as part of the 2026-11-01 worktree rescue: one issue per preserved branch.)
Related: the standing hygiene issue #1371 recorded this branch in its 2026-10-27 classification; this issue tracks the merge / cherry-pick / drop decision for the branch in its preserved 2026-11-01 state.
Triage verdict: the preserved feature has landed on current main — closing
Decision: merge already happened; nothing to cherry-pick, nothing to drop.
What the branch held
Commit a9ad9d2d (rescue: preserve uncommitted work from worktree cleanup 2026-11-01, parent fe0b9c525): +458/−5 across pm-stack/aggregator/src/{config,model,render}.ts, src/sources/live.ts, new src/quota-current.ts (168 lines) and test/quota-current.test.ts (219 lines).
State on current main (d1628b4be, 2026-11-03)
The feature is present and has been extended since:
pm-stack/aggregator/src/sources/live.ts:43 imports overlayQuotaCurrent, overlayTursoUsage, parseQuotaCurrent;
the overlay is applied at live.ts:1024.
pm-stack/aggregator/src/render.ts:2290 carries the pool card from the rescue diff (provider/plan/state/burn rate,
now plus credRows).
The rescue diff's added lines in config.ts (4) and model.ts (31) are all present verbatim on main; the few
"missing" lines elsewhere are reformattings of the same logic (e.g. isRecord moved to validate.ts).
bun test test/quota-current.test.ts on a fresh worktree of origin/main (d1628b4): 39 pass, 0 fail.
Earlier work from the same-named branch landed in merged PR #1329 (2026-10-27); this rescue delta has since been
folded into main and hardened.
Branch state
refs/heads/feat/quota-current-visibility no longer exists on origin (GitHub API 404; git ls-remote finds no such
head) — it was removed upstream after the earlier merge. So "do not delete the branch" is moot, and no action is needed
to avoid losing work. As cheap insurance that the rescue commit stays reachable upstream even if GitHub GCs it, I pushed
it to the repo's preservation namespace:
(No PR opened from it — it is a reference only, and its content is superseded by main.)
Closing
Verified: issue still open, no open PR from the branch, no held/user/owned/do-not-merge restriction, feature wired
and green on main. Closing as landed; the preservation ref keeps the original commit addressable.
Activity
developing-today commentedon Nov 1, 2026
CODE-1286
dezren39 commentedon Nov 3, 2026
Triage verdict: the preserved feature has landed on current main — closing
Decision: merge already happened; nothing to cherry-pick, nothing to drop.
What the branch held
Commit
a9ad9d2d(rescue: preserve uncommitted work from worktree cleanup 2026-11-01, parentfe0b9c525): +458/−5 acrosspm-stack/aggregator/src/{config,model,render}.ts,src/sources/live.ts, newsrc/quota-current.ts(168 lines) andtest/quota-current.test.ts(219 lines).State on current main (
d1628b4be, 2026-11-03)The feature is present and has been extended since:
pm-stack/aggregator/src/quota-current.ts— 401 lines, a strict superset of the rescue version: sameQUOTA_CURRENT_FRESH_MS,parseQuotaCurrent,overlayQuotaCurrent, plusQUOTA_CURRENT_FUTURE_SKEW_MS,overlayTursoUsage, per-entry/per-window validation viavalidate.ts,retainedFromFailedTickstaleness,malformed-window isolation (aggregator(quota-current): parseQuotaCurrent never checks windows entries — one null entry crashes the whole gatherer overlay and provenance still claims it applied #2416/aggregator: a future-dated gatherer read is 'fresh' forever until its date passes — quota-current freshness has no upper bound, so one skewed measuredAt pins a pool's windows for weeks #1541/perf(quota-plane): parallel provider fetching + per-provider timeout budget for the 15-min tick #1268).
pm-stack/aggregator/src/sources/live.ts:43importsoverlayQuotaCurrent, overlayTursoUsage, parseQuotaCurrent;the overlay is applied at
live.ts:1024.pm-stack/aggregator/src/render.ts:2290carries the pool card from the rescue diff (provider/plan/state/burn rate,now plus
credRows).config.ts(4) andmodel.ts(31) are all present verbatim on main; the few"missing" lines elsewhere are reformattings of the same logic (e.g.
isRecordmoved tovalidate.ts).bun test test/quota-current.test.tson a fresh worktree oforigin/main(d1628b4): 39 pass, 0 fail.Earlier work from the same-named branch landed in merged PR #1329 (2026-10-27); this rescue delta has since been
folded into main and hardened.
Branch state
refs/heads/feat/quota-current-visibilityno longer exists onorigin(GitHub API 404;git ls-remotefinds no suchhead) — it was removed upstream after the earlier merge. So "do not delete the branch" is moot, and no action is needed
to avoid losing work. As cheap insurance that the rescue commit stays reachable upstream even if GitHub GCs it, I pushed
it to the repo's preservation namespace:
(No PR opened from it — it is a reference only, and its content is superseded by main.)
Closing
Verified: issue still open, no open PR from the branch, no held/
user/owned/do-not-mergerestriction, feature wiredand green on main. Closing as landed; the preservation ref keeps the original commit addressable.