Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Multiple-cd-in-one-command approval reuses prior 'ask' decision across a lookup helper

Approval check for multi-cd bash commands now uses a lookup helper instead of a manual loop

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaBash Permissionswhat it touches
KindInternal Changesin v2.1.271,
Under the hood

Approval check for multi-cd bash commands now uses a lookup helper instead of a manual loop

What

When a bash command contains more than one cd (change directory) invocation, Claude Code still requires approval for it, for clarity about which directory the command ends up running in. The internal code that checks for a prior "ask" decision on such a command now uses a small helper function to look this up, replacing a manual loop that checked each entry for an "ask" behavior.

Why

This is an internal cleanup to how a prior approval decision is looked up; the approval requirement for multiple cds in one command is unchanged.

See this entry in the whole of v2.1.271 →