fix(claude-agents): map agent capabilities to real Claude Code tool names
Search, Diff, Shell, and Tests are not valid Claude Code tools, so every generated subagent silently launched with a broken or empty tool set. Map each role to the tools its own prompt actually needs, and use a __SHELL__ placeholder so build resolves it to the target package's own shell tool instead of granting both Bash and PowerShell unconditionally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4408f23c68
commit
4374c69caa
1 file changed
+5
-5
@@ -1,6 +1,6 @@
|
|||||||
role tools
|
role tools
|
||||||
architect Read,Search,WebFetch
|
architect Read,Grep,Glob,WebFetch,WebSearch
|
||||||
researcher Read,Search,WebFetch
|
researcher Read,Grep,Glob,WebFetch,WebSearch
|
||||||
reviewer Read,Diff,Search
|
reviewer Read,Grep,Glob,__SHELL__
|
||||||
verifier Read,Shell
|
verifier Read,Grep,Glob,__SHELL__
|
||||||
implementer Read,Write,Shell,Tests
|
implementer Read,Grep,Glob,Edit,Write,__SHELL__
|
||||||
|
Reference in new issue
Block a user