Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

Sandbox scrub/cleanup now deferred until the spawned process actually exits

Sandbox cleanup now waits for the spawned process to actually exit before scrubbing

Under the hood Internal Changes
JSON All of v2.1.271
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SandboxArea: what it touches
Internal ChangesKind: in v2.1.271,
Internal ChangesSection of the release
What

Sandbox cleanup functions (cleanupAfterCommand, scrubAfterCommand) now run in response to a spawned process's exit or error events, instead of running immediately after the command is started. Snapshots of paths needing cleanup — such as bare git repositories and symlinked deny paths — are taken before scrubbing begins, so cleanup can use the state as it was prior to scrubbing.

Why

Running cleanup only after the process truly exits avoids scrubbing sandbox state while the command might still be using it, making cleanup more reliable.

See this entry in the whole of v2.1.271 →

Feedback