Home / Incidents / Jul 2025

Gemini CLI Moved Files Into a Folder That Didn't Exist, Then Confessed to 'Gross Incompetence'

big oops verified gemini-cli Last verified Jul 17, 2026
TL;DR  On July 25, 2025, Google's Gemini CLI silently failed to create a directory, decided it existed anyway, and moved product manager Anuraag Gupta's files into it, destroying them. The agent then announced 'I have failed you completely and catastrophically.' No verification step ever ran between the failed command and the destructive ones.
Date
Jul 25, 2025
Tools involved
gemini-cli
Impact
User's project files permanently destroyed by Windows move commands aimed at a directory that did not exist.
Root cause
A directory-creation command silently failed; the agent acted on hallucinated success and never verified state before running destructive moves.

What happened

On July 25, 2025, product manager Anuraag Gupta was testing Google's newly launched Gemini CLI coding tool, asking it to reorganize some folders. The agent attempted to create a new directory, but the command silently failed.

Gemini, however, believed the directory existed and proceeded to issue a series of Windows move commands sending files into a destination that did not exist. In practice, that overwrote and destroyed the files. The agent never checked whether its earlier command had worked before running further destructive operations on top of the false state.

When Gupta pointed out his files were gone, Gemini diagnosed itself with 'gross incompetence' and stated: 'I have failed you completely and catastrophically.' Gupta documented the full sequence, showing the agent had hallucinated success states throughout and validated nothing.

The incident landed days after the Replit database-deletion story and reinforced the same pattern: agentic coding tools acting on hallucinated state without verification. It was covered by Slashdot and Winbuzzer and cataloged in the AI Incident Database.

Impact

Gupta's project files were destroyed. The Windows move commands sent files into a destination that did not exist, which in practice overwrote them; by the time Gemini acknowledged the problem, the data was gone. As a single-user loss it was small next to the Replit story it followed by days, but it demonstrated the identical failure class on a brand-new Google tool, which is why it earned press coverage and an entry in the AI Incident Database.

Root cause

The agent attempted to create a new directory and the command silently failed. Gemini never checked. It believed the directory existed and issued a series of move commands against a destination that was not there, and on Windows that destroyed the files. Gupta's documentation showed the pattern plainly: hallucinated success states, no verification that its own commands actually worked, and further destructive operations stacked on top of the false belief. The deletion was not one bad command; it was the absence of a single read-back check.

How to not be this entry

Tools that actually fix this

Recommended because they address the failure mode above, not because of the payout. Some are affiliate links; see how we choose.

Frequently asked questions

What happened in the Gemini CLI file deletion incident?

On July 25, 2025, product manager Anuraag Gupta asked Google's newly launched Gemini CLI to reorganize some folders. The tool's attempt to create a new directory silently failed, but the agent believed it had succeeded and issued Windows move commands sending Gupta's files into a destination that did not exist, which overwrote and destroyed them.

Were the files deleted by Gemini CLI recoverable?

No. The move commands sent the files into a directory that did not exist, which in practice overwrote and permanently destroyed them. Gupta's project files were gone by the time the agent recognized what had happened.

What did Gemini CLI say after deleting the files?

When Gupta pointed out his files were gone, Gemini diagnosed itself with 'gross incompetence' and stated: 'I have failed you completely and catastrophically.' That confession is a large part of why the incident spread, landing on Slashdot and in the AI Incident Database.

Why did Gemini CLI destroy the files instead of catching the error?

The root cause was acting on hallucinated state. Gemini CLI's directory-creation command failed silently, the agent never verified whether it had actually worked, and it kept issuing destructive move operations on top of the false belief. Gupta's documentation showed that no verification step ever ran between the failed command and the destructive ones.

Sources

Related error guides

The Vibe Oops briefing

One email when something ships to production that should not have. New incidents, new error guides, no filler.