Account Safety
Automatic protections to prevent Google account bans when using multiple OAuth providers simultaneously.Overview
When the same Google email is authenticated across multiple providers (gemini, agy, codex), simultaneous usage can trigger Google’s abuse detection. CCS automatically isolates accounts to prevent this.Cross-Provider Isolation
How It Works
Detect Duplicates
On session launch, CCS scans all providers for emails appearing in 2+ Google OAuth providers
john@gmail.com is authenticated in both gemini and agy, starting a gemini session auto-pauses the agy account for john@gmail.com.
Crash Recovery
If CCS crashes without restoring paused accounts:- Next launch detects stale sessions (dead PIDs)
- Automatically restores accounts from dead processes
- Persistence file:
~/.ccs/cliproxy/auto-paused.json
Ban Detection
CCS monitors for ban-related error patterns during sessions: Detected Patterns:disabled in this accountviolation of terms of serviceaccount has been disabled/suspended/banned
- Affected account is auto-paused immediately
- No further retries on banned account
- Warning displayed with box border
Runtime Quota Monitoring
Available since v7.42.0. Monitors quota during active sessions, not just at startup.
Quota Warning
When quota falls below 20%, CCS displays a warning:Quota Exhaustion
When quota is fully exhausted:- Applies cooldown period to exhausted account
- Finds healthy alternative account (if available)
- Switches default account automatically
- Logs the switch for transparency
Antigravity Responsibility Checklist
Available since v7.49.0
- Account usage policies
- Rate limit awareness
- Fair use expectations
Configuration
Account safety runs automatically with no configuration needed. Behavior is controlled internally based on provider auth files.Manual Account Management
Storage
| Path | Purpose |
|---|---|
~/.ccs/cliproxy/auto-paused.json | Auto-pause session tracking |
~/.ccs/cliproxy/accounts.json | Account registry with pause state |
~/.ccs/cliproxy/auth/ | OAuth token files per provider |
Troubleshooting
Account Stuck in Paused State
Symptom: Account not rotating after crash Solution:False Ban Detection
Symptom: Account paused but not actually banned Solution: Resume manually and monitor:Next Steps
Multi-Account Setup
Configure multiple accounts per provider
Dashboard
Monitor account status via web UI
