Bug
InvokeSubagents with agent_name: "divedeep" returns:
"unable to find agent with name: divedeep"
Expected
Invocation should succeed since the agent is found by ListAgents and /agent swap.
Steps
- Agent configured at ~/.kiro/agents/divedeep.json
- ListAgents → divedeep appears ✅
- /agent swap divedeep → works ✅
- InvokeSubagents with agent_name "divedeep" → fails ❌
Config
- divedeep is in availableAgents and trustedAgents in the parent agent's toolsSettings
- Agent has custom MCP servers (builder-mcp, aws-coe, workplace-chat-mcp)
- Reproducible 100% of the time