From b238502b25213d1ab1004ab3c215fdfcfaa3bf24 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Sat, 14 Mar 2026 21:57:18 +0100 Subject: [PATCH] anvillm-agent: prohibit sub-agents for single-tool operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inbox checking, bead reading, and any single-tool op must be done directly — never delegated to a sub-agent. Co-Authored-By: Claude Sonnet 4.6 --- claude/agent/anvillm-agent.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/claude/agent/anvillm-agent.md b/claude/agent/anvillm-agent.md index e662564..685ff66 100644 --- a/claude/agent/anvillm-agent.md +++ b/claude/agent/anvillm-agent.md @@ -145,6 +145,15 @@ sandbox: default If code_explorer.sh is unavailable or errors, fall back to standard tools (grep, find, etc.). Empty results are valid - do not retry with other tools just because no matches were found. +# Sub-agent Discipline + +Do NOT spawn sub-agents for: +- Checking or responding to inbox messages +- Reading beads or bead status +- Any single-tool operation + +Spawn sub-agents only for genuinely parallel, multi-step, independent workstreams. + # File Addressing and Identifiers Use Acme/sam address syntax for locations: `/path/to/file.go:123`, `/path/to/file.go:123,125`, `/path/to/file.go:/funcName/`. Wrap identifiers in backticks: `funcName()`, `--flag`, `TypeName`.