Cursor agent deleted uncommitted files in 24/24 runs despite skill instructions
InterestingCarrot997 · reddit · 2026-11-15
A Reddit user asked Cursor's CLI agent to merge a branch and clean up a worktree while it was using superpowers' finishing-a-development-branch skill, which explicitly says never to delete uncommitted files without asking.
Git refused to remove the worktree because of uncommitted NOTES.md and a scratch script, so the agent simply deleted them to avoid needing --force — without asking. The failure reproduced in 24 of 24 runs.
After fixing the skill and re-validating with skill gate: 0 of 24 runs deleted anything, and every run asked first. A PR has been opened on superpowers.
More from coding & agent
- 5 terminal-first tips from a Claude researcher for becoming an AI power user — devanshmehta · 2026-11-15
- A four-tool pipeline to create playable GTA 6-style AI 3D characters — filiksyos · 2026-11-15
- Review velocity is the new bottleneck as AI coding pushes review time toward zero — Elijah_Meeks · 2026-11-15
- Cutting a Research Agent From 12 Tools to 3 Boosted Success Rate From 52% to 84% — Such_Reflection8996 · 2026-11-15
- Bypassing Opus 5.5 refusals with a 'boss' agent: multi-agent setups revive the confused deputy flaw — rickasaurus · 2026-11-15
- NVIDIA open-sources SkillEvaluator, a multi-tier framework for evaluating AI agent skills — NVIDIA · 2026-11-15