Solutionunvalidated
Fix the integral controller's anti-windup guards — The budget nudge-up fired on `tokensUsedInWindow > 0 && consecutive429s === 0`. Tension: a freshly-restarted proxy with one request satisfies this immediately. Outcome: Gate budget increases on: - Minimum traffic duration (e.g. 1 hour of history) - Minimum budget consumption (e.g. 5%+ used) - No 429s in recent window.
0e1e295b-1c03-4aa7-8acb-fba6870a21d2
Fix the integral controller's anti-windup guards — The budget nudge-up fired on tokensUsedInWindow > 0 && consecutive429s === 0. Tension: a freshly-restarted proxy with one request satisfies this immediately. Outcome: Gate budget increases on:
- Minimum traffic duration (e.g. 1 hour of history)
- Minimum budget consumption (e.g. 5%+ used)
- No 429s in recent window.