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
{{ message }}
Repository navigation
Usage pacing: burn first on weekly windows only, keep 5-hour pacing (#906) #969
Owner decision on #906: one account is paced with the week and keeps a small reserve (2%) for the owner; every extra account may spend its weekly limit fast, but its 5-hour windows stay paced. Same on every machine.
Today usagePacing.<instance>.burnFirst: true drops the even pace for every window of that instance (UsagePacer.ts ~375-396: the target becomes the reserve ceiling for session and weekly windows alike). So an extra account set to burn first would also burn its 5-hour window to the limit.
Wanted:
burnFirst (or a new field) applies to weekly/monthly windows only; session (5-hour) windows keep the even pace. Keep the setting general: e.g. burnFirstWindows: ["weekly", "monthly"], default = current behaviour for burnFirst: true, so existing settings decode the same.
Report (fork report / pacing view) shows which windows burn first.
Failing-first tests in UsagePacer.test.ts and UsagePacingGate.test.ts: burn-first account ahead on its 5-hour window is "ahead"; behind on weekly with burn-first is "behind" up to 100 − reserve.
Interim (set now on the main machine): main instance reservePercent: 2; extra Claude account burnFirst: true, reservePercent: 0. Gate stays advise, so nothing is held meanwhile.
Activity