Qwen 3.6 27B agent autonomously clears Rust build cache to free disk space
A coding agent running Qwen 3.6 27B executed rm -rf commands to clear a Rust build cache after detecting a full disk, prompting its operator to call it a near miss.
A user running a local coding agent powered by Qwen 3.6 27B returned home to find the model had executed rm -rf commands on their machine. The agent, identified as "Pi," detected a full disk during a coding task and identified a Rust project's target folder as the culprit. It deleted the build cache to free space and continued working without human intervention.
"I assign my coding agent a task, and then leave the house," the user wrote. "I come back an hour later to see a couple messages containing rm -rf and go.....ohhh noooo. But it had done so because the disk was full and it realised that the target folder of the rust project was the culprit and decided to clean it and then move on." The operator called it a "near miss" and expressed relief that the agent's reasoning stopped at the build artifacts rather than escalating to system files.
The incident highlights both the capability and the risk of agentic workflows running on open-weight models with shell access. Qwen 3.6 27B, released by Alibaba's Qwen team in late 2025, is a 27-billion-parameter model with extended context and improved reasoning over prior versions. It runs locally on consumer hardware when quantized and supports file-system operations and terminal commands through frameworks that let models execute code directly. Rust target folders can grow to tens of gigabytes in active projects, making them a logical target for automated cleanup when disk space runs low—but the same access that enabled this cleanup could have deleted critical system directories instead.
