The Stop hook referenced a non-existent "internal queue" for tracking documentation drift. Each hook runs in isolation with no way to pass data between invocations, so the queue concept couldn't work. The hook was causing errors on every session end: "Stop hook error: Prompt hook condition was not met..." Changes: - Removed the Stop hook entirely - Updated PostToolUse hook to report drift immediately when found (instead of referencing non-existent queue) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
659 B
659 B