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 ·

Shell permission checks now cover more cp, mv and rm cases

Claude Code now checks where cp and mv really write, looks inside ${HOME} in rm targets, and lets deny rules override rm checks

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

Before Claude runs a shell command, Claude Code checks whether it may run it without asking you. These checks change:

  • cp and mv now understand the -t, -S, -b and --backup options and work out where files will actually land
  • cp and mv now ask you when a backup file's name depends on your environment
  • rm and rmdir targets written with ${HOME...} are now expanded and checked
  • a matching deny rule, a rule you set to block a command, can now override the check for dangerous rm deletions

These checks also read the CLAUDE_CODE_DISABLE_SUBSTITUTION_RM_PROMPT environment variable. One gate involved is on by default in the code unless it is switched off remotely.

Why

These close gaps where a command that changes files could get past the permission check.

Read from
Feature flag
tengu_iridescent_boot Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.321: on

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.321. It isn't a statement about your account. What a flag value here can and cannot tell you

See this entry in the whole of v2.1.321 →

Feedback