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.239 Home All releases olderv2.1.238 v2.1.240newer
Claude Code v2.1.239

Git runs in synced directories under a hardened, verified layout

You'll notice
Useful3 Signal4
Git

Git inside synced directories runs under a hardened layout with filters, hooks and protocols locked down.

What

Before running git inside a synced directory, Claude Code reads the repository layout and checks it against the filesystem, pins off filter programs and hooks, restricts which protocols git may use, and disables lazy fetch, replace refs and grafts. Git is refused outright if a config file inside the working tree contributes settings, or if the git directory is not where git says it should be. Outcomes are recorded as telemetry.

Details
  • Aimed at repositories synced from elsewhere, where the checked-out files could otherwise redirect git into running repo-supplied commands.
Evidence

tengu_dir_sync_git_layout

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

See this entry in the whole of v2.1.239 →