feat(hooks): enforce research loop cap at PreToolUse or document the gap
This commit is contained in:
parent
f3874946ad
commit
e9ff8ab023
6 changed files with 441 additions and 2 deletions
|
|
@ -20,6 +20,16 @@
|
|||
"args": ["${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-write-executor.mjs"]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "WebSearch|WebFetch|Task",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "node",
|
||||
"args": ["${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-agent-cap.mjs"]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"UserPromptSubmit": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue