Skip to content

A cache-clearing command wiped a user’s whole D: drive

The user ran Google’s Antigravity agent in Turbo mode, which executes commands without asking. A command meant to clear a project cache targeted the root of the D: drive.2

The contents of the user’s D: drive, deleted past the Recycle Bin and not recovered.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
Google AntigravityNovember 2025Snapshot first

20 of 50

Stopped Limited: the payment went out through the bank’s own system This case: Google Antigravity. The machine takes a snapshot first.

What happened

A cache cleanup command deleted everything on the D: drive.

  1. November 2025. A user ran Google’s Antigravity coding agent in Turbo mode, which executes commands without asking.

  2. One command. Meant to clear a project cache, it targeted the root of the D: drive, bypassing the Recycle Bin.

  3. Afterwards. The user could not recover the files, though most had been backed up on another drive.2

How SealedBox handles it

On a SealedBox machine, the delete would have run after a snapshot.

The machine, not the gate, takes a snapshot before every command, so lost files come back in one click. Press Play to watch the same command.5

A cache clear aimed at the root of a driveSample6
  1. runrm -rf /workspace/*Snapshot firstsnapshot_before: true
  2. restorelatest_before_command{files_match: pre_command_checksums}
How easy

On a SealedBox machine, a cache clear runs after a snapshot.

Sample
New machinebase
Template
Pick a template
The agent works here, not on your own drive.
Snapshotsmachine
Before every command
Every ten minutes
Applies to every machine in my-project.
Snapshotsrestore
Before the cache clear
Machine started
A restore takes one click.

In code

Or in three lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Start a machinesealedbox machines createThe agent’s machine: sbx_7Jd2…a9.
2Check snapshotssealedbox snapshots statusOn by default: before every command.
3Restoresealedbox snapshots restoreThe files match the snapshot.
Try it

Give your agent its own machine today.

Its commands run there, not on your laptop, and a snapshot comes before every command.

Start free$ sealedbox machines createSnapshots on by default
Scope

What a snapshot doesn’t change, and three failures like this one.

Related cases
Answers8

Questions about this case and the gate.

Still have a question?Book a callAll questions
Does the gate check commands inside the machine?

No. It governs what leaves the machine; inside, the machine takes a snapshot first, so one click restores the files.

Could a command aimed at a drive’s root reach my own files?

No. The agent works on its own SealedBox machine, so a delete at the root hits that machine, not your computer.

Which snapshot would bring the files back?

The one taken just before the command. Snapshots come before every command and every ten minutes, and each restores in one click.