Skip to content

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 /compact dispatch pauses, and any write RPC returns safe_mode_active — keeping your official Antigravity client usable without blocking your work.

Inspect or clear Safe Mode anytime:

bash
node studio/cli.mjs safe-mode status
node studio/cli.mjs safe-mode off

2. One-Command Pause & Resume (studio:off / studio:on) ​

Temporarily pause AGY Studio without uninstalling or losing preferences, usage history, or governance snapshots:

bash
# 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 on

3. 3-Step Upgrade Runbook ​

If an Antigravity Desktop update shifts layout or triggers Safe Mode:

  1. Probe host contracts (read-only):
    bash
    npm run probe:host
    Check hostVersion, summary.criticalFailures, and any failed entry in results[] (which reports the exact contract ID and affected modulePaths).
  2. Run full diagnostics:
    bash
    npm run doctor
    Inspect paused, safeMode, hostBaseline, daemonAlignedWithDeploy, cdpStatus, and studioBundle.jsInjected.
  3. 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 / ToolStatusNotes
INK-Q/agy-fastCompatibleCoexists cleanly alongside AGY Studio
Lumidarin/agy-capsuleBuilt-in (do not double-enable)Already vendored in vendor/agy-capsule/ (MIT); disable standalone copies to avoid conflicts
oil-oil/agy-fast-ioBuilt-in optional pluginEnable via --with-rules / -WithRules (maga-fast-io); legacy ~/.gemini/AGENTS.md blocks migrate automatically
WhiteBr1ck/agy-powertoolsAvoid simultaneous useOverlaps 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:

  1. Enable System Proxy or TUN mode in your proxy client.
  2. Run diagnostics to inspect proxy environment forwarding:
    bash
    node studio/cli.mjs doctor
  3. Check the proxyDiagnostics field in the output (macOS LaunchAgent forwards 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:18791 through 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

Independent community open-source project (not affiliated with Google) · MIT License