Antigravity CLI source shows 100% remaining despite an earlier unexpired individual-quota block
Summary
An Antigravity snapshot with source: cli reports both weekly pools as 100% remaining and not exhausted. An earlier CLI diagnostic reported RESOURCE_EXHAUSTED, code 429, with an individual-quota reset that had not yet elapsed when that snapshot was captured.
This is a discrepancy for investigation, not a freshly reproduced CLI refusal. The CLI diagnostic is historical, and account equivalence has not been independently verified.
Versions
- onWatch v2.14.11
- Antigravity CLI 1.4.0 at report time
- Windows
The CLI version used when the earlier quota error occurred was not independently recovered.
Sanitized observations
All timestamps below are UTC.
Earlier CLI diagnostic:
{
"observedAt": "2026-10-15T01:38:36Z",
"code": 429,
"kind": "Individual quota reached",
"resetsAt": "2026-10-19T01:27:56Z"
}
Later onWatch snapshot:
{
"capturedAt": "2026-10-17T11:15:09.991Z",
"source": "cli",
"pools": [
{
"model_id": "gemini-weekly",
"remaining_percent": 100,
"is_exhausted": 0,
"reset_time": "2026-10-24T11:15:09Z"
},
{
"model_id": "3p-weekly",
"remaining_percent": 100,
"is_exhausted": 0,
"reset_time": "2026-10-24T11:15:09Z"
}
]
}
Both displayed reset times are exactly seven days after the snapshot time, to the second. That may be valid, but it would help to establish whether these are provider-supplied resets or generated estimates.
How the discrepancy was observed
- The CLI previously returned an individual-quota error with a reset duration.
- Before that recorded reset elapsed, start onWatch and allow its CLI collector to capture a snapshot.
- Compare the recorded CLI reset with the snapshot's remaining percentages, exhaustion flags, source, and reset times.
No normal model prompt was submitted at report time to reproduce the earlier refusal. The underlying account or provider limits may have changed since that refusal.
Expected behavior or clarification
Please check whether the CLI's individual limit and the two weekly pools describe the same budget. If they are different, distinguishing their scope would help prevent a full weekly pool from being mistaken for confirmation that CLI requests can run.
If a collector cannot determine the relevant limit or reset, an unknown state or an explicitly labelled estimate would be clearer than confirmed full capacity. This report does not establish whether missing fields, different budgets, account selection, or another cause explains the observations.
Issue #140 concerned a Windows collector startup/CSRF failure. This case differs because the collector produced a snapshot marked source: cli.
Only sanitized diagnostic fields are included. No account identifiers, personal details, local paths, credentials, or raw logs are attached.
Thanks @spawnpoint, this was a useful report.
The snapshot you quoted looks like placeholder data, not real usage. With agy 1.4.0, agy's quota endpoint often returns remainingFraction: 1 with resetTime set to "now + window" and no description field. That matches your capture + 7 days to the second. Real responses carry a description and actual fractions. onWatch currently stores the placeholder as a confirmed 100%, which is wrong. We will show it as unknown instead.
To confirm this on your machine, could you run the following and paste the output? It makes the same two read-only calls onWatch makes. It sends no prompts and does not read any tokens. Emails are redacted, but please look it over before posting.
- In one terminal, start agy and leave it open:
agy --csrf_token onwatch-debug
- In PowerShell:
$tok = 'onwatch-debug'
$f = "$env:TEMP\agy-body.json"
Set-Content $f '{"metadata":{"ideName":"antigravity","extensionName":"antigravity","locale":"en","ideVersion":"unknown"}}' -Encoding ascii
$ids = @((Get-Process agy).Id)
$ids += (Get-CimInstance Win32_Process | Where-Object { $ids -contains $_.ParentProcessId }).ProcessId
$ports = netstat -ano | Select-String 'LISTENING' | Where-Object { $ids -contains [int](($_ -split '\s+')[-1]) } | ForEach-Object { (($_ -split '\s+')[2] -split ':')[-1] } | Sort-Object -Unique
foreach ($p in $ports) { foreach ($s in 'https','http') { foreach ($rpc in 'RetrieveUserQuotaSummary','GetUserStatus') {
$out = curl.exe -sk -m 5 -X POST "${s}://127.0.0.1:$p/exa.language_server_pb.LanguageServerService/$rpc" -H "Content-Type: application/json" -H "Connect-Protocol-Version: 1" -H "X-Codeium-Csrf-Token: $tok" --data-binary "@$f"
if ($out -match '^\{') { "=== $rpc ($s port $p) ==="; $out -replace '[\w.%+-]+@[\w.-]+\.\w{2,}', '<email>' }
}}}
Then close the agy window.