Maintenance & Troubleshooting
AGY Studio is built for low-touch long-term operation across future Google Antigravity Desktop upgrades.
1. Host-Drift Safe-Mode Circuit Breaker
Whenever Google Antigravity Desktop updates past the verified baseline (VERIFIED_HOST_BASELINES.latestVerifiedVersion, currently 2.36.0 / live-verified on 2.36.x), AGY Studio automatically runs a read-only host contract check (studio/daemon/host-tripwire.mjs):
- Checks critical DOM (
read_dom_testid), React Fiber (read_fiber_store), and SQLite (sqlite_schema) contracts. - Requires two consecutive failing probes before triggering (so slow cold starts never false-trigger), and stays passive when offline.
- When a critical contract breaks, AGY Studio engages read-only Safe Mode: UI injection pauses, background
/compactdispatch pauses, and any write RPC returnssafe_mode_active— keeping your official Antigravity client usable without blocking your work.
Inspect or clear Safe Mode anytime:
node studio/cli.mjs safe-mode status
node studio/cli.mjs safe-mode off2. One-Command Pause & Resume (studio:off / studio:on)
Temporarily pause AGY Studio without uninstalling or losing preferences, usage history, or governance snapshots:
# Pause UI injection & background Auto-Compact (takes effect within ~2.5s)
npm run studio:off
# or: node studio/cli.mjs off
# Resume cleanly
npm run studio:on
# or: node studio/cli.mjs on3. 3-Step Upgrade Runbook
If an Antigravity Desktop update shifts layout or triggers Safe Mode:
- Probe host contracts (read-only):bashCheck
npm run probe:hosthostVersion,summary.criticalFailures, and any failed entry inresults[](which reports the exact contract ID and affectedmodulePaths). - Run full diagnostics:bashInspect
npm run doctorpaused,safeMode,hostBaseline,daemonAlignedWithDeploy,cdpStatus, andstudioBundle.jsInjected. - Update, verify, or roll back:
- Check for a newer AGY Studio Release inside the Settings drawer or run the stable installer.
- Or revert Studio blocks only (keeping the base daemon):bash
npm run rollback
4. Compatibility Matrix
| Extension / Tool | Status | Notes |
|---|---|---|
INK-Q/agy-fast | Compatible | Coexists cleanly alongside AGY Studio |
Lumidarin/agy-capsule | Built-in (do not double-enable) | Already vendored in vendor/agy-capsule/ (MIT); disable standalone copies to avoid conflicts |
oil-oil/agy-fast-io | Built-in optional plugin | Enable via --with-rules / -WithRules (maga-fast-io); legacy ~/.gemini/AGENTS.md blocks migrate automatically |
WhiteBr1ck/agy-powertools | Avoid simultaneous use | Overlaps with AGY Studio's runtime DOM hooks |
5. Proxy Troubleshooting (Error Loading Models / EOF)
If Antigravity displays Error Loading Models or EOF, the error originates from Antigravity's native backend losing its proxy or TLS route to Google services:
- Enable System Proxy or TUN mode in your proxy client.
- Run diagnostics to inspect proxy environment forwarding:bash
node studio/cli.mjs doctor - Check the
proxyDiagnosticsfield in the output (macOSLaunchAgentforwards shell proxy variables; Windows reports system/environment proxy mismatches directly).
6. Advanced Extensions
Self-Hosted Remote Control (for users with private domains or mesh networks)
AGY Studio includes an off-by-default loopback gateway bound strictly to 127.0.0.1:18791, paired with a responsive desktop/mobile PWA and Android client for viewing conversations, approving tool calls, inspecting Git diffs, and viewing read-only Decision Inbox and Evidence Receipts.
- Desktop-only write redline: Branch landing (
Merge/Squash) and Worktree Fork & Race remain strictly desktop-only and are never exposed to the remote gateway. - Mandatory edge authentication: You MUST place Cloudflare Access or a private Tailscale tailnet in front of the loopback port. Never expose
127.0.0.1:18791through an unauthenticated public tunnel. - Manage via CLI:bash
node studio/cli.mjs remote status node studio/cli.mjs remote on node studio/cli.mjs remote pair node studio/cli.mjs remote devices node studio/cli.mjs remote revoke <device-id> node studio/cli.mjs remote off