From bc136fab7e6a14d4e5be53b736c8529bb7565a10 Mon Sep 17 00:00:00 2001 From: lmiranda Date: Fri, 23 Jan 2026 11:51:31 -0500 Subject: [PATCH] docs: update CHANGELOG with actual fix for #110 Prompt hook approach didn't work - Claude ignores instructions. Real fix was switching to command hook type. Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 123c057..c2d52fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,10 +14,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Resolves issue where commits to protected branches would fail on push ### Changed -- **doc-guardian:** Hook completely rewritten to be truly non-blocking - - Removed all analysis logic that could trigger workflow stoppage - - Now outputs only minimal notification for config file changes - - Forbidden words list prevents accidental blocking output +- **doc-guardian:** Hook switched from `prompt` type to `command` type + - Prompt hooks unreliable - Claude ignores explicit instructions + - New `notify.sh` bash script guarantees exact output behavior + - Only notifies for config file changes (commands/, agents/, skills/, hooks/) + - Silent exit for all other files - no blocking possible - **All hooks:** Stricter plugin prefix enforcement - All prompts now mandate `[plugin-name]` prefix with "NO EXCEPTIONS" rule - Simplified output formats with word limits @@ -25,8 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed - Protected branch workflow: Claude no longer commits directly to protected branches and then fails on push (fixes #109) -- doc-guardian hook no longer blocks workflow with drift analysis (fixes #110) -- Hook messages now consistently show plugin name prefix (fixes #110) +- doc-guardian hook no longer blocks workflow - switched to command hook that can't be overridden by model (fixes #110) ---