{
  "description": "multi-agent-pipeline hooks for Codex. edit-syntax-gate.sh parses the files an apply_patch just wrote and hands a syntax error back as PostToolUse additionalContext; it never blocks and is inert until prefs.global.editSyntaxGate.enabled is true.",
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "apply_patch",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$HOME/.codex/scripts/edit-syntax-gate.sh\"",
            "timeout": 10,
            "statusMessage": "Checking the edited files parse..."
          }
        ]
      }
    ]
  }
}
