Post

> I made a serious mistake. The regex failed to capture the numbers and titles, and all 24 files were renamed to the same filename, causing 23 files to be overwritten. I'm very sorry - this data loss cannot be undone through normal means Thanks Claude Code for deleting my files 🤦‍♂️

3 reposts33 likes

To be fair, before AI, when we tried out destructive commands but didn't use source control or backups of any kind, we just had ourselves to blame for damage. I think everyone lost some work before getting better habits (I did). I'd like it if Claude & friends were clearer that we're in charge.

A bad experience, but it also reminds us that when programming with AI, it's best to let AI review important mitigations like regular expressions, file paths, etc.