Environment
- Product: Antigravity Desktop App / CLI
- Version: 1.1.27
- OS: Windows 11 Pro
Summary
When selecting "Turbo Mode" in the Antigravity Desktop App Settings, the UI serializes globalPermissionGrants as an empty object {} inside ~/.gemini/config/config.json, but fails to persist "permissionPreset": "AGENT_PERMISSION_PRESET_TURBO".
As a consequence, the backend engine (language_server.exe) loads an empty grant allowlist without an active Turbo preset, causing file write and modification tools (write_to_file, replace_file_content) to continuously trigger permission confirmation modals in the UI.
Steps to Reproduce
- Configure explicit permission grants (e.g.
write_file(C:\)).
- Open Settings in the Antigravity Desktop interface and select "Turbo Mode" / unrestricted mode.
- Save settings and inspect
~/.gemini/config/config.json.
- Prompt the agent to create or edit a file.
Observed Behavior
In ~/.gemini/config/config.json:
artifactReviewMode is set to "ARTIFACT_REVIEW_MODE_TURBO".
browserJsExecutionPolicy is set to "BROWSER_JS_EXECUTION_POLICY_TURBO".
autoExecutionPolicy is set to "CASCADE_COMMANDS_AUTO_EXECUTION_EAGER".
globalPermissionGrants is cleared to {}.
permissionPreset is omitted entirely.
Because globalPermissionGrants is now empty and the top-level enum AGENT_PERMISSION_PRESET_TURBO was not written, the PolicyGuardian engine treats all file writes as unapproved and prompts the user for confirmation on every edit.
Expected Behavior
Selecting "Turbo Mode" in the UI should write "permissionPreset": "AGENT_PERMISSION_PRESET_TURBO" to userSettings in config.json (or preserve necessary file write grants), allowing the agent to perform file operations autonomously without modal prompts.
Environment
Summary
When selecting "Turbo Mode" in the Antigravity Desktop App Settings, the UI serializes
globalPermissionGrantsas an empty object{}inside~/.gemini/config/config.json, but fails to persist"permissionPreset": "AGENT_PERMISSION_PRESET_TURBO".As a consequence, the backend engine (
language_server.exe) loads an empty grant allowlist without an active Turbo preset, causing file write and modification tools (write_to_file,replace_file_content) to continuously trigger permission confirmation modals in the UI.Steps to Reproduce
write_file(C:\)).~/.gemini/config/config.json.Observed Behavior
In
~/.gemini/config/config.json:artifactReviewModeis set to"ARTIFACT_REVIEW_MODE_TURBO".browserJsExecutionPolicyis set to"BROWSER_JS_EXECUTION_POLICY_TURBO".autoExecutionPolicyis set to"CASCADE_COMMANDS_AUTO_EXECUTION_EAGER".globalPermissionGrantsis cleared to{}.permissionPresetis omitted entirely.Because
globalPermissionGrantsis now empty and the top-level enumAGENT_PERMISSION_PRESET_TURBOwas not written, the PolicyGuardian engine treats all file writes as unapproved and prompts the user for confirmation on every edit.Expected Behavior
Selecting "Turbo Mode" in the UI should write
"permissionPreset": "AGENT_PERMISSION_PRESET_TURBO"touserSettingsinconfig.json(or preserve necessary file write grants), allowing the agent to perform file operations autonomously without modal prompts.