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 ·

Output redirect checks now look at every target before asking

When a command writes to several files, Claude Code now checks every target and asks about one needing a safety check first

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

Unclear Whether redirects to /dev/null still go through without a prompt is not shown.

What

A redirect is the part of a shell command that sends output into a file, such as > out.txt. Before running a command, Claude Code checks where its redirects write. It used to stop at the first target it would not allow. It now looks at every target and then picks which question to ask you:

  • If any target needs a safety check, a stricter prompt for risky actions, Claude Code asks about that one straight away
  • Otherwise it asks about the first target that needs your approval

The early step that skipped redirects to /dev/null, a place that throws output away, is no longer part of this check.

Why

When several redirects in one command are blocked, a prompt that needs a safety check now comes before any other.

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 redirects to /dev/null still go through without a prompt is not shown.

See this entry in the whole of v2.1.311 →

Feedback