{"version":"2.1.326","anchor":"add-dir-shows-a-folder-trust-prompt-before-adding-a-directo","canonical_anchor":"add-dir-shows-a-folder-trust-prompt-before-adding-a-directo","heading":"\/add-dir can ask you to confirm a folder before adding it","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/add-dir-shows-a-folder-trust-prompt-before-adding-a-directo","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### \/add-dir can ask you to confirm a folder before adding it\n\n`\/add-dir` now checks the folder you name and, for some folders, asks you to confirm before adding it as a working directory\n\n**Unclear.** Which folders are flagged and trigger the confirmation is not stated.\n\n**What**\n\n`\/add-dir` adds a working directory, a folder Claude Code may read and edit files in during the session. Before, the folder was added as soon as its path checked out. Now Claude Code first sorts the folder into a category, and if it flags the folder, a confirmation dialog appears before anything is added.\n\n- When no one can answer the dialog, for example when Claude Code runs without an interactive prompt, it declines and reports \"Did not add ... as a working directory.\"\n\n- While the dialog is open, Esc does not close the directory prompt.\n\n**Why**\n\nAdding a folder gives Claude Code access to its files, so this adds a check before access is granted to folders it flags.\n\n- Area: Permissions\n- Names: `\/add-dir`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}