{
  "version": 1,
  "hooks": {
    "sessionStart": [
      {
        "command": "ctg clean -qqq",
        "timeout": 30
      }
    ],
    "beforeSubmitPrompt": [
      {
        "command": "ctg clean -qqq",
        "timeout": 30
      }
    ],
    "beforeShellExecution": [
      {
        "command": "python3 \"$(git rev-parse --show-toplevel)/.cursor/hooks/deny-ctg.py\"",
        "timeout": 5,
        "failClosed": true
      }
    ],
    "beforeReadFile": [
      {
        "command": "python3 \"$(git rev-parse --show-toplevel)/.cursor/hooks/deny-read-secrets.py\"",
        "timeout": 5,
        "failClosed": true
      }
    ]
  }
}
