codex-hooks.json 233 B

123456789101112
  1. {
  2. "hooks": {
  3. "PreToolUse": [
  4. {
  5. "matcher": "bash",
  6. "hooks": [
  7. { "type": "command", "command": "echo 'bash is disabled by codex policy in this session' >&2; exit 2" }
  8. ]
  9. }
  10. ]
  11. }
  12. }