Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Bash tool description now limits when cd carries over

The Bash tool description in this version says a cd carries to the next call only in the main session and only in some cases

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

The Bash tool is how Claude runs shell commands, and Claude reads a description of it that explains how it behaves. In this version that description changed how it describes cd, the command that changes the current directory.

It used to say the working directory persists between commands. It now says a cd carries to the next call only in the main session (the conversation you are directly working in), and only when:

  • the command succeeds
  • it ends inside the working directories

If it ends outside them, the shell does not stay there.

Why

Claude is now told not to rely on a cd carrying over outside the main session, after a failed command, or into a folder outside the working directories.

See this entry in the whole of v2.1.311 →

Feedback