agent/codex/verify/hooks.json

18 lines
431 B
JSON
Raw Permalink Normal View History

{
"$schema": "https://claude.ai/schemas/hooks.json",
"hooks": {
"PreToolUse": [
{
"matcher": "tool == \"Bash\" && tool_input.command matches \"^git push\"",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/pre-push-check.sh"
}
],
"description": "Warn about unpushed verification before git push"
}
]
}
}