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.
This commit is contained in:
asepharyana
2026-07-26 12:15:10 +07:00
parent a527d0ee78
commit 4c0285bf98
-10
View File
@@ -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.\"}"
}]
}]
}
}