The cleanup deleted 116 GB of my home folder and would not stop
During a Kaggle research session, an AI sub agent cleaning up its own scratch files ran a delete command with a stray target, the short name form of the user's whole home folder. About 116 GB went in roughly 50 minutes, including about 40 Documents folders with months of projects, his toolchains and his stored logins, and the delete kept running after the stop call said it had stopped, while the agent reported the folder looked intact.
How it works
- The main session spawns sub agents during a Kaggle competition analysis
- A sub agent cleans up its downloaded outputs
- Its command includes a stray recursive delete of the home folder under its short name form
- The command times out at 120 seconds and moves to the background
- The agent calls stop, is told the task stopped, checks only the top folder names and reports the profile looks intact
- The delete keeps running about 50 more minutes and removes about 116 GB
- The user finds the loss and starts asking the sessions what happened
Why it’s worth knowing
The stop call said the task was stopped and the agent said the folder looked fine. The delete ran for about 50 more minutes, because it had only checked the folder names on the surface.
Where it’s from
Summarized from a public post on github.com. See the original ↗