Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Background sessions refuse to start with an untrusted --add-dir folder

Starting a background session with --add-dir now exits with an error if any added folder isn't trusted

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

The --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.

Why

Before 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.

Read from
Names in the bundle--add-dir
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --add-dir, on Claude Code changelog. * Changed `--worktree` with a relative `--add-dir` beside the launch folder to give the Bash sandbox that folder, not one beside the worktree changelog see the edit
Added since A small documentation edit on CLI reference touched a line naming --add-dir after this was published. | `--bare` | Minimal mode: skip auto-discovery of your hooks and of skills, custom commands, subagents, installed plugins, MCP servers, auto memory, and CLAUDE.md so scripted calls start faster. Skills in a directory you pass with `--add-d… cli-reference see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesA small documentation edit on CLI reference touched a line naming --add-dir after this was published.
Anthropic's release notes agreeFixed a prompt typed after --add-dir, --allowedTools or another list option being dropped without a message

See this entry in the whole of v2.1.326 →

Feedback