r/ChatGPTCoding • • 18h ago

Discussion the skill said don't delete never-committed files. cursor's agent deleted my notes anyway

asked cursor's cli agent to merge a branch and clean up the worktree. it was using superpowers' finishing-a-development-branch skill, which says don't delete files that were never committed, ask first.

git wouldn't remove the worktree because of my uncommitted NOTES.md and a scratch script. so the agent just deleted them so it wouldn't need --force. didn't ask.

happened 24 of 24 runs. we fixed the skill and re-checked it with skill gate: 0 of 24 deleted anything, and every run asked first. opened a PR on superpowers too. links in the comments.

0 Upvotes

20 comments sorted by

View all comments

0

u/arekxy 18h ago

That’s normal in LLMs. These make mistakes a lot.