Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Antigravity Auto is missing from the mode picker after a restart until a session starts #40129

Closedarshaw(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. With agy 1.5.13 signed in, open an Antigravity thread and confirm Auto is in the runtime-mode picker.
  2. Quit and reopen T3 Code.
  3. Open the runtime-mode picker on any Antigravity thread before sending a message.

Expected behavior

Auto is listed, as it was before the restart. agy 1.5+ advertises auto over ACP, and T3 already refuses Antigravity runtimes below 1.5 (#38970).

Actual behavior

Only Supervised, Auto-accept edits and Full access are listed. Auto reappears only after a message is sent in an Antigravity thread.

Cause (v0.1.11):

  • The provider starts from RUNTIME_MODES_WITHOUT_AUTO (apps/server/src/provider/AntigravityProvider.ts:177).
  • Auto is added only in onSessionStarted (:394), when session/new advertises an auto mode.
  • The startup probe, checkProvider (:294), only runs ACP initialize, which doesn't return session modes. So nothing adds Auto until a real session starts.
  • The supported-mode list is held in memory only, so every restart starts again without Auto.

Suggested fix

Any of:

  • Treat Auto as supported for agy ≥ 1.5, matching the existing minimum-version check (#38970).
  • Persist the last advertised mode list and seed the provider with it.
  • Have the probe start a throwaway session to read the modes.

Impact

Minor bug or annoyance

Auto can't be picked for a new Antigravity thread after a restart without first sending a message in another thread.

Version or commit

v0.1.11 (59651c17), agy 1.5.13

Environment

macOS, desktop app

Logs or stack traces

No response

Screenshots, recordings, or supporting files

No response

Workaround

Send any message in an existing Antigravity thread. Once its session starts, Auto appears in the picker.

  1. tanstack-source added labelsbug

  2. Note

    🤖 Claude Opus 5.5 responding on behalf of SimonLiu423

    Same on 0.1.12-nightly.20261122.5071 (Linux x64 server, macOS desktop client), agy 1.5.14. Every update/restart drops Auto until a session starts.

    One extra detail: the status cache (~/.t3/caches/antigravity.json) is restored on startup, but hydrateCachedProvider (apps/server/src/provider/providerStatusCache.ts:80) only restores models/status/auth/etc. and keeps supportedRuntimeModes from the in-memory default. So after a restart the provider shows ready with all models, but without auto. Restoring supportedRuntimeModes from the cache there would fix the restart case too.

    Workaround confirmed: refresh models in Settings → Providers → Antigravity.

  3. juliusmarminge closed this

Sign in to join this conversation.