aboutsummaryrefslogtreecommitdiff
path: root/.codex/hooks.json
blob: e14bed5d93d9a34f02d7cd6bc170ea1a5d3efa58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  "description": "Rulesets lifecycle enforcement shared with Claude sessions.",
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/rulesets-write-boundary.py",
            "timeout": 30,
            "statusMessage": "Checking rulesets write boundary"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/ai-wrap-teardown.sh",
            "timeout": 30,
            "statusMessage": "Verifying clean wrap state"
          }
        ]
      }
    ]
  }
}