{
  "version": 1,
  "hooks": {
    "preToolUse": [
      {
        "type": "command",
        "bash": ".goat-flow/hooks/deny-dangerous.sh",
        "powershell": "if (Get-Command bash -ErrorAction SilentlyContinue) { bash .goat-flow/hooks/deny-dangerous.sh } else { Write-Output '{\"permissionDecision\":\"deny\",\"permissionDecisionReason\":\"Bash, Git Bash, or WSL is required to run .goat-flow/hooks/deny-dangerous.sh on Windows.\"}' }",
        "timeoutSec": 30
      }
    ]
  }
}
