Files
PaperClipAI/server
DottaandClaude Opus 5.5 2a34a538b6 fix(antigravity): a swarm's usage limit holds only swarms, and an ordinary limit never holds a swarm
Google's Antigravity CLI bills swarms to its own pool (project
default-cli-project on the stable endpoint). Seen live: a swarm 429 held the
whole agent for an hour while the same account's ordinary route answered.
Usage-limit evidence is now keyed by credential and quota scope: a run's
context may name a providerQuotaScope (absent = the default quota, which is
every row saved before), swarm selection records the CLI's scope, and the
pre-dispatch hold learns a pending run's scope read-only (selection itself
runs later, after workspace preparation). A wake held for a limit is not a
Stop, so its retry still runs the swarm and the three-attempt cap is unchanged.
The heartbeat failure path also keeps the refusal's plain sentence as the run
error, so the agent's error reason is never the Runner's command JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:11:43 -06:00
..