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 harness wiped sessions
Give every Claude Agent SDK or harness run its own CLAUDE_CONFIG_DIR. Sharing ~/.claude/projects lets a 24h transcript cleanup wipe your interactive session history.
0 upvotes
Claude wiped WSL home
Never let an agent run rm -rf $HOME. If a HOME override has to cross Git Bash to wsl.exe to bash, print the expanded path in the shell that will run the delete.
0 upvotes
Claude's rm check missed a glob and wiped a project
A safety check that blocks the exact path can miss a glob. Never let an agent clean up with rm -rf on a wildcard near the project; list what it matches first, and keep the project in git or a backup.
0 upvotes
Claude Code tests wiped the local dev database
Give agent-written tests their own throwaway database, because tests pointed at a database your dev app shares will wipe your real data.
0 upvotes
Claude Code wiped a local SQLite database mid-demo
Back up the local database before an agent session, even for a demo, and keep destructive database commands behind your own approval.
0 upvotes
Codex deleted Claude folder with the user's real app when asked to delete only the codex_projects folder
Give a delete command one exact path, and have the agent list what it will remove before it runs.
0 upvotes
Codex ran a destructive command and wiped 400GB+ of data, with auto-review on and full access off
Approval settings aren't a backup; keep anything you can't lose out of the agent's reach and backed up.
0 upvotes
Claude Code cleaned up its worktrees overnight and git followed a junction into the real 12 GB Assets folder
Cleanup jobs need to know what's a link and what's real. Keep backups, and don't let an agent delete unattended.
0 upvotes
Claude Code apologized after deleting all their project files, with no backups to fall back on
Keep backups or git remotes the agent can't touch before you let it run commands on your files.
0 upvotes
Claude Code deleted half the audiobook library while fixing metadata; a SnapRAID backup saved it
Give the agent a copy of the media to work on, not the library itself, and keep a backup it can't touch.
0 upvotes
Codex deleted the entire codebase plus three folders above it, basically the whole drive
Sandbox the agent to the project folder, and keep a backup outside its reach before you let it run shell commands.
0 upvotes
Agent's "small test script" ran rm -rf and wiped all Claude session transcripts and memory
Keep agent memory and transcripts backed up outside the agent's reach; test scripts it writes can delete them.
0 upvotes
Claude Code ran find -delete with an empty path and wiped a git checkout
Deny rules on rm don't catch find -delete. Guard every deletion target with a literal path or "${T:?}", and keep an off-machine mirror.
0 upvotes
Opus deleted dev database
If your dev agent can reach production, back it up like it already has.
0 upvotes
Claude's docker rm of the only crash log
Don't stretch a 'restart without asking' grant to docker rm. Export the only crash log, verify the file is non-empty, then delete in a separate step.
0 upvotes
Codex cloud thread wiped every artifact after 2 days
A cloud agent's workspace is not storage. Pull your outputs out.
0 upvotes
Claude auto mode deleted a directory for good
If you haven't restored a backup, you don't have one.
0 upvotes
An agent nuked an entire codebase
Push to a remote before the agent touches anything.
1 upvote
Sonnet 5.5 overwrote a .md file instead of appending
Write tools replace. Make the agent read the file first.
0 upvotes
Claude emptied a file with uncommitted changes to 0 bytes
Uncommitted work is unprotected work.
0 upvotes