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 v1.0.124 Home All releases olderv1.0.123 v1.0.125newer
Claude Code v1.0.124

Git Hooks Protection

What: Claude Code now protects .git/hooks directories in all git repositories within your workspace, requiring explicit permission before modifying hook scripts.

Details:

  • Scans workspace for all git repositories using .git/HEAD detection
  • Automatically adds .git/hooks and .git/config to protected paths list
  • Prevents unauthorized modification of pre-commit, post-checkout, and other git hooks
  • Complements existing .git/config protection (present since v1.0.86)
  • Evidence: New protection logic in YIA() at lines 363503-363531, filtering .git from recursive scans at line 363462

See this entry in the whole of v1.0.124 →