{ "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" } ] } ] } }