Skip to main content
bash TV

One Cursor setting that stops your agent wiping the wrong folder

Rakhul Karthick

1.2K views20 Oct 2026

YouTube

Comment "GUARD" and I'll DM you the setting. One wrong delete command can wipe the wrong folder. Cursor 3.24 added a check for that. When the agent tries a risky delete, it stops and asks you first. That covers deletes that remove whole folders, force a delete, or use a wildcard. It also asks when the path might not point where you think. A folder name with spaces and no quotes. A variable that was never set. An agent that failed to switch folders. It lives inside Auto-review. Turn it on and leave it on. It's a safety net, not a guarantee. Keep committing to git. Rakhul #cursor #vibecoding #aicoding #developer #aitools

Join the discussion

Sign in to join the discussion

Sign in