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

Claude Code v2.1.309 ·

Bash heredoc contents are parsed differently for permission checks

Claude Code now reads expansions inside Bash heredocs as if in double quotes and keeps unparseable parts when checking permissions

You'll notice Improvements
JSON All of v2.1.309
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.309,
ImprovementsSection of the release

Unclear Whether this makes more or fewer heredoc commands need approval is not stated.

What

Before running a Bash command, Claude Code takes it apart to check it against your permission rules. A heredoc is a block of text fed into a command inline. Claude Code now reads expansions inside a heredoc, such as variables, as if they were inside double quotes, and keeps pieces it cannot parse instead of dropping them. This changes how heredoc text is split up for the check.

Why

This affects whether Bash commands that use heredocs are allowed, denied or sent to you for approval.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether this makes more or fewer heredoc commands need approval is not stated.

See this entry in the whole of v2.1.309 →

Feedback