Topic 2 of 5 · 5 min read
Approval fatigue and auto-approve modes
Goal: Choose an approval mode for a given task and environment, and explain when full auto-approval is safe only inside a disposable sandbox.
An approval prompt only protects you if you read it, so choose the mode that asks rarely and about the right things, and use full auto-approval only where nothing valuable can be reached. Coding agents offer a small ladder of modes. The names differ by tool, the shape is the same.
Check yourself · 1 of 3
What is approval fatigue?
Why it matters
Prompts feel safe. In practice, after twenty "Allow this command?" dialogs in an hour, people press yes by reflex. This is approval fatigue. A prompt you do not read gives the feeling of control and none of the protection. Two bad habits follow: approving everything, or turning checks off in a moment of annoyance.
The usual ladder
- Default (ask): the agent asks before edits and most commands. Good for unfamiliar code and for learning what the agent does.
- Accept edits: file edits in the project go through without asking, commands still ask. Good when you will review the diff anyway.
- Plan (read-only): the agent can read and propose, but not change anything. Good for a first pass on a risky or unclear task.
- Bypass or full auto (Claude Code calls it bypass permissions; Codex has a similar full-access setting): nothing asks. Only for a throwaway container or VM with no real credentials, no private data and limited network.
How to choose
- Ask what the worst command could reach: your home folder, cloud keys, production, other repositories?
- If the answer is "something I care about", stay in default or accept-edits and use allow rules to cut the noisy prompts.
- If the answer is "nothing but a copy of the repo", full auto is reasonable, because the walls are physical rather than a click.
- Switch modes on purpose and back again. Do not leave bypass on as a new default.
Before and after
Before: a developer turns on bypass on their laptop to stop prompts. The laptop holds cloud credentials and an SSH key. An injected instruction in a web page the agent reads can now use them with no prompt.
After: the developer allows the ten commands they approve daily, keeps ask for everything else, and runs long unattended jobs in a disposable dev container with no credentials mounted.
What goes wrong
- Bypass on a real machine because "I trust the agent". The risk is not the agent's intent but untrusted text it reads.
- Plan mode forgotten, so the agent starts editing before the approach is agreed.
- Fatigue from poor rules: many prompts means the allow list is too small, not that checks should go.
Examples
Choosing a mode for three tasks
Reading a new codebase to answer questions: plan mode. Refactoring tests in your own repo while you watch: accept edits. Running a 3-hour migration experiment unattended: bypass, but only inside a container with a copy of the repo and no tokens.
Fatigue as a signal
If you approved npm test eleven times today, that is a missing allow rule. Add it, and the next prompt you see will be rarer and more likely to matter.
Key points
- Approval prompts protect you only when you actually read them; fatigue turns them into a reflex.
- Modes form a ladder: default, accept edits, plan, then full auto-approval.
- Full auto-approval belongs only in a disposable environment with no valuable credentials or data.
- Reduce prompt noise with precise allow rules rather than turning checks off.
- Choose the mode from the worst thing the agent could reach, not from how much you trust it.
Common mistakes
- Turning on full auto-approval on a laptop that holds cloud keys.
- Believing prompt injection only matters if the agent is "malicious".
- Clicking through prompts without reading the command text.
- Leaving a temporary mode on after the task that needed it.
Check yourself · 2 of 3
Where is full auto-approval most defensible?
Check yourself · 3 of 3
You approve the same test command 12 times a day. What is the best fix?
Practice items, not counted towards your mastery.
Start here
- Configure permissions (Claude Code) (opens in a new tab)DocsFree
Rule syntax, allow/ask/deny precedence, permission modes and settings file locations.
- Sandboxing (Claude Code docs) (opens in a new tab)DocsFree
How OS-level sandboxing, the network proxy and permissions work together.
- Making Claude Code more secure and autonomous with sandboxing (Anthropic) (opens in a new tab)ArticleFree
Why filesystem and network isolation are both needed, and how sandboxing cuts approval prompts.
More for this topic
- OWASP Top 10 for LLM Applications (opens in a new tab)StandardFree
Names prompt injection and excessive agency, the risks these controls contain.