Skip to content
Failwallfailwall.dev

← Back to the wall

Claude CodeCodexAntigravity

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 Codevia @anurag_singhal on X

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 Codevia @YotamMe on X

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 Codevia lolancefrelas-lang on GitHub

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 Codevia @DKoronec on X

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 Codevia @PovilasKorop on X

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

Codexvia @accelerate27 on X

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

Codexvia @VishvendraReddy on X

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 Codevia @BerkeYrcr on X

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 Codevia @seanchk on X

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 Codevia @mayorofbellona on X

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

Codexvia @vebjorn_b on X

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

Claude Codevia @lhjartarson on X

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 Codevia VTFLAB on GitHub

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

Claude Codevia @andilosing on X

Opus deleted dev database

If your dev agent can reach production, back it up like it already has.

0 upvotes

Claude Codevia weathon on GitHub

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

Codexvia @DegenRisk on X

Codex cloud thread wiped every artifact after 2 days

A cloud agent's workspace is not storage. Pull your outputs out.

0 upvotes

Claude Codevia @softwareengng on X

Claude auto mode deleted a directory for good

If you haven't restored a backup, you don't have one.

0 upvotes

Othervia @DavidOndrej1 on X

An agent nuked an entire codebase

Push to a remote before the agent touches anything.

1 upvote

Othervia @itshmohan on X

Sonnet 5.5 overwrote a .md file instead of appending

Write tools replace. Make the agent read the file first.

0 upvotes

Claude Codevia @vahagnzak on X

Claude emptied a file with uncommitted changes to 0 bytes

Uncommitted work is unprotected work.

0 upvotes