You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Make "Auto" Mode Truly Unattended & Context-Aware (Approve or Deny without "Ask" Prompts, like Codex)
#286
The Problem: Why does Auto mode still ask for manual approvals?
When selecting the Auto permission preset (in Antigravity Desktop App, CLI agy --mode auto, or SDK-driven agent sessions), users expect unattended execution. However, Auto mode still frequently halts on interactive confirmation prompts (e.g., Allow read access to this path? when calling read_file outside the workspace):
File Access & MCP aren't covered by the Auto reviewer: In Auto mode, the automated safety reviewer (command_assessor) only checks unsandboxed terminal commands. For read_file, write_file, and mcp, Auto uses the exact same rules as Default—immediately prompting (Ask) on any path outside the current workspace, even for a harmless read-only package.json.
The permission check ignores user intent in the chat: Even when the user explicitly asks the agent in the prompt to "check /Applications/ChatGPT.app/..." or "create a project in ~/Projects/foo", the permission engine doesn't use the conversation context to approve the action—it still pops up a confirmation card.
Ambiguous semantics between Default, Auto, and Turbo:
Preset
Expected Semantics
Current Behavior in Antigravity
Default
Human-in-the-loop: Auto-allow safe, Ask human when uncertain
Works as expected
Auto
Unattended with guardrails:Auto-Approve or Auto-Deny (0 prompts)
Falls back to Ask on non-workspace files, MCP, and uncertain commands
Turbo
Unrestricted: Always Allow
Works as expected
Proposed Improvement (Inspired by OpenAI Codex's "Auto / Approve for me" mode)
Use Conversation Context & User Intent: Let the Auto safety reviewer read the user's prompts in the current session. If reading/writing an external path or running a command directly matches what the user asked for, auto-approve it. If it deviates from user intent or touches sensitive credentials (~/.ssh, etc.) unprompted, auto-deny it.
Extend Auto review to read_file, write_file, and mcp: Don't hard-prompt on every non-workspace read_file call in Auto mode—let the automated reviewer evaluate it.
Never block on Ask in Auto mode: Make Auto a true binary decision (Approve or Deny). When denied, return the reason to the agent so it can adjust its approach without stalling unattended runs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
The Problem: Why does
Automode still ask for manual approvals?When selecting the
Autopermission preset (in Antigravity Desktop App, CLIagy --mode auto, or SDK-driven agent sessions), users expect unattended execution. However,Automode still frequently halts on interactive confirmation prompts (e.g.,Allow read access to this path?when callingread_fileoutside the workspace):Automode, the automated safety reviewer (command_assessor) only checks unsandboxed terminal commands. Forread_file,write_file, andmcp,Autouses the exact same rules asDefault—immediately prompting (Ask) on any path outside the current workspace, even for a harmless read-onlypackage.json./Applications/ChatGPT.app/..." or "create a project in~/Projects/foo", the permission engine doesn't use the conversation context to approve the action—it still pops up a confirmation card.Default,Auto, andTurbo:Proposed Improvement (Inspired by OpenAI Codex's "Auto / Approve for me" mode)
Autosafety reviewer read the user's prompts in the current session. If reading/writing an external path or running a command directly matches what the user asked for, auto-approve it. If it deviates from user intent or touches sensitive credentials (~/.ssh, etc.) unprompted, auto-deny it.Autoreview toread_file,write_file, andmcp: Don't hard-prompt on every non-workspaceread_filecall inAutomode—let the automated reviewer evaluate it.AskinAutomode: MakeAutoa true binary decision (ApproveorDeny). When denied, return the reason to the agent so it can adjust its approach without stalling unattended runs.(Cross-reference: Tracked for CLI/Desktop permission engine in google-antigravity/antigravity-cli#1488)
All reactions