You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release
What
A worktree is a separate working copy of a git repository that Claude Code can create so work happens apart from your main checkout. Claude Code now refuses to create one in two cases:
Under --restricted when the folder is not trusted. The message reads: "No worktree made: --restricted needs a trusted folder. Run claude here to trust it, or run without a worktree." This check is on unless it is switched off remotely.
When the repository itself is not trusted. The message begins: "No worktree made: this repository isn't trusted..." This check sits behind a separate remote switch.
To get past the first refusal, run claude in that folder once and accept the trust prompt, or run without a worktree.
Why
It stops Claude Code from setting up a working copy of a repository you have not marked as trusted, which hardens --restricted sessions and other untrusted setups.
Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.333: on
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.