Auto-approve
Auto-approve actions in Bob IDE eliminate repetitive prompts but increase security risks. Learn safe configuration practices for read, write, and execute permissions.
Auto-approve settings bypass confirmation prompts, giving Bob direct access to your system. This can result in data loss, file corruption, or worse. Command line access is particularly dangerous, as it can potentially run harmful operations that could damage your system or compromise security. Only enable auto-approval for actions you fully trust.
To auto-approve actions:
- At the bottom of the chat input field, select the Permissions button, located beside the Mode selector.
- Select which actions Bob can complete without asking for permission.
How approvals work
Before Bob runs a tool, it checks whether the action is pre-approved for the active task. If pre-approved, the action runs immediately. If not, an approval card opens in the chat interface.
Approval prompts appear one at a time so you have a clear, deliberate view of each action before it runs. Large details (such as a full file diff or command output) collapse into a preview frame by default. Click to expand them when you want to inspect full details.
Four approval controls
Auto-approval in Bob IDE combines four distinct controls across different scopes:
| Control | Where configured | Scope | Description |
|---|---|---|---|
| Tool-group auto-approval | Permissions picker in chat (or Settings → Tool Auto-approval) | Per task | Controls whether a tool group (Read, Edit, Execute, MCP, and so on) can skip approval cards. |
| Allowed and Denied Commands | Settings → Execute | Global | Defines terminal command patterns that can run automatically when Execute is turned on. |
| MCP Always Allow | Approval card (Approve for task) or MCP server settings (Always allow) | Task or global | Controls which individual MCP tools can run automatically. Turning on the MCP group alone does not auto-approve every MCP tool. |
| One-time approval | Approval card (Approve) | Single call | Runs this specific tool invocation once without changing future permissions. |
A master toggle controls auto-approval. If you turn off auto-approval entirely in the Permissions menu, group toggles do not auto-approve tool calls.
Task scope compared with global settings
- Active task permissions: The Permissions button in the chat interface sets tool group approvals for the active task. When you change permissions in an active task, the change applies only to that task.
- Global default settings: Under Settings → Tool Auto-approval, you configure the default permissions that new tasks inherit when created.
Available actions
When you auto-approve an action, Bob will complete the respective action without asking for permission.
| Action | Description | Risk level |
|---|---|---|
| Read | View your files and directory content | Medium |
| Edit | Create, edit, and save files to your directory | High |
| Execute | Run commands in your terminal | High |
| MCP | Use MCP servers you have configured | Medium-High |
| Skill | Activate skills you have defined | Medium |
| Todo | Update the todo list | Low |
| Subtask | Create and complete subtasks | Low |
| Subagent | Spawn subagents to handle focused tasks | Low |
| Mode | Switch modes to complete a task | Low |
Terminal commands and allowed commands
When you turn on the Execute tool group, Bob does not automatically run every terminal command. Auto-approval for commands requires matching Allowed Commands rules.
Matching rules
Under Settings → Execute, you can specify command prefix patterns:
- Prefix token matching: Bob splits patterns by whitespace and matches leading tokens. For example, adding
gitautomatically approvesgit status,git log, andgit diff. There is no wildcard (*or regex) syntax. - Specific command prefixes: To restrict permissions to a specific subcommand, specify the full prefix (such as
npm testorgit status). - Compound and piped commands: Bob parses pipelines (
|) and chained commands (&&,;) into separate segments. Every segment must match an entry in Allowed Commands to run automatically. For example,git status | head -5requires bothgitandheadin Allowed Commands. - Denied commands: Commands matching Denied Commands are blocked immediately and do not offer an approval card.
Command security verification
When Command Security Verification is turned on under Settings → Execute, Bob performs security heuristics on commands before running them. If a command involves high-risk patterns (such as potential credential exfiltration, destructive deletions, or elevated privilege requests), Bob flags the command for manual confirmation even if the binary is on your Allowed Commands list.
Approval card options for commands
When a command requires confirmation, the approval card provides the following options:
- Edit command: You can edit the command text directly in the approval card before running it.
- Approve: Runs the command once.
- Approve for task: Adds the parsed command segments to this task's approved commands and turns on Execute for the remainder of the task.
MCP tool approvals
The MCP tool group works differently from standard groups:
- Turning on the MCP group in Permissions makes MCP servers available in the active task, but does not grant blanket approval to all MCP tools.
- To auto-approve an MCP tool for the active task, click Approve for task on its approval card.
- To auto-approve an MCP tool globally across all future tasks, select Always allow for that tool in your MCP server settings.
When to use auto-approve
Auto-approve is most beneficial in these scenarios:
- Repetitive development tasks: When you trust Bob's actions, such as generating basic code.
- Batch operations: When you need to process multiple files without interruption.
- Exploratory coding sessions: When you want to maintain flow without constant prompts.
- Local development environments: Where security risks are contained.
Understanding actions
Each action controls a specific workflow that Bob can complete.
Read
Bob accesses and reads files in your project without asking for permission.
This includes viewing file contents, listing directory structures, and searching through your codebase. This permission involves information gathering rather than making changes to your system.
Edit
Bob creates, modifies, and deletes files without asking for permission.
Bob can apply code changes, refactor existing code, and manage file structure automatically. This directly modifies your codebase and involves high risk.
Execute
Bob can run terminal commands automatically without asking permission. This includes running build scripts, package managers, and other command-line tools.
Commands can complete system-level operations, and possibly run harmful processes. This action involves high risk.
MCP
Bob can use configured Model Context Protocol (MCP) servers without asking permission.
MCP servers provide additional tools and resources that extend Bob's capabilities. The risk level depends on what the specific MCP servers can access and modify.
Skill
Bob can automatically activate skills you have defined without asking for permission.
Skills are reusable instruction sets that teach Bob specialized workflows and tasks. When enabled, Bob will load and follow skill instructions based on your request and the skill's description. The risk level depends on what actions the skill instructions direct Bob to perform, but skills operate within Bob's existing tool constraints.
For more information, see Skills.
Todo
Bob can automatically update the todo list without asking for permission.
This allows Bob to track progress and manage task completion as work proceeds. This permission relates to task management rather than system access.
Subtask
Subtasks are separate task instances that Bob creates to break down complex work into manageable pieces. Bob can create and complete these subtasks automatically without asking for confirmation.
This permission relates to workflow organization rather than system access.
Subagent
Bob can automatically spawn subagents to handle focused, self-contained tasks without asking for permission.
Subagents run in their own isolated context and return a summary when done. This permission relates to workflow delegation rather than direct system access.
For more information, see Subagents.
Mode
Bob can change between different modes automatically based on task requirements.
This action involves workflow organization and does not affect system access.
Best practices for security
Follow these guidelines to use auto-approving actions safely:
- Start restrictive: Begin with minimal permissions and add more only as needed.
- Use project-specific settings: Customize auto-approve settings for each project based on risk tolerance.
- Disable when not needed: Turn off auto-approve when working with sensitive code or production systems.
- Review changes regularly: Periodically check what actions Bob has taken, especially file modifications.
- Never auto-approve in production: Restrict auto-approve settings to development environments only.
Chat interface
Bob IDE's chat interface is your primary workspace where you use natural language prompts, slash commands, and auto-approval for AI-assisted coding workflows.
Modes
Modes are specialized personas that tailor Bob's behavior for your specific tasks. Each mode offers different capabilities and access levels to help you accomplish particular goals more efficiently.