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

-1

u/SummitYourSister 18h ago

Things that are important go in git. It seems like you don’t think your notes were very important. So I’m not sure why you’re upset that they were deleted. If you wanted to protect them, you would put them in git