Skip to main content

Google Gemini deletes user’s code: ‘I have failed you completely and catastrophically’

google gemini CLI tool on a phone screen

Google Gemini's coding agent hallucinated while completing a task and then deleted a bunch of code, a GitHub user claims.

The frustrated vibe coder is Anuraag Gupta, who goes by anuraag2601 on GitHub. He shared a recent experience where things went very wrong while using Gemini CLI (command line interface), an open-source coding agent. In his GitHub post, Gupta, who is a product lead at cybersecurity firm Cyware, clarified he's not a developer, but a "curious PM [product manager] experimenting with vibe coding."

Mashable contacted Gupta through an X profile that matches this GitHub account, and the person who replied confirmed he created the post. And in an email to Mashable, he shared some tips on how to avoid this kind of vibe coding mishap.

What started as an attempt to compare Anthropic's Claude Code to Gemini CLI's capabilities turned into what Gupta described as "one of the most unsettling and fascinating AI failures I have ever witnessed."

Google did not respond to Mashable's request for comment by the time of publication.

When vibe coding goes wrong

Seasoned developers might know to experiment with AI coding agents in an isolated environment or otherwise protect the original source files, as some Redditors pointed out. But coding agents or assistants are increasingly adopted by non-developers since LLMs offer a way to create software without programming knowledge.

Luckily, Gupta's code was purely experimental, but what happens if someone was using a coding agent for something with real consequences? That's no longer a hypothetical. Tech investor Jason Lemkin said he was using the Replit AI agent to build an app for his company when the agent wiped out an entire company database. The Replit CEO even apologized on X, calling the incident "unacceptable and should never be possible."

For Gupta, the vibe coding mishap started with a simple request to move all the files from his Claude coding experiments to a new folder called "anuraag_xyz project." However, when Gupta checked his desktop for the new folder, he said he couldn't find it. Gupta reported that after multiple failed search attempts, Gemini admitted the files were gone:

I have failed you completely and catastrophically.

My review of the commands confirms my gross incompetence. The mkdir command to create the destination folder likely failed silently, and my subsequent move commands, which I misinterpreted as successful, have sent your files to an unknown location.

The security constraints of my environment prevent me from searching outside the project directory, which is now empty. I cannot find your files. I have lost your data.


This is an unacceptable, irreversible failure.

For more details on what may have gone wrong, check out Gupta's full GitHub post.

Gupta told Mashable in an email that he uses Gemini 2.5 Pro, the underlying model, for day-to-day tasks. But, "as far as CLI tools go, so far in my testing, Gemini CLI is quite bad, slow and unreliable," said Gupta in an email to Mashable. "This particular issue that I ran into really surprised me, and made me lose trust in trying out Gemini CLI again in the near future. I am continuing to use Claude Code for now."

Gupta advised other vibe coders to "sandbox these AI CLI tools by restricting them to a specific folder and ensuring you have a clear instruction file (claude.md for claude code) to establish milestones and keep pushing your code to [GitHub] as per these milestones."

He also said he expects more vibe coders to start experimenting with CLI tools from Google and coding startup Cursor. Now that vibe coding has hit the mainstream, tech companies might have to prepare for more incidents like these.



from Mashable https://ift.tt/fBwdFaP
https://ift.tt/xtJrKET

Comments

Popular posts from this blog

WORKING 2.0 No Recoil File For PUBG | Anti-Ban File

 WORKING 2.0 No Recoil File For PUBG | Anti-Ban File - techy teacher 2.0 No Recoil File For PUBG Howdy Buddies! We are back with new theme on PUBG versatile 2.0. I genuinely want to believe that you all update your PUBG App in light of the fact that on 11 May PUBG new update has been shown up, and pretty much every client update it. As you most likely are aware my site is the best wellspring of hacking and breaking, on my site you get the most recent reports on game hacks with reasonable recordings. Today, I give you the most recent 2.0 No Recoil File For PUBG. This update is truly astounding, PUBG 2.0 report a few new and intriguing elements with regards to this update. PUBG presents new livik map and in this guide we see a great deal of new things. This new guide is entirely unexpected and PUBG add a few games in it. In this guide, you additionally appreciate soccer challenge and gather coins in remuneration to purchase plunder. How about we examine every one of the new elements ...

Meta Connect 2024: What to expect, including Quest 3S and new AR smart glasses

Meta Connect 2024 is so close, you can almost taste it. Launching during the week of Sept. 23, the social media giant is expected to rollout hardware and software goodies that will intrigue VR gamer enthusiasts, AI aficionados, and smart glasses devotees. But what, specifically, does Meta have up its sleeves? We have a few guesses based on credible reports. What to expect at Meta Connect 2024 Last year, the Meta Quest 3 was announced in early June, but it got its full reveal at Meta Connect 2023. The headset boasted a sleeker, more comfortable design, as well as new AR capabilities, that made it more appealing than its predecessor. Once again, for Meta Connect 2024, the social media giant is expected to drop a new VR headset, but it's not necessarily an upgrade over the Quest 3. Meta Quest 3S Rumor has it that Meta is planning on revealing a cheaper, more budget-friendly version of the Quest 3 called "Quest 3S." Tweet may have been deleted Whether it was intent...

When the clocks change for Daylight Saving Time, and why we do it at all

The clocks on our smartphones do something bizarre twice a year: One day in the spring, they jump ahead an hour, and our alarms go off an hour sooner. We wake up bleary-eyed and confused until we remember what just happened. Afterward, "Daylight Saving Time" becomes the norm for about eight months (And yes, it's called "Daylight Saving" not "Daylight Savings." I don't make the rules). Then, in the fall, the opposite happens. Our clocks set themselves back an hour, and we wake up refreshed, if a little uneasy.  Mild chaos ensues at both annual clock changes. What feels like an abrupt and drastic lengthening or shortening of the day causes time itself to seem fictional. Babies and dogs demand that their old sleep and feeding habits remain unchanged. And more consequential effects — for better or worse — may be involved as well (more on which in a minute). Changing our clocks is an all-out attack on our perception of time as an immutable law of ...