The gsd-context-monitor PostToolUse hook was configured without a matcher or timeout, causing it to fire on every tool use including Read, Glob, and Grep. When multiple Read calls happen in parallel, some hook processes failed with errors. Added matcher: 'Bash|Edit|Write|MultiEdit|Agent|Task' to limit the hook to tools that actually modify context significantly. Added timeout: 10 to prevent hangs. Includes migration logic: existing installations without matcher/timeout get them added on next /gsd:update.
150 KiB
Executable File
150 KiB
Executable File