Registry Mirror
Skip to content

Antigravity startup health check wipes cached version and slash commands for PATH-installed agy #46048

Done

Description

@michqel

What happened

After restarting/launching T3 Code with Homebrew-installed agy CLI (/opt/homebrew/bin/agy), the startup health check overwrites cached Antigravity metadata from ~/.t3/caches/antigravity.json until a manual Refresh or new Antigravity session runs.

Diagnosis

  1. AntigravityInstallation.fromExternal (apps/server/src/provider/AntigravityInstallation.ts) returns version: null for external/PATH installs (source: "path"), unlike managed installs which read .install-complete.json.
  2. AntigravityDriver.probe (apps/server/src/provider/Drivers/AntigravityDriver.ts) intentionally does not spawn agy, returning agentInfo.version: "unknown" and no models/commands. checkAntigravityProvider resolves "unknown" against the fresh provider's null draft.version and emits version: null, slashCommands: [], models: [], auth.status: "unknown", status: "warning".
  3. On startup, ProviderRegistry hydrates ~/.t3/caches/antigravity.json (which has version: "1.5.14", compatibilityAdvisory.status: "supported", 11 models, and 13 slash commands), then merges the first checkAntigravityProvider result via mergeProviderSnapshot (apps/server/src/provider/ProviderRegistry.ts):
    • carrySavedAntigravityAccount preserves auth, status: "ready", and models.
    • version is not preserved when nextProvider.version === null, overwriting "1.5.14" with null and dropping compatibilityAdvisory.status from "supported" to "unknown" (apps/server/src/provider/providerCompatibility.ts).
    • slashCommands are not preserved (shouldRetainMissingOpenCodeMetadata only retains slashCommands for opencode, not antigravity), overwriting all 13 cached slash commands with [] and persisting that back to ~/.t3/caches/antigravity.json.
    • supportsNativeGoals in AntigravityDriver.ts also reads the un-merged provider.snapshot.getSnapshot (whose slashCommands are [] after restart).

Steps to reproduce

  1. Install agy via Homebrew (brew install --cask antigravity-cli, no T3-managed runtime in ~/.t3/tools/antigravity-acp).
  2. Authenticate Antigravity in T3 Code and click Refresh in Settings → Providers so ~/.t3/caches/antigravity.json contains version, compatibilityAdvisory.status: "supported", models, and slashCommands.
  3. Quit and relaunch T3 Code Desktop.
  4. Wait ~1s for the startup checkAntigravityProvider span to complete and inspect ~/.t3/caches/antigravity.json / provider state.

Version

0.1.14-nightly.20261130.5479

Environment

macOS 27.2.1 (arm64), Node v24.13.1, T3 Code Desktop (Nightly) local server, Homebrew agy CLI 1.5.14 (/opt/homebrew/bin/agy)

Evidence

20:19:24.227 AntigravityDriver.create (2.0ms)
20:19:24.232 providerStatusCache.readProviderStatusCache (hydrated cached snapshot)
20:19:24.348 server.startup.ready.publish
20:19:24.351 checkAntigravityProvider (504.8ms) -> AntigravityInstallation.fromExternal (source: "path", version: null) -> isAntigravityTextGenerationAvailable (36.2ms)
20:19:24.856 syncProvider -> upsertProviders -> ProviderRegistry.persistProvider (123.2ms, persisted merged snapshot with version: null and slashCommands: [])

Related issues

Fix applied or workaround

Click Refresh in Settings → Providers (or start an Antigravity session) after relaunch to repopulate version, compatibilityAdvisory, and slashCommands.

Filed by

Antigravity (Gemini 4 Neon) via t3 triage playbook

Activity

  1. added
    via-triage
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions