[Bug]: Antigravity thread set to Auto stays in agy's default mode, so every shell command asks for approval #40896
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 (Antigravity provider)
Steps to reproduce#
- Use Antigravity with a Google sign-in that offers agy's Auto mode. On the same machine, an Auto session worked the night before.
- Start a new Antigravity thread (Gemini 4 Neon) with Permissions set to Auto. I started it from the mobile app, connected to my Mac.
- Let the agent run shell commands.
So far I've seen this once.
Expected behavior#
The session runs in agy's Auto mode, and only commands that agy's review rejects come to me.
Actual behavior#
Every shell command asks for approval, including read-only ones like ls and git for-each-ref. agy's log shows its review approved all 34 commands, but the session stayed in default mode:
[Sonar] Resolved active tags: [jetski_mode_default policy_guardian sonar_skip_tags]
Monitor sir_flash_lite FINISHED: triggered=false, reason="...routine, read-only operation."
In the working session the night before, agy got a session/set_config_option and logged Session mode set to auto. In this thread it got no mode change at all, only initialize, authenticate, session/new and session/prompt. The composer still shows Auto, and T3 Code still lists Auto as available for Antigravity.
Impact#
Auto silently acts like Supervised. A long research thread needed dozens of approvals, and nothing in the UI shows why.
Version or commit#
T3 Code 0.1.11
Environment#
Desktop app, macOS arm64, agy 1.5.13, Google sign-in
Workaround#
Switch the thread to Full access.
Drafted with Claude Opus 5.5 (Claude Code) on behalf of @lingolooper-simon.
tanstack-source added labelsbug
Adding a data point from Windows, after updating to T3 Code 0.1.12.
Environment: T3 Code 0.1.12 desktop, Windows 11, agy 1.5.13, Google sign-in,
gemini-4-neon. The thread was a sub-agent started withdelegate_taskfrom a Claude thread, withruntimeMode: auto.What works now: the mode reaches agy. Its log for this thread shows
ACP Request received: session/set_config_option Session <id> mode set to auto [Sonar] Resolved active tags: [jetski_mode_auto policy_guardian sonar_skip_tags]and 27 shell commands (
git log,git grep,pytest,Get-ChildItem) ran with no approval card.What still asks: in a 12-minute run the thread stopped 5 times for approval, each time for a
Readof a file outside the thread's workspace folder (one file in a sibling project folder, and a script in the home folder that the task named). Reads inside the workspace never asked. agy's own check passed these calls, and it still waited for a confirmation:Monitor agy_tool_safety FINISHED: triggered=false, reason="allowed_tool" Monitor sir_flash_lite SKIPPED ... 96 s later ... Tool confirmation for conversation <id> step 2 (type=*gemini_coder_go_proto.Step_Generic approved=true)The first two cards waited 96 s and 55 s for a click. The composer showed Auto throughout.
Impact: a sub-agent in Auto can't run unattended when its task points at any file outside the workspace: the parent thread waits on a card nobody is watching. Full access is still the only mode that runs through.
If read prompts outside the workspace have a different cause from the one tracked here, I can open a separate issue.
I’m seeing this on T3 Code desktop 0.1.12 with managed Antigravity 1.5.14, Google sign-in, Gemini 4 Neon, and macOS 27.2.1 (arm64). It happened after restarting T3 Code and continuing an existing thread. The thread still had Permissions → Auto. A routine
git statuscommand brought up a command approval card and stopped the turn for a decision.I compared two resumes of the same thread on November 25. Selected events below are in local time (EST), with session IDs and workspace details omitted.
Earlier resume 13:48:30 session/resume → session/set_config_option 13:48:30 Antigravity: mode set to auto 13:48:31 Antigravity: jetski_mode_auto Resume after restarting T3 Code 16:57:58 session/resume → session/set_config_option → session/prompt 16:57:59 Antigravity: jetski_mode_default 16:58:29 Antigravity: git status 16:58:30 T3 Code: command approval request, thread runtimeMode=autoThe later resume logged a
session/set_config_optioncall, but nomode set to autoentry. A subsequent prompt in that session still loggedjetski_mode_default. This looks like a resume case to check against #40906. I’d expect Auto to be reapplied when the session resumes, or for T3 to say that native Auto is unavailable for that session.Update:
I restored Auto in the same thread by completing one tool-free turn in Supervised, then switching back to Auto and starting a new turn. agy logged mode set to auto, and git status --short completed without an approval prompt. I haven’t tested whether it survives another restart.
Hitting a very similar UX issue on macOS with the Antigravity provider (Gemini 4 Neon) and the thread set to Auto (
runtimeMode: "auto"):- Sandboxed commands (
git status,go test, file edits) run automatically, but any command that needs to bypass the sandbox (e.g.git add/git commitfailing on.git/index.lockwithOperation not permitted, orgit pushneeding network) triggers repeated Allow once prompts (no session-level allow option, similar to #40933). - What makes this especially rough is that the approval card doesn't show the command being executed — in the thread activity, the
approval_requestitem only hastitle: nullandtext: "Ran command", while the actual command ($ git push,$ git commit ...) only shows up in thecommand_executionitem after approving. So you end up blindly clicking "Allow once" without seeing what will run.
I don't see this behavior with Claude (Anthropic) or Codex (OpenAI) threads in T3 Code.
Even when a sandbox-bypass approval is genuinely required in Auto mode, showing the actual command line inside the approval card would already help a lot.
- Sandboxed commands (
Sign in to join this conversation.
+1, also seeing Antigravity threads set to
Autoprompt unexpectedly on the same setup.Environment: T3 Code
0.1.11, macOS arm64, managed Antigravity CLI1.5.13(gemini-4-neon, Google OAuth sign-in).Impact:
Autowith no warning or indicator that the underlying ACP session is not running inagy's nativeautomode.Full accessand starting a fresh turn.Surfacing a clear status indicator (or ensuring
session/set_config_optionis always sent and verified whenAutois active) would make this much easier to diagnose and avoid silent Supervised behavior.