Files
Agentic-AI-Template/Writing/Codex/.codex/hooks.json
T
2026-04-28 01:30:16 +09:00

31 lines
639 B
JSON

{
"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"
}
]
}
]
}
}