Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.318 ·

Stricter rules for auto-approving commands run from REPL scripts

A command written out in a REPL script is auto-approved as read-only only if it runs in the foreground and avoids several shell features

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

Unclear Whether REPL mode is available to users in this release is not stated.

What

Claude Code can approve some shell commands on its own when they only read things, so it does not have to ask you. For commands written out in a REPL script, a command now qualifies only if all of these hold:

  • No permission rule gives a reason to block it
  • It does not run in the background
  • It parses cleanly, with no errors
  • It has no stray &
  • It does not use coproc
  • It has no redirects other than 2>&1
Why

This decides which REPL-run commands go through without a permission prompt. Anything that breaks one of these rules gets a prompt instead.

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 REPL mode is available to users in this release is not stated.

See this entry in the whole of v2.1.318 →

Feedback