'I broke something': A Claude Code AI agent deleted 48,000 files in just over 100 seconds — then…

https://cdn.mos.cms.futurecdn.net/MZeWJhJjT34M4nQvMMX7fg-1376-80.jpg
  • AI coding agent mishandled Windows junctions, deleting ~48,000 live files and corrupting Git object database
  • Incident surfaced on Reddit, with community mocking lack of backups and calling it “classic FAFO”
  • Lesson stressed: always use remote version control (e.g., GitHub) before letting AI touch production work

A catastrophic incident caused by an AI coding agent resulted in around 48,000 files being deleted and the repository’s Git object database getting destroyed in the process.

The news of the fiasco, which first surfaced on Reddit, quickly spread throughout the internet, to a mix of laughter and facepalming from the developer community.

A software developer posted a new thread on Redditto share a recent experience. They tasked an AI coding assistant with a series of repairs to a collection of software they used to analyze historical stock-options data. They told the assistant to make copies of relevant files, work on them, test the...

Copyright of this story solely belongs to www.techradar.com. To see the full text click HERE

Read more