Stats
Actions
Tags
From convergence
Blocks Bash tool calls that attempt to run `git worktree add`, preventing accidental worktree creation. Executes a shell script to inspect and reject matching commands.
1 event · 1 hook
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Bashecho "$CLAUDE_TOOL_INPUT" | grep -qiE '(rm\s+-rf\s+[^(node_modules|dist|build|coverage|__pycache__|.cache|.next|.turbo)]|DROP\s+(TABLE|DATABASE)|TRUNCATE|git\s+push\s+--force|git\s+push\s+-f|git\s+reset\s+--hard|git\s+checkout\s+\.)' && echo 'WARN: Destructive command detected. Review carefully before approving.' >&2 || truenpx claudepluginhub c-sonnier/convergence --plugin convergence