{"version":"2.1.326","anchor":"background-dispatch-refuses-untrusted-add-dir-folders","canonical_anchor":"background-dispatch-refuses-untrusted-add-dir-folders","heading":"Background sessions refuse to start with an untrusted --add-dir folder","tier":"notice","area":"Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/background-dispatch-refuses-untrusted-add-dir-folders","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Background sessions refuse to start with an untrusted --add-dir folder\n\nStarting a background session with `--add-dir` now exits with an error if any added folder isn't trusted\n\n**What**\n\nThe `--add-dir` flag gives Claude Code access to extra working folders. When you start a background session with it (a session that runs on its own while you do other things), Claude Code now checks that each added folder is trusted. If a folder isn't, Claude Code stops with exit code 1 and the message \"Added folder not trusted:\" followed by that folder.\n\n**Why**\n\nBefore this, starting a background session with an extra folder could skip the trust question that normally protects you from untrusted folders. If a background start fails with this message, open that folder in Claude Code once and trust it.\n\n- Area: Sessions\n- Names: `--add-dir`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}