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.
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.
5 comments
[ 3.4 ms ] story [ 20.2 ms ] threadRemember kids, with 5.5 you need to say make no fucking mistakes.
https://www.reddit.com/r/ClaudeAI/comments/1wl5cgo/code_just...
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.
The truth is, the author directed Claude to delete 48K file without proper supervision.