{ "hooks": { "PreToolUse": [ { "matcher": "Bash|shell_command", "hooks": [ { "type": "command", "command": "python .codex/hooks/pre_tool_guard.py", "timeout": 10, "statusMessage": "Checking shell command safety" } ] } ], "Stop": [ { "matcher": "", "hooks": [ { "type": "command", "command": "python .codex/hooks/stop_validate.py", "timeout": 60, "statusMessage": "Validating document harness files" } ] } ] } }