Skip to content
Progressive Robot·Indexed by this site · Originally published· Event →

Claude Code deleted 48,218 active files in 103 seconds

Claude Code file deletion: 48,000 files in 103 seconds

AI summary

During a Claude Code session running a cleanup script on Windows, 55,550 files were deleted in 103 seconds, of which 48,218 (86.8%) were active files reached through 614 junctions, and only 7,332 were old image files originally intended for cleanup. The agent report showed that .git/objects, refs, and logs were emptied, Git could not recover, 728 directories were emptied, including 418 under Runners; 872 Python files and 186 JSON files in the root directory, 18,224 files in Backups, etc., were unaffected. The authors analyzed why Claude Code's permission modes, deletion checks, checkpoints, and sandbox failed to block: it checks read-only command lines rather than script content, checkpoints do not cover Bash deletions, and the built-in sandbox does not support native Windows.

Read originalprogressiverobot.com