choa712
choa712
## Problem Statement The preemptive quota scheduler defers a near/fully exhausted account for `Math.min(longestWait, maxDeferralMs)` (`lib/preemptive-quota-scheduler.ts:290`), with `DEFAULT_MAX_DEFERRAL_MS = 2h` (`lib/preemptive-quota-scheduler.ts:30`, config `preemptiveQuotaMaxDeferralMs`). For a **weekly (7d) or monthly window**...
## Problem Statement When the upstream provider permanently revokes an account's OAuth token (e.g. the one-time refresh token was consumed elsewhere — the scenario behind #495-style incidents), the runtime handles...
[bug] why-selected ignores account policies: a paused account is reported as the winning candidate
## Summary `codex-multi-auth why-selected` recomputes candidate scores without applying the account-policy layer that the runtime rotation proxy actually uses (`blockedAccountIndexes` / `scoreBoostByAccount` from `lib/policy/runtime-policy.ts`). As a result it can report...