← sources

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

source: reddit (reddit:AI_Agents)published 2026-11-15 14:28ingested 2026-11-16 02:34

retained text

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.

document fetched 2026-11-16 00:18 · canonical https://reddit.com/r/AI_Agents/comments/1xwwuqu/the_skill_said_dont_delete_nevercommitted_files