Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(usage): Antigravity reports weekly limits for each model group #15296

ClosedNewarr(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/15296/headopened View on GitHub

Problem

Antigravity shows usage history but no limits. #10919 closed as fixed by #10409, but limits are still missing. Replaces #15284.

Change

After a Google account sign-in, the Limits view shows a weekly bar and reset time for each model group. Other sign-in methods report unsupported.

The health check calls Google's quota API with the stored refresh token. It never starts the agent, which unpacks about 1 GB per launch, and never writes the token file. The API requires user-agent: antigravity.

A signed-out enriched snapshot drops published limits, so sign-out clears bars for every provider. Limits carry a hash of the Google account ID, so pooled views count one account once.

Scope and approval

No maintainer approval yet. Five providers already report limits this way.

Verification

A live read on macOS returned Weekly · Gemini at 16.65% and Weekly · Claude and GPT at 0%. The token file was unchanged. Antigravity, managed provider, and registry tests pass.

Not checked: screenshots, multi-method profiles, Windows, Linux.

Agent: Claude Opus 5.5 in Claude Code.

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    2. Approvability

      Verdict: Not approved

      Macroscope's review found this PR not approvable — This PR adds automatic OAuth-backed Google quota requests and new per-model-group usage behavior to authenticated Antigravity flows, alongside shared provider snapshot changes. Unresolved medium findings also identify missing post-login quota publication and unreliable account deduplication, leaving material runtime and accounting risk.

      Not approved because:

      • 2 blocking correctness issues found at or above your repo's Minimum Blocking Severity
      Adjust the Minimum Blocking Severity for this repo — including turning it Off — in [Settings](https://app.macroscope.com/pingdotgg/settings#Repos). You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).

Sign in to join this conversation.