-
Notifications
You must be signed in to change notification settings - Fork 1.6k
windowMinutes missing on several providers silently disables pace/forecast (zai, kimi, grok, antigravity) #2431
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Description
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Summary
Several providers ship quota windows without
windowMinutes. Because pace/forecastneeds the window duration to know what "expected usage at this point" is, the whole
forecasting layer silently disables itself for those providers — no pace line, no
run-out estimate, no "windows remaining" verdict from #2274. The gauges still render,
so nothing looks broken; the feature is simply absent.
Measured (v0.45.2, Linux,
serveon :9120)usedPercentwindowMinutesresetsAtpaceEvery provider reports
usedPercentandresetsAt. OnlycodexandclaudereportwindowMinuteson all their windows — and they are exactly the two that get apaceobject. The correlation is 1:1.
Why this matters
resetsAtalone is not enough: it tells you when the window ends, not how longit is, so "expected consumption at this point in the window" cannot be computed. One
missing declarative field disables the entire downstream chain for four providers.
For most of these the period is not ambiguous — the plans are weekly or monthly and
the cadence is already visible from consecutive
resetsAtvalues. It looks like thefield is simply not populated by those provider adapters rather than genuinely
unknown.
Request
Populate
windowMinuteson the zai / kimi / grok / antigravity windows (deriving itfrom the known plan period where the API does not return it explicitly), so pace and
the #2274 forecast light up for them the same way they already do for codex and claude.
Related
for providers that have a pace, i.e. codex/claude).
CodexBarCLI serveJSON outputat all — it seems to live only in the macOS rendering layer. Exposing it in
servewould let Linux/headless consumers show the same verdict. Happy to open that as a
separate issue if preferred.
Environment
CodexBarCLI servev0.45.2, static musl x86-64, Linux 7.0.0, 7 providers enabled.