feat: add DELEGATE manager reminder to forced-eval hook

This commit is contained in:
kochetkov-ma
2026-03-30 19:50:21 +01:00
parent 057f9d1cf4
commit b36969bbdb
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -6,7 +6,8 @@
### brewcode
#### Added
- **permission-guard hook** -- PermissionRequest hook auto-allows Edit/Write for `.claude/` subdirectories (tasks, reports, rules, skills, scripts, agents, hooks, private, convention, settings). Workaround for `.claude` directory write protection in newer Claude Code versions
- **permission-guard hook** -- PermissionRequest hook auto-allows Edit/Write for project `.claude/` subdirectories (tasks, reports, rules, skills, scripts, agents, hooks, private, convention, plans, settings, TASK.md, CLAUDE.md). Global `~/.claude/` excluded
- **forced-eval hook** -- added `[DELEGATE]` manager reminder to UserPromptSubmit alongside existing skill check
---
+2 -1
View File
@@ -37,7 +37,8 @@ function output(response) {
// --- Skill evaluation reminder ---
const SKILL_CHECK_REMINDER = `[SKILL?] Check available skills. If one matches this request, use Skill tool before responding.`;
const SKILL_CHECK_REMINDER = `[SKILL?] Check available skills. If one matches, use Skill tool before responding.
[DELEGATE] You are a MANAGER. Delegate implementation to sub-agents via Task tool. Never implement directly.`;
// --- Main ---