Close Menu
  • Home
  • UNSUBSCRIBE
  • News
  • Lifestyle
  • Tech
  • Entertainment
  • Sports
  • Travel
Facebook X (Twitter) WhatsApp
Trending
  • Chinese medical practitioners used extremely toxic plant as a topical anesthetic 600 years ago, study finds
  • Bead net funerary shroud: A 2,500-year-old beaded veil from Egypt depicting the deceased’s transformation into Osiris
  • Rare genetic disease makes scientists reconsider what the ‘seat of fear’ in the brain really is
  • It’s illegal to repair most of our devices. There’s a surprising reason for that.
  • Jupiter’s Ganymede, the largest moon in the solar system, may be heating up
  • Bizarre patterns on Venus have scientists puzzled
  • Scientists trained an AI model using an IBM quantum computer — and it answered questions correctly that the base model couldn’t
  • How did animals survive the asteroid that killed the dinosaurs?
Facebook X (Twitter) WhatsApp
Baynard Media
  • Home
  • UNSUBSCRIBE
  • News
  • Lifestyle
  • Tech
  • Entertainment
  • Sports
  • Travel
Baynard Media
Home»Tech»Google Gemini deletes user’s code: ‘I have failed you completely and catastrophically’
Tech

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

EditorBy EditorJuly 26, 2025No Comments4 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Share
Facebook Twitter LinkedIn Pinterest Email

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.

Mashable Light Speed

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.

Topics
Google
Google Gemini

Source link

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleWatkins? Jackson? Sesko? Man Utd's striker search assessed
Next Article Inter Miami owner blasts Lionel Messi suspension after All-Star Game absence
Editor
  • Website

Related Posts

Tech

iPhone exploit DarkSword has been released in the wild

March 24, 2026
Tech

The U.S. router ban: Everything you need to know

March 24, 2026
Tech

Underage sexual content, self-harm info targeted by OpenAI’s new open-source prompts

March 24, 2026
Add A Comment

Comments are closed.

Categories
  • Entertainment
  • Lifestyle
  • News
  • Sports
  • Tech
  • Travel
Recent Posts
  • Chinese medical practitioners used extremely toxic plant as a topical anesthetic 600 years ago, study finds
  • Bead net funerary shroud: A 2,500-year-old beaded veil from Egypt depicting the deceased’s transformation into Osiris
  • Rare genetic disease makes scientists reconsider what the ‘seat of fear’ in the brain really is
  • It’s illegal to repair most of our devices. There’s a surprising reason for that.
  • Jupiter’s Ganymede, the largest moon in the solar system, may be heating up
calendar
May 2026
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr    
Recent Posts
  • Chinese medical practitioners used extremely toxic plant as a topical anesthetic 600 years ago, study finds
  • Bead net funerary shroud: A 2,500-year-old beaded veil from Egypt depicting the deceased’s transformation into Osiris
  • Rare genetic disease makes scientists reconsider what the ‘seat of fear’ in the brain really is
About

Welcome to Baynard Media, your trusted source for a diverse range of news and insights. We are committed to delivering timely, reliable, and thought-provoking content that keeps you informed
and inspired

Categories
  • Entertainment
  • Lifestyle
  • News
  • Sports
  • Tech
  • Travel
Facebook X (Twitter) Pinterest WhatsApp
  • Contact Us
  • About Us
  • Privacy Policy
  • Disclaimer
  • UNSUBSCRIBE
© 2026 copyrights reserved

Type above and press Enter to search. Press Esc to cancel.