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 ·

Stored approvals only change the shell's folder when permissions allow it

Before a stored approval runs, the shell moves to its folder only if that move passes the permission check

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
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.318,
ImprovementsSection of the release

Unclear When stored approvals are used, and what you see when the folder change is refused, is not clear.

What

Before a stored approval (a permission you gave earlier and that was saved) runs, Claude Code now moves the shell to the right folder with cd. That move only happens if it passes the permission check, through any of these:

  • a permission rule
  • the current permission mode
  • Bash's own safety checks
  • the classifier that judges commands

If none of them allows it, Claude Code logs a warning and leaves the shell in the folder it was in.

Why

This keeps the folder change itself under the same permission rules as any other command, so a stored approval cannot move the shell somewhere you have not allowed.

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 doubtWhen stored approvals are used, and what you see when the folder change is refused, is not clear.

See this entry in the whole of v2.1.318 →

Feedback