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 ·

Claude Code skips its own git checks in repositories with unsafe settings

A new safety check can skip Claude Code's own git status runs when a repository's git settings look unsafe, behind a remote switch

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
GitArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release

Unclear Whether this protection is switched on depends on a remote setting whose state has not been read.

What

Claude Code runs git status for its own checks, for example in auto mode, where Claude acts without asking you each time. Git config is a set of settings stored with a repository that tells git how to behave. A new safety check now skips those git status runs, and logs why, when the repository's git config looks unsafe:

  • the repository cannot be used
  • a core.worktree setting moves the working folder somewhere else
  • it has filters that cannot be switched off

When the CLAUDE_CODE_EVAL_CONFINED environment variable is set, the check does not run git at all. The check sits behind a switch controlled from Anthropic's servers; when that switch is off, git status runs without these restrictions.

Why

This protects auto mode from repositories whose git settings could make a routine git status do something harmful.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether this protection is switched on depends on a remote setting whose state has not been read.

See this entry in the whole of v2.1.326 →

Feedback