3 ms·
Accidental data loss in Claude Code and OpenAI Codex: when AI deletes user files
- firasd 3mo agoI 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 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