Skip to content

Agent Directive: IDE Autonomy Configuration

Objective

Configure the local VS Code workspace settings to grant the Antigravity agent safe execution autonomy, preventing constant permission prompts while strictly blocking dangerous global wildcards.

Execution Sequence

1. Configure Workspace Settings

  • Ensure the directory .vscode/ exists at the root of the repository.

  • Create or update .vscode/settings.json.

  • Inject or merge the following JSON configuration, ensuring these exact safe commands are permitted:

    json
    {
      "antigravity.autoApprove.executeCommands": true,
      "antigravity.autoApprove.allowedCommands": [
        "pwsh*",
        "npm*",
        "npx*",
        "terraform*",
        "git*"
      ]
    }