anvillm-agent: prohibit sub-agents for single-tool operations

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 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-03-14 21:57:18 +01:00
parent 0ae34f20a6
commit b238502b25
1 changed files with 9 additions and 0 deletions

View File

@ -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`.