Follow Discord
Sweep 30 Oct 2026 · 21:36Z Build v2.1.315 533 read Stable v2.1.308 Latest v2.1.314 Next v2.1.315 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.315 ·

Bash permission checks read heredocs and Gradle's exclude-task option differently

Claude Code's check of shell commands handles heredocs inside substitutions by default and knows Gradle's -x and --exclude-task take a value

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

Before running a shell command, Claude Code analyzes it to decide whether it can run without asking you or needs your permission. Three things changed in that analysis:

  • Heredocs inside substitutions: a new option for handling them is switched on by default. A heredoc is a block of text fed into a command, and a substitution is a command nested inside another, such as $( ... ).
  • Nested shells: relative values carried through a command are now passed along when Claude Code checks a shell started inside another shell.
  • Gradle: -x and --exclude-task are now known to take a value, the name of the task to skip.
Why

These changes affect which shell commands Claude Code allows on its own and which it stops to ask you about.

See this entry in the whole of v2.1.315 →

Feedback