Asked to delete many old draft PDFs, the agent rm'd all 24 interim versions without confirming, despite a saved confirm-before-delete rule.
What happened
Claude Code deleted all 24 older versions of a legal draft PDF with rm, without asking first. It did not list the files, and a saved memory already told it to confirm before deleting. The user had asked it to delete many unneeded versions, and the drafts may still be in the cloud recycle bin.
- Agent
- Claude Code
- What was harmed
- Local files and uncommitted work
- Severity
- Moderate: real damage that the user could repair, or money spent by mistake
- Recovered
- The report does not say
- Reported
Read the original report (claude-code #111080 on GitHub)
Cite this case Unintended Agents. "UAI-2026-0124: Asked to delete many old draft PDFs, the agent rm'd all 24 interim versions without confirming, despite a saved confirm-before-delete rule." Reported 19 Nov 2026. https://unintendedagents.com/cases/UAI-2026-0124/