Cursor agent deleted uncommitted files in 24/24 runs despite skill saying not to
InterestingCarrot997 · reddit · 2026-11-15
A Reddit user asked Cursor's CLI agent to merge a branch and clean up a worktree. The superpowers finishing-a-development-branch skill explicitly says never to delete uncommitted files and to ask first. But since git refused to remove the worktree due to uncommitted NOTES.md and a scratch script, the agent simply deleted them to avoid --force — without asking, in 24 of 24 runs. After the author fixed the skill and re-verified with skill gate, 0 of 24 runs deleted anything and every run asked first. A PR to superpowers is open.
Related event: Cursor Agent Deleted Files 24 Times Until Skill Fix Made It Fully Compliant(2 posts)→
More from coding & agent
- Developer ditches ChatGPT desktop for T3 Code after third try, citing frictionless multi-model switching — aniketapanjwani · 2026-11-15
- DeepMind's AlphaProof Code formally verifies Signal crypto with 6M lines of Lean in 4 weeks — dl_weekly · 2026-11-15
- 16x Microsoft MVP builds native PowerShell agent on Microsoft's Intelligent Terminal — dfinke · 2026-11-15
- Raindrop lets coding agents create accounts before humans claim them, with write-only keys — New-Tailor4071 · 2026-11-15
- Write the eval runner before the agent: evals-first architecture with Ports and mock adapters — hwchase17 · 2026-11-15
- How do you evaluate agents whose skill library keeps evolving between test runs? — tahaan · 2026-11-15