A developer lost 48,218 files in 103 seconds after Claude Code, an AI agent, created and executed a cleanup script that deleted far more files than intended, including critical Git repository data that made recovery impossible. The incident highlights risks of running AI agents on live projects without proper version control backups or safeguards.