Skip to main content

Buyer guide

Cline Auto-Approve and Checkpoints Policy

Which actions Cline takes without asking, when YOLO mode is acceptable, and how checkpoints undo a bad step.

Reading time
3 min read
Sources
14 cited
In this piece
Cline+39 Positive

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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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

  1. 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.
  2. When will the IDE extensions enforce the organization's YOLO setting?
  3. Where on disk do a task's shadow Git checkpoints live, and what happens to them when the task is deleted?
  4. 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
  1. Cline docs: Auto Approve & YOLO modeOfficial documentationdocs.cline.bot
  2. Cline docs: CheckpointsOfficial documentationdocs.cline.bot
  3. Cline docs: CLI overviewOfficial documentationdocs.cline.bot
  4. Cline docs: YOLO mode controlsOfficial documentationdocs.cline.bot
  5. Cline docs: Enterprise provider configurationOfficial documentationdocs.cline.bot
  6. Cline docs: Plan & Act modeOfficial documentationdocs.cline.bot
  7. GitHub issue #14864: a mangled PowerShell rmdir in Act mode deleted a data drive (Oct 6, 2026)Public sourcegithub.com
  8. GitHub issue #4084: an eval hidden in fetched content ran as a safe command (Jun 6, 2025)Public sourcegithub.com
  9. GitHub issue #12133: git commit --amend treated as a safe command (Jul 7, 2026)Public sourcegithub.com
  10. GitHub issue #13140: Plan mode not respecting edit permissions after the 4.x SDK migration (Aug 10, 2026)Public sourcegithub.com
  11. Juan Torchia: Cline on Autopilot: Why I Put Limits on My Agent (Sep 2, 2026)Public sourcedev.to
  12. Michael Lynch: The Cline AI Assistant is Mesmerizing (Feb 1, 2025)Public sourcemtlynch.io
  13. Embrace The Red: Cline: Vulnerable To Data Exfiltration And How To Protect Your Data (Aug 27, 2025)Public sourceembracethered.com
  14. Cline docs: CLI referenceOfficial documentationdocs.cline.bot