Stats
Actions
Tags
From state-gate
Blocks editing/writing on the main branch, enforces branch leases for bash commands, normalizes bash output, and marks in-progress tasks. Runs bash scripts, can modify files.
3 events · 3 hooks
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
Read|Write|Edit|Glob|Grep|Bash|WebSearch|WebFetchnpx -y @caphtech/state-gate pre-tool-usemcp__state-gate__state_gate_emit_eventnpx -y @caphtech/state-gate post-tool-usecompactif [ -f .state_gate/state-gate.json ]; then echo ''; echo '📊 ==================== State After Compaction ===================='; npx -y @caphtech/state-gate get-state; echo '=================================================================='; echo ''; finpx claudepluginhub caphtech/state_gate