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

Auto mode gives clearer answers when a command's leading cd no longer matches

When auto mode checked a shell command without its leading cd and the folder has since changed, Claude is told how to retry

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

In auto mode, Claude Code reviews shell commands before running them. Sometimes a command starts with cd (change folder), and the review looked at the command without that part. If the shell's current folder has moved since, the review no longer covers what would actually run.

Claude Code now handles two cases:

  • The shell has moved: the refusal tells Claude to send the command again with its original wording.
  • The cd target no longer exists: the message says the command was not run because it would fail.
Why

Claude gets a clear next step instead of hitting a refusal it cannot get past, so fewer auto-mode runs stall after the working folder changes.

See this entry in the whole of v2.1.321 →

Feedback