Repository navigation
Description
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
- Start an Antigravity thread in Auto.
- Ask the agent to read a file outside the thread's working directory, for example a sibling repo's
README.md.
Expected behavior
The read goes through without a prompt, as it does in Supervised, Auto-accept edits and Full access. #13584 set the rule: "Reads follow the sandbox and never ask… whatever the approval policy", and a read-kind session/request_permission is "auto-allowed, even though the provider chose to ask."
Actual behavior
Every file-tool read outside the working directory shows an approval card. The card offers only Allow once and Reject once, so a single investigation can produce dozens of cards.
Cause: antigravityPermissionDisposition (apps/server/src/provider/acp/AntigravityAcpSupport.ts:184, added in #39378) changes every non-deny decision to ask in Auto:
// agy's Auto has already reviewed what it sends; the user decides unless the sandbox forbids it.
return policy.runtimeMode === "auto" && disposition !== "deny" ? "ask" : disposition;The comment assumes agy's Auto has already reviewed whatever it sends. That isn't true for file reads: agy's Auto review only evaluates terminal commands that leave the sandbox (docs, and google-antigravity/antigravity-cli#1488). agy sends a read permission request for every non-workspace path that its own settings don't allow. T3's private agy profile has no user read_file rules (its settings.json is rewritten on every launch), so in practice every read outside the working directory reaches this override, and the shared policy's allow becomes ask.
#39866 calls this override intended. That holds for commands, but agy's Auto never reviews file reads, so for reads the premise in the code comment is false.
The result is that Auto prompts more than Supervised does.
Suggested fix
Skip the override for read-kind requests, for example isAcpReadKind(request.toolCall.kind). #39822 already adds a similar exemption to the same function for t3-code MCP calls.
Impact
Major degradation or frequent failure
Auto is unusable for any cross-repo work with Antigravity. Users drop to Supervised, which allows these reads anyway, or to Full access.
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
Use Auto-accept edits or Supervised instead of Auto. In both, T3's shared policy allows these reads without a card. Auto-accept edits is the closest to Auto: edits run without asking, reads outside the workspace are allowed, and only commands and MCP calls ask. (MCP calls still ask in Auto as well; see #38806.)
Alternatively, point the thread at a parent folder (for example the directory that holds all the repos involved). agy then treats those paths as part of the workspace and never sends a read request.
Full access also avoids the cards, but it removes all approval.
Activity
[-][Bug]:[/-][+][Bug]: Antigravity Auto asks before reads that every other runtime mode allows[/+]fcakyon commentedon Nov 21, 2026
+1, confirmed on Linux x64 (T3 Code
0.1.12-nightly,agy1.5.12, Google sign-in, thread in Auto running inside a git worktree).Live observation
<repo>/.agents/skills/fork-nightly/SKILL.md) raised afile-readapproval prompt (Allow once / Deny / Cancel) and blocked the turn overnight until manually approved.Test reproduction & suggested fix verification
apps/server/src/provider/acp/AntigravityAcpSupport.test.ts, runningantigravityPermissionDispositionin"auto"mode forread,search, andthinkreturned"ask"instead of"allow"on base7040a39cd0(origin/main97e7834f4b).isAcpReadKindfrompackages/provider-acp/src/server/clientPolicy.tsand returningdispositioninantigravityPermissionDispositionwhendisposition !== "deny"andisAcpReadKind(request.toolCall.kind ?? "other")holds restores"allow"forread/search/think(matching Supervised and Auto-accept edits), preserves"deny"when sandbox rejects the read, and keeps"ask"forexecuteandedit.AntigravityAcpSupport.test.ts(60 tests) andclientPolicy.test.ts(13 tests) — all passed.fix(antigravity): carry upstream Auto mode fixes on nightly
fcakyon commentedon Nov 21, 2026
Follow-up with live post-deploy confirmation (Linux x64, Google sign-in, native
runtimeMode: "auto",agy1.5.12) running the suggestedisAcpReadKindexemption inantigravityPermissionDisposition:read_fileon<main-checkout>/fcakyon-changelog.md) now completes in <1s with 0 approval prompts.origin/main, reading files in that sibling checkout from a worktree thread in Auto raised afile-readapproval card and blocked the turn until manually approved.ondrej-merkun commentedon Nov 23, 2026
+1, hitting this too on macOS.
Environment: T3 Code
0.1.11, macOS arm64, managed Antigravity CLI1.5.13(gemini-4-neon, Google OAuth sign-in).What happens:
Automode, all in-workspace file reads and sandboxed shell commands run without prompting.Info.plistunder/Applications) raises a manual approval prompt, even thoughacpOperationDispositionallows read operations in every other runtime mode.0.1.11server bundle,antigravityPermissionDispositionoverrides any non-"deny"disposition back to"ask"wheneverpolicy.runtimeMode === "auto", which catchesread/search/thinkrequests too.Preserving
"allow"for read-kind requests inantigravityPermissionDisposition(as noted above) would makeAutoconsistent with the other runtime modes.