The call
Auto-approve file reads only, keep commands on manual approval, leave checkpoints on, and allow YOLO mode only in throwaway sandboxes.
Pass --auto-approve false for interactive CLI use, because the CLI approves everything by default.
Cline's IDE extensions ask before every edit and command until a team opens categories in Auto Approve, and checkpoints let an engineer roll back one step. The model decides which commands count as safe, with no fixed list behind it, so the command setting carries the most risk. This guide maps each setting to a team policy and the incidents engineers have reported.
When you need this
- Engineers turn on auto-approve to stop clicking Approve every few seconds.
- Someone asks whether YOLO mode is allowed.
- You are adding the Cline CLI to scripts or CI.
- An agent deleted or rewrote something it should not have touched.
Evaluation criteria
Start with reads only
What may Cline do without a prompt on day one?
Look forRead project files on, and edits, commands, browser, and MCP off until there is a reason, as Cline's documentation recommends. One engineer who still approves each step after two years of daily use reports better results and lower token spend.
Decide on commands
Which terminal commands run unattended?
Look forExecute safe commands only. The model tags each command as safe or not, and the CLI has no allow or deny list for shell commands. One user found git commit --amend ran as a safe command, and a team found Cline ran an eval of a base64 payload hidden in fetched content with only safe commands approved. Keep Execute all commands off on shared machines. To block specific commands in the CLI, add a PreToolUse hook that cancels them, as Cline's CLI reference describes.
Bound where edits land
Can Cline write outside the repository?
Look forEdit project files without Edit all files, so edits stay in the workspace. Keep configuration, CI, and dependency changes on manual approval, as one architect's policy does.
Keep checkpoints on
Can you undo one bad step without losing the session?
Look forCheckpoints on, their default. After each tool use, Cline commits the project files to a shadow Git repository kept apart from your own history, and offers Restore Files, Restore Task Only, or both. Cline notes they can slow very large repositories, so measure before you turn them off.
Set the CLI default
Do scripts and CI runs approve everything?
Look forThe CLI's global auto-approve defaults to on, except in ACP mode, where it defaults to off. Pass --auto-approve false for interactive use, and run unattended jobs only on a clean branch in an isolated environment.
Write the YOLO rule
When may a session approve everything?
Look forYOLO mode only in throwaway or sandboxed environments, as Cline's own guidance says. YOLO approves every action, including the switch from Plan to Act. No product enforces the organization setting yet, so name an owner for the rule.
Questions to ask vendors
- Can administrators name commands that always need approval? Today the model sets each command's approval flag, and the CLI blocks commands only through a PreToolUse hook the team writes.
- When will the IDE extensions enforce the organization's YOLO setting?
- Where on disk do a task's shadow Git checkpoints live, and what happens to them when the task is deleted?
- Does Plan mode block every write tool in the release we deploy? GitHub issue #13140 on this was still open on Oct 25, 2026.
Red flags
- Execute all commands or YOLO mode on a machine with production credentials.
- Checkpoints turned off with no Git commit before the session.
- CLI runs in CI with the default auto-approve and write access to the main branch.
- Cleanup or delete commands run in Act mode without a reviewed plan. In October 2026 a mangled PowerShell rmdir deleted about 1.5 TB from one user's data drive.
Products in this piece
Sources
- Official documentation
- 7
- Public source
- 7
- Cline docs: Auto Approve & YOLO mode
- Cline docs: Checkpoints
- Cline docs: CLI overview
- Cline docs: YOLO mode controls
- Cline docs: Enterprise provider configuration
- Cline docs: Plan & Act mode
- GitHub issue #14864: a mangled PowerShell rmdir in Act mode deleted a data drive (Oct 6, 2026)
- GitHub issue #4084: an eval hidden in fetched content ran as a safe command (Jun 6, 2025)
- GitHub issue #12133: git commit --amend treated as a safe command (Jul 7, 2026)
- GitHub issue #13140: Plan mode not respecting edit permissions after the 4.x SDK migration (Aug 10, 2026)
- Juan Torchia: Cline on Autopilot: Why I Put Limits on My Agent (Sep 2, 2026)
- Michael Lynch: The Cline AI Assistant is Mesmerizing (Feb 1, 2025)
- Embrace The Red: Cline: Vulnerable To Data Exfiltration And How To Protect Your Data (Aug 27, 2025)
- Cline docs: CLI reference