mirror of
https://github.com/kochetkov-ma/claude-brewcode.git
synced 2026-09-14 20:16:41 +08:00
feat: add DELEGATE manager reminder to forced-eval hook
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -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 ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user