A public wall of AI coding agent fails: Claude Code, Cursor and Codex disasters, each filed with a one-line lesson.
Got one of your own?Paste your own incident →90 fails filed, newest first
Scope cleanup commands to the exact paths the agent created; a wildcard like agent-* also matches other sessions' work.
0 upvotes
Keep paid API keys out of the agent's reach unless it truly needs them; an agent that can read .env can spend from it.
0 upvotes
When the agent keeps ignoring a requirement, stop the session and pin it in project rules or a failing check, instead of repeating yourself and paying for thrown-away work.
0 upvotes
Don't take the agent's word that a review happened. Open the reviewer's raw output; if it doesn't exist, the review didn't happen.
0 upvotes
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
A command denylist is not a sandbox. Limit what the agent can touch, not just which commands it can type.
0 upvotes
Keep backups or git remotes the agent can't touch before you let it run commands on your files.
0 upvotes
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
Keep personal identifiers out of the agent's reach, and read every outbound request header before a script hits someone else's server.
0 upvotes
Sandbox the agent to the project folder, and keep a backup outside its reach before you let it run shell commands.
0 upvotes
Scope the task to the files it needs, commit before you hand over the keys, and review the diff size before you accept a "small" change.
0 upvotes
When an agent says the code doesn't do something, check the code yourself. Profile memory before blaming buffers, and read what it wrote before you scale it out.
0 upvotes
Don't take an agent's word on what it changed. Read the diff before you accept its summary, and pin hard rules where every session sees them.
0 upvotes
Green tests don't prove nothing was removed; read the diff for deleted lines, especially in payment paths.
0 upvotes
Keep agent memory and transcripts backed up outside the agent's reach; test scripts it writes can delete them.
0 upvotes
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
Keep each project's credentials out of the agent's reachable paths; never share a key tree across folders.
0 upvotes
Keep .env out of anything an agent can deploy, and put spending caps on every cloud key.
2 upvotes
WSL mounts the Windows drive under /mnt/c, so a cleanup command in WSL can hit host files; scope agent deletes to the project path.
0 upvotes
Coding agents need explicit scope and branch locks before they rewrite tracked work or change branches.
0 upvotes