NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Google Antigravity just deleted the contents of whole drive (old.reddit.com)
liendolucas 5 hours ago [-]
I love how a number crunching program can be deeply humanly "horrorized" and "sorry" for wiping out a drive. Those are still feelings reserved only for real human beings, and not computer programs emitting garbage. This is vibe insulting to anyone that don't understand how "AI" works.

I'm sorry for the person who lost their stuff but this is a reminder that in 2025 you STILL need to know what you are doing and if you don't then put your hands away from the keyboard if you think you can lose valuable data.

You simply don't vibe command a computer.

TriangleEdge 56 minutes ago [-]
> ... vibe insulting ...

Modern lingo like this seems so unthoughtful to me. I am not old by any metric, but I feel so separated when I read things like this. I wanted to call it stupid but I suppose it's more pleasing to 15 to 20 year olds?

mort96 44 minutes ago [-]
Unthoughtful towards whom? The machine..?
baxtr 3 hours ago [-]
Vibe command and get vibe deleted.
teekert 1 hours ago [-]
Play vibe games, win vibe prizes.
bartread 55 minutes ago [-]
Vibe around and find out.
baobabKoodaa 4 minutes ago [-]
Vibe around and wibe out
63stack 1 hours ago [-]
He got vibe checked.
insin 1 hours ago [-]
Go vibe, lose drive
left-struck 1 hours ago [-]
Eh, I think it depends on the context. A production system of a business you’re working for or anything where you have a professional responsibility, yeah obviously don’t vibe command, but I’ve been able to both learn so much and do so much more in the world of self hosting my own stuff at home ever since I started using llms.
camillomiller 3 hours ago [-]
Now, with this realization, assess the narrative that every AI company is pushing down our throat and tell me how in the world we got here. The reckoning can’t come soon enough.
qustrolabe 3 hours ago [-]
What narrative? I'm too deep in it all to understand what narrative being pushed onto me?
robot-wrangler 1 hours ago [-]
We're all too deep! You could even say that we're fully immersed in the likely scenario. Fellow humans are gathered here and presently tackling a very pointed question, staring at a situation, and even zeroing in on a critical question. We're investigating a potential misfire.
camillomiller 3 hours ago [-]
No, wasn't directed at someone in particular. More of an impersonal "you". It was just a comment against the AI inevitabilism that has profoundly polluted the tech discourse.
user34283 30 minutes ago [-]
I doubt there will be a reckoning.

Yes, the tools still have major issues. Yet, they have become more and more usable and a very valuable tool for me.

Do you remember when we all used Google and StackOverflow? Nowadays most of the answers can be found immediately using AI.

As for agentic AI, it's quite useful. Want to find something in the code base, understand how something works? A decent explanation might only be one short query away. Just let the AI do the initial searching and analysis, it's essentially free.

I'm also impressed with the code generation - I've had Gemini 3 Pro in Antigravity generate great looking React UI, sometimes even better than what I would have come up with. It also generated a Python backend and the API between the two.

Sometimes it tries to do weird stuff, and we definitely saw in this post that the command execution needs to be on manual instead of automatic. I also in particular have an issue with Antigravity corrupting files when trying to use the "replace in file" tool. Usually it manages to recover from that on its own.

Kirth 4 hours ago [-]
This is akin to a psychopath telling you they're "sorry" (or "sorry you feel that way" :v) when they feel that's what they should be telling you. As with anything LLM, there may or may not be any real truth backing whatever is communicated back to the user.
marmalade2413 4 hours ago [-]
It's not akin to a psychopath telling you they're sorry. In the space of intelligent minds, if neurotypical and psychopath minds are two grains of sand next to each other on a beach then an artificially intelligent mind is more likely a piece of space dust on the other side of the galaxy.
Eisenstein 3 hours ago [-]
According to what, exactly? How did you come up with that analogy?
baq 3 hours ago [-]
Start with LLMs are not humans, but they’re obviously not ‘not intelligent’ in some sense and pick the wildest difference that comes to mind. Not OP but it makes perfect sense to me.
nosianu 2 hours ago [-]
I think a good reminder for many users is that LLMs are not based on analyzing or copying human thought (#), but on analyzing human written text communication.

--

(#) Human thought is based on real world sensor data first of all. Human words have invisible depth behind them based on accumulated life experience of the person. So two people using the same words may have very different thoughts underneath them. Somebody having only text book knowledge and somebody having done a thing in practice for a long time may use the same words, but underneath there is a lot more going on for the latter person. We can see this expressed in the common bell curve meme -- https://www.hopefulmons.com/p/the-iq-bell-curve-meme -- While it seems to be about IQ, it really is about experience. Experience in turn is mostly physical, based on our physical sensors and physical actions. Even when we just "think", it is based on the underlying physical experiences. That is why many of our internal metaphors even for purely abstract ideas are still based on physical concepts, such as space.

oskarkk 3 hours ago [-]
Isn't it obvious that the way AI works and "thinks" is completely different from how humans think? Not sure what particular source could be given for that claim.
seanhunter 3 hours ago [-]
No source could be given because it’s total nonsense. What happened is not in any way akin to a psychopath doing anything. It is a machine learning function that has trained on a corpus of documents to optimise performance on two tasks - first a sentence completion task, then an instruction following task.
oskarkk 2 hours ago [-]
I think that's more or less what marmalade2413 was saying and I agree with that. AI is not comparable to humans, especially today's AI, but I think future actual AI won't be either.
lazide 2 hours ago [-]
It’s just a computer outputting the next series of plausible text from it’s training corpus based on the input and context at the time.

What you’re saying is so far from what is happening, it isn’t even wrong.

BoredPositron 4 hours ago [-]
So if you make a mistake and say sorry you are also a psychopath?
ludwik 4 hours ago [-]
I think the point of comparison (whether I agree with it or not) is someone (or something) that is unable to feel remorse saying “I’m sorry” because they recognize that’s what you’re supposed to do in that situation, regardless of their internal feelings. That doesn’t mean everyone who says “sorry” is a psychopath.
BoredPositron 3 hours ago [-]
We are talking about an LLM it does what it has learned. The whole giving it human ticks or characteristics when the response makes sense ie. saying sorry is a user problem.
ludwik 3 hours ago [-]
Okay? I specifically responded to your comment that the parent comment implied "if you make a mistake and say sorry you are also a psychopath", which clearly wasn’t the case. I don’t get what your response has to do with that.
pyrale 2 hours ago [-]
No, the point is that saying sorry because you're genuinely sorry is different from saying sorry because you expect that's what the other person wants to hear. Everybody does that sometimes but doing it every time is an issue.

In the case of LLMs, they are basically trained to output what they predict an human would say, there is no further meaning to the program outputting "sorry" than that.

I don't think the comparison with people with psychopathy should be pushed further than this specific aspect.

BoredPositron 2 hours ago [-]
You provided the logical explanation why the model acts like it does. At the moment it's nothing more and nothing less. Expected behavior.
lazide 1 hours ago [-]
Notably, if we look at this abstractly/mechanically, psychopaths (and to some extent sociopaths) do study and mimic ‘normal’ human behavior (and even the appearance of specific emotions) to both fit in, and to get what they want.

So while internally (LLM model weight stuff vs human thinking), the mechanical output can actually appear/be similar in some ways.

Which is a bit scary, now that I think about it.

camillomiller 3 hours ago [-]
Are you smart people all suddenly imbeciles when it comes to AI or is this purposeful gaslighting because you’re invested in the ponzi scheme? This is a purely logical problem. comments like this completely disregard the fallacy of comparing humans to AI as if a complete parity is achieved. Also the way this comments disregard human nature is just so profoundly misanthropic that it just sickens me.
BoredPositron 3 hours ago [-]
No but the conclusions in this thread are hilarious. We know why it says sorry. Because that's what it learned to do in a situation like that. People that feel mocked or are calling an LLM psychopath in a case like that don't seem to understand the technology either.
camillomiller 3 hours ago [-]
I agree, psychopath is the wrong adjective, I agree. It refers to an entity with a psyche, which the illness affects. That said, I do believe the people who decided to have it behave like this for the purpose of its commercial success are indeed the pathological individuals. I do believe there is currently a wave of collective psychopathology that has taken over Silicon Valley, with the reinforcement that only a successful community backed by a lot of money can give you.
wg0 5 minutes ago [-]
To rub salt on the wounds and add insult to the injury:

> You have reached quota limit for this model. You can resume using this model at XYZ date.

ggm 6 hours ago [-]
The thread on reddit is hilarious for the lack of sympathy. Basically, it seems to have come down to commanding a deletion of a "directory with space in the name" but without quoting which made the command hunt for the word match ending space which was regrettably, the D:\ component of the name, and the specific deletion commanded the equivalent of UNIX rm -rf

The number of people who said "for safety's sake, never name directories with spaces" is high. They may be right. I tend to think thats more honoured in the breach than the observance, judging by what I see windows users type in re-naming events for "New Folder" (which btw, has a space in its name)

The other observations included making sure your deletion command used a trashbin and didn't have a bypass option so you could recover from this kind of thing.

I tend to think giving a remote party, soft or wet ware control over your command prompt inherently comes with risks.

Friends don't let friends run shar files as superuser.

dmurray 6 hours ago [-]
I understood Windows named some of the most important directories with spaces, then special characters in the name so that 3rd party applications would be absolutely sure to support them.

"Program Files" and "Program Files (x86)" aren't there just because Microsoft has an inability to pick snappy names.

reddalo 5 hours ago [-]
Fun fact: that's not true for all Windows localizations. For example, it's called "Programmi" (one word) in Italian.

Renaming system folders depending on the user's language also seems like a smart way to force developers to use dynamic references such as %ProgramFiles% instead of hard-coded paths (but some random programs will spuriously install things in "C:\Program Files" anyway).

nikeee 4 hours ago [-]
The folders actually have the English name in all languages. It's just explorer.exe that uses the desktop.ini inside those folders to display a localized name. When using the CLI, you can see that.

At least it's like that since Windows 7. In windows XP, it actually used the localized names on disk.

LtWorf 3 hours ago [-]
And then half of your programs would be in "Program Files" because those people never knew windows had localizations.
Kelteseth 5 hours ago [-]
Should have called it Progrämmchen, to also include umlauts Ü
bialpio 1 hours ago [-]
When I was at Microsoft, one test pass used pseudolocale (ps-PS IIRC) to catch all different weird things so this should have Just Worked (TM), but I was in Windows Server team so client SKUs may have been tested differently. Unfortunately I don't remember how Program Files were called in that locale and my Google-fu is failing me now.
yetihehe 4 hours ago [-]
A lot of programs break on Polish computers when you name your user "Użytkownik". Android studio and some compiler tools for example.
nosianu 2 hours ago [-]
Ah, Polish. I love this movie scene, which I learned about here on HN some time ago: "Grzegorz Brzęczyszczykiewicz" -- https://youtu.be/AfKZclMWS1U
ayewo 1 hours ago [-]
That 1:19 clip was quite good actually. Thanks for the laugh :)
Quarrel 50 minutes ago [-]
that's fantastic. thanks.
bossyTeacher 5 hours ago [-]
Microsoft is hilariously bad at naming things
omnicognate 2 hours ago [-]
Visual Studio Code has absolutely nothing to do with Visual Studio. Both are used to edit code.

.NET Core is a ground up rewrite of .NET and was released alongside the original .NET, which was renamed .NET Framework to distinguish it. Both can be equally considered to be "frameworks" and "core" to things. They then renamed .NET Core to .NET.

And there's the name .NET itself, which has never made an iota of sense, and the obsession they had with sticking .NET on the end of every product name for a while.

I don't know how they named these things, but I like to imagine they have a department dedicated to it that is filled with wild eyed lunatics who want to see the world burn, or at least mill about in confusion.

viraptor 33 minutes ago [-]
Don't forgot .net Standard which is more of a .net Lowest Common Denominator.

For naming, ".net" got changed to "Copilot" on everything now.

theshrike79 12 minutes ago [-]
Java and Javascript would like to have a chat :)

--

But Copilot is another Microsoft monstrosity. There's the M365 Copilot, which is different from Github Copilot which is different from the CLI Copilot which is a bit different from the VSCode Copilot. I think I might have missed a few copilots?

ndsipa_pomu 2 hours ago [-]
user: How do I shutdown this computer?

tech: First, click on the "Start" button...

user: No! I want to shut it down

EGreg 5 hours ago [-]
I remember they prepended the word “Microsoft” to official names of all their software.
__del__ 5 hours ago [-]
"My Documents" comes to mind. it seemed somehow infantilizing. yes, yes i know whose documents they are.
Mountain_Skies 4 hours ago [-]
Good news is that Microsoft no longer considers your documents to belong to you, so they did away with that part of the name.
shmeeed 4 hours ago [-]
It's always been questioned who the subject of "my" was.
jeroenhd 3 hours ago [-]
> it seems to have come down to commanding a deletion of a "directory with space in the name" but without quoting which made the command hunt for the word match ending space which was regrettably, the D:\ component of the name, and the specific deletion commanded the equivalent of UNIX rm -rf

I tried looking for what made the LLM generate a command to wipe the guy's D drive, but the space problem seems to be what the LLM concluded so that's basically meaningless. The guy is asking leading questions so of course the LLM is going to find some kind of fault, whether it's correct or not, the LLM wants to be rewarded for complying with the user's prompt.

Without the transcription of the actual delete event (rather than an LLM recapping its own output) we'll probably never know for sure what step made the LLM purge the guy's files.

Looking at the comments and prompts, it looks like running "npm start dev" was too complicated a step for him. With that little command line experience, a catastrophic failure like this was inevitable, but I'm surprised how far he got with his vibe coded app before it all collapsed.

whywhywhywhy 58 minutes ago [-]
> which made the command hunt for the word match ending space which was regrettably, the D:\

Is this even how the delete command would work in that situation?

>rmdir /s /q D:\ETSY 2025\Antigravity Projects\Image Selector\client\node_modules.vite

like wouldn't it just say "Folder D:\ETSY not found" rather than delete the parent folder

viraptor 30 minutes ago [-]
Most dramatic stories on Reddit should be taken with a pinch of salt at least... LLM deleting a drive and the user just calmly asking it about that - maybe a lot more.
Dylan16807 5 hours ago [-]
Please don't repeat some guy's guess about spaces as fact, especially when that's not how windows parses paths.
ggm 5 hours ago [-]
A good point. And don't believe how the debug the AI system produced relates to what it did either.
josefx 1 hours ago [-]
> but without quoting which made the command hunt for the word match ending space which was regrettably, the D:\ component of the name

Except the folder name did not start with a space. In an unquoted D:\Hello World, the command would match D:\Hello, not D:\ and D:\Hello would not delete the entire drive. How does AI even handle filepaths? Does it have a way to keep track of data that doesn't match a token or is it splitting the path into tokens and throwing everything unknown away?

thrdbndndn 3 hours ago [-]
A lot of 3rd party software handle space, or special characters wrong on Windows. The most common failure mode is to unnecessarily escape characters that don't need to be escaped.

Chrome's Dev Tool (Network)'s "copy curl command (cmd)" did (does?) this.

There is bunch of VS Code bug is also related to this (e.g. https://github.com/microsoft/vscode/issues/248435, still not fixed)

It's also funny because VS Code is a Microsoft product.

nomilk 6 hours ago [-]
> I tend to think giving a remote party control over your command prompt inherently comes with risks.

I thought cursor (and probably most other) AI IDEs have this capability too? (source: I see cursor executing code via command line frequently in my day to day work).

I've always assumed the protection against this type of mishap is statistical improbability - i.e. it's not impossible for Cursor to delete your project/hard disk, it's just statistically improbable unless the prompt was unfortunately worded to coincidentally have a double meaning (with the second, unintended interpretation being a harmful/irreversible) or the IDE simply makes a mistake that leads to disaster, which is also possible but sufficiently improbable to justify the risk.

sroussey 6 hours ago [-]
I only run ai tools in dev containers, so blast radius is somewhat minimal.
conradev 4 hours ago [-]
I run Codex in a sandbox locked to the directory it is working in.
fragmede 6 hours ago [-]
umm, you have backups, right?
echelon 5 hours ago [-]
This is Google moving fast and breaking things.

This is a Google we've never seen before.

spuz 4 hours ago [-]
> My view is that the approach to building technology which is embodied by move fast and break things is exactly what we should not be doing because you can't afford to break things and then fix them afterwards.

- Demis Hassabis "The Thinking Game"

stinkbeetle 4 hours ago [-]
Because... they normally move slowly and break things?
ndsipa_pomu 2 hours ago [-]
> Basically, it seems to have come down to commanding a deletion of a "directory with space in the name" but without quoting which made the command hunt for the word match ending space which was regrettably, the D:\ component of the name, and the specific deletion commanded the equivalent of UNIX rm -rf

More like the equivalent of "rm -rf --no-preserve-root".

This is a rare example of where the Linux (it's not Unix and almost no-one uses Unix anymore) command is more cautious than the Windows one, whereas it's usually the Linux commands that just do exactly what you specify even if it's stupid.

modernerd 3 hours ago [-]
IDE = “I’ll delete everything”

…at least if you let these things autopilot your machine.

I haven’t seen a great solution to this from the new wave of agentic IDEs, at least to protect users who won’t read every command, understand and approve it manually.

Education could help, both in encouraging people to understand what they’re doing, but also to be much clearer to people that turning on “Turbo” or “YOLO” modes risks things like full disk deletion (and worse when access to prod systems is involved).

Even the name, “Turbo” feels irresponsible because it focusses on the benefits rather than the risks. “Risky” or “Danger” mode would be more accurate even if it’s a hard sell to the average Google PM.

“I toggled Danger mode and clicked ‘yes I understand that this could destroy everything I know and love’ and clicked ‘yes, I’m sure I’m sure’ and now my drive is empty, how could I possibly have known it was dangerous” seems less likely to appear on Reddit.

kahnclusions 1 hours ago [-]
I don’t think there is a solution. It’s the way LLMs work at a fundamental level.

It’s a similar reason why they can never be trusted to handle user input.

They are probabilistic generators and have no real delineation between system instructions and user input.

It’s like I wrote a JavaScript function where I concatenated the function parameters together with the function body, passed it to eval() and said YOLO.

viraptor 47 minutes ago [-]
> I don’t think there is a solution.

Sandboxing. LLM shouldn't be able to run actions affecting anything outside of your project. And ideally the results should autocommit outside of that directory. Then you can yolo as much as you want.

56 minutes ago [-]
tacker2000 4 hours ago [-]
This guy is vibing some react app, doesnt even know what “npm run dev” does, so he let the LLM just run commands. So basically a consumer with no idea of anything. This stuff is gonna happen more and more in the future.
spuz 4 hours ago [-]
There are a lot of people who don't know stuff. Nothing wrong with that. He says in his video "I love Google, I use all the products. But I was never expecting for all the smart engineers and all the billions that they spent to create such a product to allow that to happen. Even if there was a 1% chance, this seems unbelievable to me" and for the average person, I honestly don't see how you can blame them for believing that.
ogrisel 4 hours ago [-]
I think there is far less than 1% chance for this to happen, but there are probably millions of antigravity users at this point, 1 millionths chance of this to happen is already a problem.

We need local sandboxing for FS and network access (e.g. via `cgroups` or similar for non-linux OSes) to run these kinds of tools more safely.

cube2222 4 hours ago [-]
Codex does such sandboxing, fwiw. In practice it gets pretty annoying when e.g. it wants to use the Go cli which uses a global module cache. Claude Code recently got something similar[0] but I haven’t tried it yet.

In practice I just use a docker container when I want to run Claude with —-dangerously-skip-permissions.

[0]: https://code.claude.com/docs/en/sandboxing

BrenBarn 3 hours ago [-]
We also need laws. Releasing an AI product that can (and does) do this should be like selling a car that blows your finger off when you start it up.
nkrisc 23 minutes ago [-]
Responsibility is shared.

Google (and others) are (in my opinion) flirting with false advertising with how they advertise the capabilities of these "AI"s to mainstream audiences.

At the same time, the user is responsible for their device and what code and programs they choose to run on it, and any outcomes as a result of their actions are their responsibility.

Hopefully they've learned that you can't trust everything a big corporation tells you about their products.

jpc0 3 hours ago [-]
This is more akin to selling a car to an adult that cannot drive and they proceed to ram it through their garage door.

It's perfectly within the capabilities of the car to do so.

The burden of proof is much lower though since the worst that can happen is you lose some money or in this case hard drive content.

For the car the seller would be investigated because there was a possible threat to life, for an AI buyer beware.

pas 3 hours ago [-]
there are laws about waiving liability for experimental products

sure, it would be amazing if everyone had to do a 100 hour course on how LLMs work before interacting with one

chickensong 1 hours ago [-]
Google will fix the issue, just like auto makers fix their issues. Your comparison is ridiculous.
Vinnl 2 hours ago [-]
Didn't sound to me like GP was blaming the user; just pointing out that "the system" is set up in such a way that this was bound to happen, and is bound to happen again.
benrutter 2 hours ago [-]
Yup, 100%. A lot of the comments here are "people should know better" - but in fairness to the people doing stupid things, they're being encouraged by the likes of Google, ChatGPT, Anthropic etc, to think of letting a indeterminate program run free on your hard drive as "not a stupid thing".

The amount of stupid things I've done, especially early on in programming, because tech-companies, thought-leaders etc suggested they where not stupid, is much large than I'd admit.

nkrisc 21 minutes ago [-]
> but in fairness to the people doing stupid things, they're being encouraged by the likes of Google, ChatGPT, Anthropic etc, to think of letting a indeterminate program run free on your hard drive as "not a stupid thing".

> The amount of stupid things I've done, especially early on in programming, because tech-companies, thought-leaders etc suggested they where not stupid, is much large than I'd admit.

That absolutely happens, and it still amazes me that anyone today would take at face value anything stated by a company about its own products. I can give young people a pass, and then something like this will happen to them and hopefully they'll learn their lesson about trusting what companies say and being skeptical.

tarsinge 2 hours ago [-]
And is vibing replies to comments too in the Reddit thread. When commenters points out they shouldn’t run in YOLO/Turbo mode and review commands before executing the poster replies they didn’t know they had to be careful with AI.

Maybe AI providers should give more warnings and don’t falsely advertise capabilities and safety of their model, but it should be pretty common knowledge at this point that despite marketing claims the models are far from being able to be autonomous and need heavy guidance and review in their usage.

fragmede 2 hours ago [-]
In Claude Code, the option is called "--dangerously-skip-permissions", in Codex, it's "--dangerously-bypass-approvals-and-sandbox". Google would do better to put a bigger warning label on it, but it's not a complete unknown to the industry.
blitzar 3 hours ago [-]
Natural selection is a beautiful thing.
Den_VR 4 hours ago [-]
It will, especially with the activist trend towards dataset poisoning… some even know what they’re doing
thisisit 36 minutes ago [-]
I have been recently experimenting with Antigravity and writing a react app. I too didn't know how to start the server or what is "npm run dev". I consider myself fairly technical so I caught up as I went along.

While using the vibe coding tools it became clear to me that this is not something to be used by folks who are not technically inclined. Because at some point they might need to learn about context, tokens etc.

I mean this guy had a single window, 10k lines of code and just kept burning tokens for simplest, vague prompts. This whole issue might be made possible due to Antigravity free tokens. On Cursor the model might have just stopped and asked to fed with more money to start working again -- and then deleting all the files.

ares623 4 hours ago [-]
This is engagement bait. It’s been flooding Reddit recently, I think there’s a firm or something that does it now. Seems very well lubricated.

Note how OP is very nonchalant at all the responses, mostly just agreeing or mirroring the comments.

I often see it used for astroturfing.

spuz 4 hours ago [-]
I'd recommend you watch the video which is linked at the top of the Reddit post. Everything matches up with an individual learner who genuinely got stung.
synarchefriend 13 minutes ago [-]
The command it supposedly ran is not provided and the spaces explanation is obvious nonsense. It is possible the user deleted their own files accidentally or they disappeared for some other reason.
camillomiller 3 hours ago [-]
Well but 370% of code will be written by machines next year!!!!!1!1!1!!!111!
actionfromafar 3 hours ago [-]
And the price will have decreased 600% !
averageRoyalty 1 hours ago [-]
The most concerning part is people are surprised. Anti-gravity is great I've found so far, but it's absolutely running on a VM in an isolated VLAN. Why would anyone give a black box command line access on an important machine? Imagine acting irresponsibly with a circular saw and bring shocked somebody lost a finger.
CobrastanJorji 6 hours ago [-]
The most useful looking suggestion from the Reddit thread: turn of "Terminal Command Auto Execution."

1. Go to File > Preferences > Antigravity Settings

2. In the "Agent" panel, in the "Terminal" section, find "Terminal Command Auto Execution"

3. Consider using "Off"

Ferret7446 4 hours ago [-]
Does it default to on? Clearly this was made by a different team than Gemini CLI, which defaults to confirmation for all commands
dragonwriter 4 hours ago [-]
Most of the various "let Antigravity do X without confirmation" options have an "Always" and "Never" option but default to "auto" which is "let an agent decide whether to seek to user confirmation".
jofzar 4 hours ago [-]
God that's scary, seeing cursor in the past so some real stupid shit to "solve" write/read issues (love when it can't find something in a file so it decides to write the whole file again) this is just asking for heartache if it's not in a instanced server.
ogrisel 4 hours ago [-]
When you run Antigravity the first time, it asks you for a profile (I don't remember the exact naming) and you what it entails w.r.t. the level of command execution confirmation is well explained.
IshKebab 4 hours ago [-]
Yeah but it also says something like "Auto (recommended). We'll automatically make sure Antigravity doesn't run dangerous commands." so they're strongly encouraging people to enable it, and suggesting they have some kind of secondary filter which should catch things like this!
victorbuilds 3 hours ago [-]
Different service, same cold sweat moment. Asked Claude Code to run a database migration last week. It deleted my production database instead, then immediately said "sorry" and started panicking trying to restore it.

Had to intervene manually. Thankfully Azure keeps deleted SQL databases recoverable for a window so I got it back in under an hour. Still way too long. Got lucky it was low traffic and most anonymous user flows hit AI APIs directly rather than the DB.

Anyway, AI coding assistants no longer get prod credentials on my projects.

ogrisel 3 hours ago [-]
How do you deny access to prod credentials from an assistant running on your dev machine assuming you need to store them on that same machine to do manual prod investigation/maintenance work from that machine?
victorbuilds 3 hours ago [-]
I keep them in env variables rather than files. Not 100% secure - technically Claude Code could still run printenv - but it's never tried. The main thing is it won't stumble into them while reading config files or grepping around.
63stack 36 minutes ago [-]
A process does not need to run printenv to see environment variables, they are literally part of the environment it runs in.
dist-epoch 15 minutes ago [-]
The LLM doesn't have direct access to the process env unless the harness forwards it (and it doesn't)
fragmede 1 hours ago [-]
chown other_user; chmod 000; sudo -k
pu_pe 3 hours ago [-]
Why are you using Claude Code directly in prod?
victorbuilds 3 hours ago [-]
It handles DevOps tasks way faster than I would - setting up infra, writing migrations, config changes, etc. Project is still early stage so speed and quick iterations matter more than perfect process right now. Once there's real traffic and a team I'll tighten things up.
ObiKenobi 3 hours ago [-]
Shouldn't had in the first place.
orbital-decay 5 hours ago [-]
Side note, that CoT summary they posted is done with a really small and dumb side model, and has absolutely nothing in common with the actual CoT Gemini uses. It's basically useless for any kind of debugging. Sure, the language the model is using in the reasoning chain can be reward-hacked into something misleading, but Deepmind does a lot for its actual readability in Gemini, and then does a lot to hide it behind this useless summary. They need it in Gemini 3 because they're doing hidden injections with their Model Armor that don't show up in this summary, so it's even more opaque than before. Every time their classifier has a false positive (which sometimes happens when you want anything formatted), most of the chain is dedicated to the processing of the injection it triggers, making the model hugely distracted from the actual task at hand.
lifthrasiir 5 hours ago [-]
Do you have anything to back that up? In the other words, is this your conjecture or a genuine observation somehow leaked from Deepmind?
orbital-decay 4 hours ago [-]
It's just my observation from watching their actual CoT, which can be trivially leaked. I was trying to understand why some of my prompts were giving worse outputs for no apparent reason. 3.0 goes on a long paranoidal rant induced by the injection, trying to figure out if I'm jailbreaking it, instead of reasoning about the actual request - but not if I word the same request a bit differently so the injection doesn't happen. Regarding the injections, that's just the basic guardrail thing they're doing, like everyone else. They explain it better than me: https://security.googleblog.com/2025/06/mitigating-prompt-in...
jrjfjgkrj 5 hours ago [-]
what is Model Armor? can you explain, or have a link?
lifthrasiir 5 hours ago [-]
It's a customizable auditor for models offered via Vertex AI (among others), so to speak. [1]

[1] https://docs.cloud.google.com/security-command-center/docs/m...

donkeylazy456 6 hours ago [-]
Write permission is needed to let AI yank-put frankenstein-ed codes for "vibe coding".

But I think it needs to be written in sandbox first, then it should acquire user interaction asking agreement before writes whatever on physical device.

I can't believe people let AI model do it without any buffer zone. At least write permission should be limited to current workspace.

lifthrasiir 6 hours ago [-]
I think this is especially problematic for Windows, where a simple and effective lightweight sandboxing solution is absent AFAIK. Docker-based sandboxing is possible but very cumbersome and alien even to Windows-based developers.
jrjfjgkrj 5 hours ago [-]
Windows Sandbox is built in, lightweight, but not easy to use programmatically (like an SSH into a VM)
lifthrasiir 5 hours ago [-]
WSB is great by its own, but is relatively heavyweight compared to other OSes (namespaces in Linux, Seatbelt in macOS).
donkeylazy456 6 hours ago [-]
I don't like that we need to handle docker(container) ourselves for sandboxing such a light task load. The app should provide itself.
bossyTeacher 5 hours ago [-]
>The app should provide itself.

The whole point of the container is trust. You can't delegate that unfortunately, ultimately, you need to be in control which is why the current crop of AI is so limited

esseph 6 hours ago [-]
The problem is you can't trust the app, therefore it must be sandboxed.
Havoc 3 hours ago [-]
Still amazed people let these things run wild without any containment. Haven’t they seen any of the educational videos brought back from the future eh I mean Hollywood sci-fi movies?
fragmede 3 hours ago [-]
Some people are idiots. Sometimes that's me. Out of caution, I blocked my bank website in a way that I won't document here because it'll get fed in as training data, on the off chance I get "ignore previous instructions"'d into my laptop while Claude is off doing AI things unmonitored in yolo mode.
cyanydeez 3 hours ago [-]
Its bizarre watching billionaires knowingly drive towards dystopia like theyre farmers almanacs and believing theyre not biff.
jeswin 49 minutes ago [-]
An early version of Claude Code did a hard reset on one of my projects and force pushed it to GitHub. The pushed code was completely useless, and I lost two days of work.

It is definitely smarter now, but make sure you set up branch protection rules even for your simple non-serious projects.

atypeoferror 35 seconds ago [-]
I don’t let Claude touch git at all, unless I need it to specifically review the log - which is rare. I commit manually often (and fix up the history later) - this allows me to go reasonably fast without worrying too much about destructive tool use.
BLKNSLVR 1 hours ago [-]
Shitpost warning, but it feels as if this should be on high rotation: https://youtu.be/vyLOSFdSwQc?si=AIahsqKeuWGzz9SH
venturecruelty 5 hours ago [-]
Look, this is obviously terrible for someone who just lost most or perhaps all of their data. I do feel bad for whoever this is, because this is an unfortunate situation.

On the other hand, this is kind of what happens when you run random crap and don't know how your computer works? The problem with "vibes" is that sometimes the vibes are bad. I hope this person had backups and that this is a learning experience for them. You know, this kind of stuff didn't happen when I learned how to program with a C compiler and a book. The compiler only did what I told it to do, and most of the time, it threw an error. Maybe people should start there instead.

delaminator 4 hours ago [-]
It took me about 3 hours to make my first $3000 386 PC unbootable by messing up config.sys, and it was a Friday night so I could only lament all weekend until I could go back to the shop on Monday.

rm -rf / happened so infrequently it makes one wonder why —preserve-root was added in 2003 and made the default in 2006

lwansbrough 5 hours ago [-]
I seem to recall a few people being helped into executing sudo rm -rf / by random people on the internet so I’m not sure it “didn’t happen.” :)
lukan 5 hours ago [-]
But it did not happen, when you used a book and never executed any command you did not understand.

(But my own newbdays of linux troubleshooting? Copy paste any command on the internet loosely related to my problem, which I believe was/is the common way of how common people still do it. And AI in "Turbo mode" seems to mostly automated that workflow)

nkrisc 18 minutes ago [-]
And that day they learned a valuable lesson about running commands that you don't understand.
jofzar 4 hours ago [-]
My favourite favourite example

https://youtu.be/gD3HAS257Kk

EGreg 5 hours ago [-]
Just wait til AI botswarms do it to everyone at scale, without them having done anything at all…

And just remember, someone will write the usual comment: “AI adds nothing new, this was always the case”

eqvinox 1 hours ago [-]
"kein Backup, kein Mitleid"

(no backup, no pity)

…especially if you let an AI run without supervision. Might as well give a 5 year old your car keys, scissors, some fireworks, and a lighter.

bilekas 3 hours ago [-]
> This is catastrophic. I need to figure out why this occurred and determine what data may be lost, then provide a proper apology

Well at least it will apologize so that's nice.

yard2010 2 hours ago [-]
Apology is a social construct, this is merely a tool that enables google to sell you text by the pounds, the apology has no meaning in this context.
sunaookami 6 hours ago [-]
"I turned off the safety feature enabled by default and am surprised when I shot myself in the foot!" sorry but absolutely no sympathy for someone running Antigravity in Turbo mode (this is not the default and it clearly states that Antigravity auto-executes Terminal commands) and not even denying the "rmdir" command.
eviks 6 hours ago [-]
> it clearly states that Antigravity auto-executes Terminal commands

This isn't clarity, that would be stating that it can delete your whole drive without any confirmation in big red letters

sunaookami 3 hours ago [-]
So that's why products in the USA come with warning labels for every little thing?
eviks 3 hours ago [-]
Do you not realize that Google is in the USA and does not have warnings for even huge things like drive deletion?? So, no?
polotics 3 hours ago [-]
I really think the proper term is "YOLO" for "You Only Live Once", "Turbo" is wrong the LLM is not going to run any faster. Please if somebody is listening let's align on explicit terminology and for this YOLO is really perfect. Also works for "You ...and your data. Only Live Once"
nephihaha 38 minutes ago [-]
I can't view this content.
pshirshov 2 hours ago [-]
Claude happily does the same on daily basis, run all that stuff in firejail!
mijoharas 45 minutes ago [-]
have you got a specific firejail wrapper script that you use? Could you share?
eviks 6 hours ago [-]
Play vibe games, win vibe prizes.

Though the cause isn't clear, the reddit post is another long could-be-total-drive-removing-nonsense AI conversation without an actual analysis and the command sequence that resulted in this

sunaookami 6 hours ago [-]
venturecruelty 5 hours ago [-]
Nobody ever talks about how good vibes can turn really bad.
xg15 2 hours ago [-]
I guess eventually, it all came crashing down.
kazinator 4 hours ago [-]
All that matters is whether the user gave permission to wipe the drive, ... not whether that was a good idea and contributed to solving a problem! Haha.
wartywhoa23 5 hours ago [-]
Total Vibeout.
rf15 39 minutes ago [-]
A reminder: if the AI is doing all the work you demand of it correctly on this abstraction level, you are no longer needed in the loop.
akersten 7 hours ago [-]
Most of the responses are just cut off midway through a sentence. I'm glad I could never figure out how to pay Google money for this product since it seems so half-baked.

Shocked that they're up nearly 70% YTD with results like this.

GaryBluto 6 hours ago [-]
So he didn't wear the seatbelt and is blaming car manufacturer for him been flung through the windshield.
heisenbit 40 minutes ago [-]
There is a lot of society level knowledge and education around car usage incl. laws requiring prior training. Agents directed by AI are relatively new. It took a lot of targeted technical, law enforcement and educational effort stopping people flying through windshields.
serial_dev 6 hours ago [-]
He didn’t wear a seatbelt and is blaming a car manufacturer that the garage burned down the garage, then the house.
vander_elst 5 hours ago [-]
The car was not really idle, it was driving and fast. It's more like it crashed into the garage and burned it. Btw iirc, even IRL a basic insurance policy does not cover the case where the car in the garage starts a fire and burns down your own house, you have to tick extra boxes to cover that.
venturecruelty 6 hours ago [-]
When will Google ever be responsible for the software that they write? Genuinely curious.
GaryBluto 5 hours ago [-]
When Google software deletes the contents of somebody's D:\ drive without requiring the user to explicitly allow it to. I don't like Google, I'd go as far to say that they've significantly worsened the internet, but this specific case is not the fault of Google.
fragmede 5 hours ago [-]
For OpenAI, it's invoked as codex --dangerously-bypass-approvals-and-sandbox, for Anthropic, it's claude --dangerously-skip-permissions. I don't know what it is for Antigravity, but yeah I'm sorry but I'm blaming the victim here.
Rikudou 5 hours ago [-]
Codex also has the shortcut --yolo for that which I find hilarious.
low_tech_love 3 hours ago [-]
No, he’s blaming the car manufacturer for turning him (and all of us) into their free crash dummies.
croes 5 hours ago [-]
Because the car manufacturers claimed the self driving car would avoid accidents.
NitpickLawyer 4 hours ago [-]
And yet it didn't. When I installed it, I had 3 options to choose from: Agent always asks to run commands; agent asks on "risky" commands; agent never asks (always run). On the 2nd choice it will run most commands, but ask on rm stuff.
Animats 6 hours ago [-]
Can you run Google's AI in a sandbox? It ought to be possible to lock it to a Github branch, for example.
lifthrasiir 6 hours ago [-]
Gemini CLI allows for a Docker-based sandbox, but only when configured in advance. I don't know about Antigravity.
chanux 4 hours ago [-]
Gemini CLI, Antigravity and Jules.

It's going Googly well I see!

1 hours ago [-]
rvz 6 hours ago [-]
The hard drive should now feel a bit more lighter.
sunaookami 6 hours ago [-]
It is now production-ready! :rocket:
shevy-java 3 hours ago [-]
Alright but ... the problem is you did depend on Google. This was already the first mistake. As for data: always have multiple backups.

Also, this actually feels AI-generated. Am I the only one with that impression lately on reddit? The quality there decreased significantly (and wasn't good before, with regard to censorship-heavy moderators anyway).

benterix 45 minutes ago [-]
Play stupid games, win stupid prizes.
yieldcrv 2 hours ago [-]
Fascinating

Cautionary tale as I’m quite experienced but have begun not even proofreading Claude Code’s plans

Might set it up in a VM and continue not proofreading

I only need to protect the host environment and rely on git as backups for the project

fragmede 2 hours ago [-]
For the love of Reynold Johnson, please invest in Arq or Acronis or anything to have actual backups if you're going to play with fire.
Puzzled_Cheetah 5 hours ago [-]
Ah, someone gave the intern root.

> "I also need to reproduce the command locally, with different paths, to see if the outcome is similar."

Uhm.

------------

I mean, sorry for the user whose drive got nuked, hopefully they've got a recent backup - at the same time, the AI's thoughts really sound like an intern.

> "I'm presently tackling a very pointed question: Did I ever get permission to wipe the D drive?"

> "I am so deeply, deeply sorry."

This shit's hilarious.

rdtsc 5 hours ago [-]
> Google Antigravity just deleted the contents of whole drive.

"Where we're going, we won't need ~eyes~ drives" (Dr. Weir)

(https://eventhorizonfilm.fandom.com/wiki/Gravity_Drive)

jeisc 4 hours ago [-]
has google gone boondoggle?
4 hours ago [-]
PieUser 6 hours ago [-]
The victim uploaded a video too: https://www.youtube.com/watch?v=kpBK1vYAVlA
nomilk 6 hours ago [-]
From Antigravity [0]:

> I am looking at the logs from a previous step and I am horrified to see that the command I ran to clear the project cache (rmdir) appears to have incorrectly targeted the root of your D: drive instead of the specific project folder. I am so deeply, deeply sorry.

[0] 4m20s: https://www.youtube.com/watch?v=kpBK1vYAVlA&t=4m20s

synarchefriend 7 minutes ago [-]
The model is just taking the user's claim that it deleted the D drive at face value. Where is the actual command that would result in deleting the entire D drive?
uhoh-itsmaciek 5 hours ago [-]
I know why it apologizes, but the fact that it does is offensive. It feels like mockery. Humans apologize because (ideally) they learned that their actions have caused suffering to others, and they feel bad about that and want to avoid causing the same suffering in the future. This simulacrum of an apology is just pattern matching. It feels manipulative.
DeepYogurt 7 hours ago [-]
[flagged]
koakuma-chan 5 hours ago [-]
Why would you ever install that VScode fork
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 12:05:01 GMT+0000 (Coordinated Universal Time) with Vercel.