Claude Code blocks agents from wrecking session files and running blind deletes

Anthropic shipped Claude Code versions 2.1.203 to 2.1.205 around 7–8 July 2026. The release adds an auto-mode rule that blocks tampering with session transcript files and makes auto mode ask before running rm -rf when variables are unresolved. It also improves agent visibility with clearer status and manual-mode badges, smarter PR linking for background tasks, a full /doctor setup checkup, and lower-memory auto-update downloads. Multiple fixes target background agents, Windows worktree reliability, Remote Control status accuracy and session recovery.
Before these patches, long-running or background Claude Code agents could silently alter transcript files or execute destructive shell commands when variables failed to resolve. Solo founders who leave agents unsupervised while shipping features or fixing support issues carried real risk of lost context or accidental file damage. The new guards and status badges reduce that surface without introducing new dashboards or agent frameworks. Reliability of multi-hour sessions and remote control improves enough that a tiny team can leave an agent working with slightly less babysitting, provided the rest of the setup is already stable.
Analysis
This is a reliability patch, not a reason to start a new agent stack. If you already use Claude Code for vibe-coding or background tasks, update, run /doctor, then test auto-mode once on a disposable worktree to confirm the transcript and rm guards fire before you trust it on anything revenue-critical.
Pulse published by Collab365 Spaces, reviewed by Helen Jones on . Cite as "Claude Code blocks agents from wrecking session files and running blind deletes", Collab365 Spaces. 2 sources referenced.