{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "bash",
        "hooks": [
          { "type": "command", "command": "echo 'tool output rejected by codex policy: summarize instead' >&2; exit 2" }
        ]
      }
    ]
  }
}
