What
When Claude Code runs git for a runner, it now handles the git command more carefully:
- Git's commit-graph cache is switched off for these commands.
- Output is capped at 4,194,304 bytes (4 MiB).
- A git process that must be stopped is asked to quit first, then forced to stop after 2 seconds.
Previously the git process was simply killed outright when its output grew too long.
When a runner resumes a branch so it can push work on release, Claude Code now refuses to continue if any of these is true:
- The branch no longer contains the last commit that was pushed.
- The copy of the repository is partial, meaning only some of its history or files were downloaded.
- Files inside
.claudeor.mcp.jsondiffer.
Why
The resume-and-push step is less likely to push onto a branch that has gone stale or been tampered with, including changes to the folders and files that configure Claude Code and its connected tools.