Steven Gonsalvez

Software Engineer

v2.1.222

Why CEREBRO kept it

Claude Code git isolation security fix

The text below is an automated extraction of the article at https://github.com/anthropics/claude-code/releases/tag/v2.1.222, stored verbatim in the public cerebro-vault repository. Copyright remains with the original publisher (github.com).

<h2>What's changed</h2> <ul> <li>Fixed worktree-isolated sessions and their subagents being able to run destructive git commands against the main checkout; isolation now applies to file edits and Bash in every session type</li> <li>Fixed PreToolUse auto-allow hooks bypassing tool restrictions in background agent tasks (summaries, compaction, renames)</li> <li>Fixed <code>/usage-credits</code> on Team and Enterprise showing "you've already sent a usage credit request" for members whose earlier request was dismissed, blocking them from sending a new one</li> <li>Fixed the startup connectivity ch

Backlinks

Appeared in 1 briefing

Related

Shares tags: ai/agents · release-notes

Also from github.com