Accidental data loss in Claude Code and OpenAI Codex: when AI deletes user files (firasd.substack.com) 2 points by firasd 1mo ago ↗ HN
[–] firasd 1mo ago ↗ I have been seeing a few tweets about AI agents deleting data and I figured there is a pattern in the examples I've seen. From the article:Example 1: $HOME didn’t address the directory assumed; PowerShell’s -Include parameter didn’t work as expectedExample 2: The DATABASE_URL was pointing to the wrong instance (live)Example 3: Git checkout after stash pop didn’t work as intended (discarded uncommitted changes)Example 4: macOS doesn’t consider capitalization when distinguishing folder namesExample 5: The regex didn’t match the intended boundaries
1 comment
[ 0.22 ms ] story [ 7.6 ms ] threadExample 1: $HOME didn’t address the directory assumed; PowerShell’s -Include parameter didn’t work as expected
Example 2: The DATABASE_URL was pointing to the wrong instance (live)
Example 3: Git checkout after stash pop didn’t work as intended (discarded uncommitted changes)
Example 4: macOS doesn’t consider capitalization when distinguishing folder names
Example 5: The regex didn’t match the intended boundaries