claude-harness/hooks/settings.hooks.json
2026-10-12 00:26:40 +04:00

44 lines
855 B
JSON

{
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write|MultiEdit|Bash",
"hooks": [
{
"type": "command",
"command": "\"$HOME/.claude/hooks/guard-main.sh\""
}
]
},
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "\"$HOME/.claude/hooks/require-plan.sh\""
}
]
}
],
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "\"$HOME/.claude/hooks/harness-check.sh\""
}
]
},
{
"hooks": [
{
"type": "command",
"command": "\"$HOME/.claude/hooks/role-hint.sh\""
}
]
}
]
}
}