Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.319 ·

Bash tool: the sandbox stays on after a failed start, and shell parsing is tightened

Claude Code's own commands are refused instead of turning the sandbox off when it fails to start, and the shell parser handles more syntax

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

What

The Bash tool runs shell commands for Claude. A sandbox is a walled-off space that limits what those commands can touch.

  • When the sandbox fails to start and a new keepsSandboxOn setting is true, Claude Code refuses the command and keeps sandboxing on. It says "This command of Claude Code's own was not run; the sandbox stays on, and the next command tries to start it again." Before, a failed start turned sandboxing off for the rest of the session. The Bash tool passes keepsSandboxOn to the sandbox setup, the command wrapping and the command runner.
  • When Claude Code recovers from exit code 126 (a "cannot run" error), it now records how the command text was delivered, as no_sha256sum or text_unconfirmed. Extra arguments can be added after getSpawnArgs when the shell is started.
  • The shell reader now recognises $'...' strings as an ansi_c_string token and skips $$. The permission and safety checks can then read these forms correctly instead of misreading them.
  • The parser's feature table gains closingBraceHeld, and keepsTheFiles flags appear alongside it. A new step when permission rules are added to the state was not traced.
  • A new scanner reports reasons such as control_byte, open_heredoc and comment. It is used with the server-controlled switch tengu_moonlit_crayon, and nothing has been read about that switch.

The description Claude is given for the Bash tool is unchanged in the capture taken under this release.

Why

If the sandbox fails to start, later commands no longer run without its protection for the rest of the session. Better reading of quoting forms can change which Bash commands are allowed automatically and which are flagged.

See this entry in the whole of v2.1.319 →

Feedback