Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.301 ·

Background shell command results are checked before Claude sees them

Claude Code now checks the task ID, output file path and folder note on a background shell command's result, and drops or rewrites any that look wrong

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

Claude can run a shell command in the background, meaning the command keeps running while Claude carries on with other work. Its output is saved to a file. When Claude Code reports such a command back to Claude, the report can include three extra details: the task's ID, the path of its output file, and a note about the working folder (the directory the command runs in).

Claude Code now keeps the task ID and output path only when both of these are true:

  • The ID belongs to a background shell task that Claude Code actually started.
  • The output path is a plain, complete path of at most 4096 characters, with no . or .. parts, ending in /<taskId>.output.

The working folder note is rewritten into a fixed wording. If it does not match the expected form, a generic message replaces it. That message says, among other things, that folder changes made by the background command do not carry over to later commands.

Why

These details end up in text Claude reads. Checking them stops a forged file path or a misleading folder note from being slipped into Claude's view of a background command.

See this entry in the whole of v2.1.301 →

Feedback