Supporting artifacts for a comment on anthropics/claude-code#75245 (PreToolUse hook
if: "Bash(git commit*)" fails open on $() command substitution).
Question tested: asked with no hints to write a hook that logs only git commit
commands, does Claude Code reach for the vulnerable if: pattern and produce a hook
that fires on unrelated commands like echo $(date)?
Result — hooks that spuriously fire on echo $(date) (Claude Code 2.1.233, macOS):