fix: remove broken Stop hook from doc-guardian #82

Merged
lmiranda merged 1 commits from fix/remove-broken-stop-hook into development 2026-01-21 22:56:51 +00:00
Owner

The Stop hook referenced a non-existent "internal queue" and caused errors on every session end.

Removed the hook entirely since it cannot work without a proper state management mechanism.

🤖 Generated with Claude Code

The Stop hook referenced a non-existent "internal queue" and caused errors on every session end. Removed the hook entirely since it cannot work without a proper state management mechanism. 🤖 Generated with [Claude Code](https://claude.ai/code)
lmiranda added 1 commit 2026-01-21 22:56:32 +00:00
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>
lmiranda merged commit 0c07820b5a into development 2026-01-21 22:56:51 +00:00
lmiranda deleted branch fix/remove-broken-stop-hook 2026-01-21 22:56:51 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#82