AI agent fails: Deleted or wiped files/data (31 cases)
Failwall has filed 31 AI coding agent fails typed “Deleted or wiped files/data”, added between 2026-09-12 and 2026-11-24 (UTC). Types are assigned by hand, one per fail. Tools involved most: Claude Code (18), Codex (8), Other (3).
Claude deleted an entire roaming folder
Keep the agent out of your user profile.
0 upvotes
Codex nearly rm -rf'd a 130 GB Unraid share
Check what the agent actually mounted before it deletes. Recycle bins earn their keep.
0 upvotes
Codex wiped a database during a "minor change"
No agent gets write access to data it can't restore.
0 upvotes
Claude Code lost the schema and hallucinated a DROP TABLE
Long refactors drift. Re-check the schema before any migration.
0 upvotes
"Clean up unused files" deleted .env
Agents take you literally. Say which files to keep.
0 upvotes
Claude auto mode deleted a DB without asking
Destructive commands need a human yes, even in auto mode.
0 upvotes
Claude Opus deleted an entire database
Give agents a database they can afford to lose.
0 upvotes
Codex deleted almost an entire codebase
Commit before every agent run. It has no idea what a mistake costs you.
0 upvotes
Antigravity wiped 60 GB of a hard drive
Scope the agent to one folder. Everything else is off limits.
0 upvotes
Codex on auto trashed a codebase overnight
Don't sleep through auto mode. Review before you merge.
0 upvotes
Antigravity wiped an hour of human-written code. Again.
Commit before you hand the agent the keyboard.
0 upvotes