You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What
When you start Claude Code with --add-dir (which gives Claude access to extra folders), it now asks you to trust each of those folders at startup.
If you decline, Claude Code exits with: "To go on without it, start again with the same flags but without --add-dir. Add --resume to pick up an earlier conversation."
Why
This is a new check on a commonly used flag. Scripts that launch Claude Code with --add-dir may now stop at this prompt.
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 sinceAnthropic'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 worktreechangelogsee the edit
Added sinceA 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-referencesee 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