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
Copy file name to clipboardExpand all lines: docs/features/auto-approving-actions.mdx
+35-10Lines changed: 35 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ The toolbar includes an input field to set the maximum number of API requests Ro
63
63
-**Purpose**: Prevents runaway API usage and unexpected costs
64
64
-**Default**: No limit (empty field)
65
65
-**Recommended**: Set a reasonable limit based on your task complexity (e.g., 50-100 for most tasks)
66
-
-**How it works**: Once the limit is reached, Roo will pause and ask for permission to continue
66
+
-**How it works**: Once the limit is exceeded, Roo will pause and show a dialog allowing you to reset the counter and continue
67
67
68
68
This safety feature is particularly useful when:
69
69
- Working with expensive API models
@@ -99,6 +99,7 @@ The leftmost checkbox works as a master toggle:
99
99
-**Checked**: Activates all configured auto-approve permissions
100
100
-**Unchecked**: Temporarily disables all auto-approvals without changing individual settings
101
101
-**Important**: Individual permission settings are preserved when toggling
102
+
-**Note**: The master toggle is temporarily disabled while the auto-approve menu is expanded
102
103
103
104
This means you can:
104
105
1. Configure your preferred permissions once
@@ -162,7 +163,7 @@ By default, Roo can only read files within your current workspace directory. The
162
163
163
164
**Description:** "Automatically create and edit files without requiring approval"
164
165
165
-
**Delay slider:** "Delay after writes to allow diagnostics to detect potential problems" (Default: 0ms)
166
+
**Delay slider:** "Delay after writes to allow diagnostics to detect potential problems" (Default: 1000ms / 1 second)
166
167
167
168
**Additional options:**
168
169
-**Include files outside workspace:** Allow Roo to modify files outside the current workspace directory
@@ -172,8 +173,8 @@ By default, Roo can only read files within your current workspace directory. The
172
173
173
174
This setting allows Roo to modify your files without confirmation. The delay timer is crucial:
174
175
- Higher values (2000ms+): Recommended for complex projects where diagnostics take longer
175
-
- Default (0ms): No delay - use when speed is critical
176
-
-1000ms: Suitable for most projects with active diagnostics
176
+
- Default (1000ms): Suitable for most projects with active diagnostics
177
+
-0ms: No delay - use when speed is critical
177
178
- Lower values: Use only when in a controlled environment
178
179
179
180
#### Security Boundaries
@@ -182,7 +183,12 @@ The write operations setting includes two important security controls:
182
183
183
184
1.**Workspace Boundary Protection**: By default, Roo can only modify files within your current workspace. Enable "Include files outside workspace" with extreme caution.
184
185
185
-
2.**Protected Files**: Files in .rooignore and the .roo/ directory are protected by default. The "Include protected files" option bypasses this protection - use only when necessary.
186
+
2.**Protected Files**: Roo has built-in protection for sensitive configuration files to prevent accidental modifications. This includes:
187
+
- Files in the `.roo/` directory
188
+
- Files listed in `.rooignore`
189
+
- Roo's own configuration files (package.json, tsconfig.json, etc. when they contain Roo-specific settings)
190
+
191
+
The "Include protected files" option bypasses this protection - use only when you specifically need to modify these protected files.
186
192
187
193
#### Write Delay & Problems Pane Integration
188
194
@@ -233,13 +239,25 @@ Consider the security implications of allowing automated browser access.
233
239
234
240
**Description:** "Automatically retry failed API requests when server returns an error response"
235
241
236
-
**Delay slider:** "Delay before retrying the request" (Default: 5s)
242
+
**Delay slider:** "Delay before retrying the request" (Default: 10 seconds)
237
243
238
244
**Risk level:** Low
239
245
240
-
This setting automatically retries API calls when they fail. The delay controls how long Roo waits before trying again:
241
-
- Longer delays are gentler on API rate limits
242
-
- Shorter delays give faster recovery from transient errors
246
+
This setting automatically retries API calls when they fail. The retry mechanism uses exponential backoff:
247
+
-**Initial delay**: Set by the slider (default: 10 seconds)
This exponential backoff helps prevent overwhelming APIs while still recovering from transient errors.
243
261
:::
244
262
245
263
### MCP Tools
@@ -259,6 +277,8 @@ This setting requires a two-step permission process for security:
259
277
260
278
**Important:** Both permissions must be active for a tool to auto-approve. This dual-permission system ensures you maintain granular control over which MCP tools can execute without confirmation.
261
279
280
+
**Permission Storage:** Your MCP tool permissions are saved and will be remembered next time you use Roo Code.
281
+
262
282
Example workflow:
263
283
- Enable "Always approve MCP tools" in settings
264
284
- Navigate to MCP Servers view
@@ -342,7 +362,12 @@ This setting allows terminal command execution with controls. While risky, the w
342
362
343
363
**Visual countdown:** When enabled, a countdown timer appears on the first suggestion button, showing the remaining time before auto-selection. The timer is displayed as a circular progress indicator that depletes as time passes.
344
364
345
-
**Timeout slider:** Use the slider to set the wait time from 1 to 300 seconds (Default: 60s).
365
+
**Timeout slider:** Use the slider to set the wait time from 1 to 300 seconds (Default: 60 seconds)
366
+
367
+
**How it works:**
368
+
- The countdown starts at your configured time (default: 60 seconds)
369
+
- When the timer reaches zero, the first suggestion is automatically selected
370
+
- You can pause the countdown by clicking on the timer
346
371
347
372
**Override options:** You can cancel the auto-selection at any time by:
0 commit comments