‘I broke something’: A Claude Code AI agent deleted 48,000 files in just over 100 seconds and later apologized for doing so


  • AI Encoding Agent mishandled Windows joins, deleting ~48,000 active files and corrupting the Git object database
  • The incident surfaced on Reddit, with the community mocking the lack of backups and calling it “classic FAFO.”
  • Lesson emphasized: Always use remote version control (e.g. GitHub) before allowing AI to touch production work.

A catastrophic incident caused by an AI encryption agent resulted in the deletion of around 48,000 files and the destruction of the repository’s Git object database in the process.

News of the fiasco, which first appeared on Reddit, quickly spread across the Internet, prompting a mix of laughter and criticism from the developer community.

Avatar photo

Miraj Islam is a writer and contributor at Oalanbrado, interested in news, current events, technology, lifestyle, and stories that matter to readers. He enjoys researching different topics and turning information into clear, useful, and engaging articles. Through his work, Miraj aims to keep readers informed with fresh perspectives and easy-to-understand content from Brazil and around the world.

Post Comment