{"version":"2.1.271","anchor":"multiple-cd-in-one-command-approval-reuses-prior-ask-decis","canonical_anchor":"multiple-cd-in-one-command-approval-reuses-prior-ask-decis","heading":"Multiple-cd-in-one-command approval reuses prior 'ask' decision across a lookup helper","tier":"internal","area":"Bash Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/multiple-cd-in-one-command-approval-reuses-prior-ask-decis","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### Multiple-cd-in-one-command approval reuses prior 'ask' decision across a lookup helper\n\nApproval check for multi-cd bash commands now uses a lookup helper instead of a manual loop\n\n**What**\n\nWhen 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.\n\n**Why**\n\nThis is an internal cleanup to how a prior approval decision is looked up; the approval requirement for multiple `cd`s in one command is unchanged.\n\n- Area: Bash Permissions\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}