zudo-doc
GitHub repository

Type to search...

to open search from anywhere

hooks.json

Codex lifecycle hook configuration

EventMatcherTypeCommandTimeoutAsync
PreToolUse^Bash$command$(git rev-parse --show-toplevel)/.codex/hooks/deny-dangerous-shell.sh30

Source

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "^Bash$",
        "hooks": [
          {
            "type": "command",
            "command": "$(git rev-parse --show-toplevel)/.codex/hooks/deny-dangerous-shell.sh",
            "timeout": 30,
            "statusMessage": "Checking shell safety policy"
          }
        ]
      }
    ]
  }
}

Revision History

CreatedUpdated

AI Assistant

Ask a question about the documentation.

Preview theme

Loading theme previews…