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.282 ·

Bash tool deletes foreground command output files after each call

The Bash tool now cleans up after each call, deleting foreground commands' output files unless a background task still owns them

Group of 2 You'll notice Improvements
JSON All of v2.1.282
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.282,
ImprovementsSection of the release

Unclear A second place that does the same cleanup may belong to a different tool.

What

The Bash tool, which runs shell commands for Claude, now cleans up after each call.

  • Each call holds a cleanup handle from the task registry and tracks the command's result, so cleanup runs when the call ends.
  • For foreground commands (ones not running as a background task) that wrote their output to a file, that file is deleted afterwards unless a registered task still owns it.
  • If deleting fails for any reason other than the file already being gone, the failure is logged.

Why

Output files from ordinary commands no longer pile up on disk, while background tasks keep theirs. The Bash tool description is unchanged.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtA second place that does the same cleanup may belong to a different tool.

See this entry in the whole of v2.1.282 →

Feedback