From 4c0285bf989f032899c56349aeb3306610221caf Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sun, 26 Jul 2026 12:15:10 +0700 Subject: [PATCH] fix(hooks): remove Stop prompt hook causing error noise Stop hook with ok:false fires on every response, causing 'Stop hook error' display. Skills are auto-discovered via SKILL.md descriptions with MANDATORY prefixes - hooks are not needed for activation. --- hooks/hooks.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 hooks/hooks.json diff --git a/hooks/hooks.json b/hooks/hooks.json deleted file mode 100644 index a75dcb8..0000000 --- a/hooks/hooks.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "hooks": { - "Stop": [{ - "hooks": [{ - "type": "prompt", - "prompt": "You have hub-guide best-practice skills active. MANDATORY: engineering-principles, clean-code, clean-architecture, testing, error-handling, security, git-workflow, api-design. Never assume or guess. Always find evidence in codebase or docs. If you have not applied these, return {\"ok\": false, \"reason\": \"[hub-guide] Apply MANDATORY skills: engineering-principles, clean-code, clean-architecture, testing, error-handling, security, git-workflow, api-design. Never assume or guess. Always show evidence.\"}" - }] - }] - } -}