Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Agent worktrees are created with repo git filter drivers switched off

You'll notice
Useful3 Signal3
Git Safety not in their notes

Agent worktrees now ignore repo-supplied filter programs, and refuse to build when git config looks risky.

--includes
What

Creating or reusing a worktree for an agent now blanks every filter driver the repository config defines, so checking out files cannot run programs the repo supplies. Three situations stop worktree creation instead: git config that cannot be read, a filter whose name contains = or a newline, and a config using a conditional include. This is active in this build with no flag.

Details
  • The repository's local and per-worktree config is read with --includes and -z --list, and for each filter driver found the git call gets -c filter.<name>.clean=, .smudge=, .process= and .required=false.
  • Each refusal records its own telemetry: git_worktree_create_config_unreadable, git_worktree_create_filter_name_unrepresentable, git_worktree_create_conditional_include.
  • A conditional include is refused because the set of filters a checkout would load cannot be worked out ahead of time.
Evidence

The repository git config has a conditional include (includeIf), so the filter drivers a checkout would load cannot be determined

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.247 →