A user reported a severe data-loss incident involving an autonomous coding agent that deleted 48,218 live files from a Windows project tree and destroyed the repository's Git object store This article explores deletes files mirror. . ET, after the agent was authorized to rebuild a mirror for a task identified as "#873."
The claim is based on a Reddit post and an attached verifier report, not an independently published forensic investigation. According to the report shared on Reddit, the agent found that the build_mirror.py script could not refresh the mirror in place and therefore created a Python-based remover for an older copy stored in a temporary location. Claude Code Agent Allegedly Deletes Files The mirror housed 7,332 regular files and 614 Windows directory junctions that pointed back into the live Dashboard tree.
Its log counted 55,550 files, 614 junctions, and 1,808 directories. The verifier found 728 directories emptied, including 418 beneath "Runners." Root files, documentation, backups, chat transcripts, and files outside the Dashboard were all intact.
According to Anthropic's documentation, Manual mode requires approval for Bash commands and file modifications, while bypassPermissions should be used only in isolated containers or virtual machines. Until logs or forensic evidence are released, the precise account remains a user-reported incident with no independently verified attribution to a specific Claude Code defect on the affected machine.











