Rename-instead-of-delete only covers file ops. The same instinct should apply to git force-push, drop table, and anything else with no undo, not just rm.
A few months ago Claude nuked one of our databases. We keep backups, so, "no big deal", but since then we just put "Never delete files, use the the trash or rename aside" (or a wordier version of that) in the global CLAUDE.md.
This works slightly too well, in fact. Our Claude is absolutely paranoid of deleting files, including writing code that has the capability to delete things.
I don't know why this was linked through archive.org. Although the original post was deleted, you can still read Reddit posts if you know the URL.
https://www.reddit.com/r/ClaudeAI/comments/1wl5cgo/code_just...
Rename-instead-of-delete only covers file ops. The same instinct should apply to git force-push, drop table, and anything else with no undo, not just rm.
Many vibe coders have always have confidently said: “I don’t look at the code”
The truth is, the author directed Claude to delete 48K file without proper supervision.
A few months ago Claude nuked one of our databases. We keep backups, so, "no big deal", but since then we just put "Never delete files, use the the trash or rename aside" (or a wordier version of that) in the global CLAUDE.md.
This works slightly too well, in fact. Our Claude is absolutely paranoid of deleting files, including writing code that has the capability to delete things.
Frankly I'm OK with this.
Claude providing an AI summary of Claudes laughing at Claudes and their users is ... I don't actually know what it is, but it's certainly something.
Remember kids, with 5.5 you need to say make no fucking mistakes.