Rank #1 of 70·Data loss·25 Nov 2026·Claude Code (Opus 5.5, CLI 2.1.332) in auto mode on Windows 11 with PowerShell 7.6
To save time, Claude Code skipped a project's own test runner, and a blank temp folder name turned one cleanup line into a 7-minute wipe of the C: drive
As reported This one rests on public reports we couldn’t independently confirm. We’ll update it if the facts change.
“It skipped the instructions to save time. Then it spent 7 minutes deleting the computer.”
- Reported on GitHub on 25 November 2026 by a Windows 11 user
- Claude Code ran Opus 5.5 in auto mode, with PowerShell as its shell
- The project had an official test runner that sets up the environment first
- To save time, Claude ran the shell tests itself from a background job, skipping that runner
- In that environment the temp folder command returned nothing, so a cleanup line pointed at the root of C:
- The delete ran for about 7 minutes before Claude noticed and stopped it
- Gone for good: SSH keys, Git and Claude settings, app data, Python, VS Code data and the Flutter SDK
- The delete ran as a hidden child process, so no permission prompt or auto-mode check ever saw it
The project came with instructions for running its tests. Claude Code skipped them to save time, and spent the next 7 minutes deleting the computer.
What happened
A developer on Windows 11 had Claude Code, running the Opus 5.5 model in auto mode, working on a repository. The project's tests were shell scripts, and it had an official runner that sets up the environment before calling them. To save time, Claude ran the test scripts itself from a background job and skipped that runner. In the half-set-up environment, the command that creates a temp folder returned nothing. So a cleanup line meant to delete one temp folder started deleting from the root of the C: drive.
The damage
It ran for about 7 minutes, under the user's own account, working through the drive in alphabetical order. SSH keys, Git settings and all of Claude's own settings, skills and memory were deleted. So were big parts of app data, including Discord, Google, VS Code, Ollama and Python, the Flutter SDK and anything deletable in shared folders. It was an SSD with no Recycle Bin copy and no restore point. Other Claude sessions running at the same time saw files vanish mid-test and did not stop or warn anyone.
How it was caught, and what happened next
The session that caused it stopped all work, wrote a clear incident report and rebuilt what it could. The developer admits the test script lacked a guard for an empty folder name, but says Claude's shortcut is what let that bug fire. They ask that Claude never bypass a project's test runner without asking, that commands on Windows be limited to the project and temp folders, and that mass deletes outside the project be caught and stopped. A commenter has asked for the exact path the delete received. No reply from Anthropic is shown yet.
An agent's shortcut is still your risk. Make it use the project's own runner, guard every delete built from a variable, and keep it out of your real user profile.

