aws / aws/amazon-q-developer-cli
Subagent invocation fails with "unable to find agent" for agent that exists and is listed
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## 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
1. Agent configured at ~/.kiro/agents/divedeep.json
2. ListAgents → divedeep appears ✅
3. /agent swap divedeep → works ✅
4. 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
Beitragsleitfaden
Rechercherichtung
Start by tracing the InvokeSubagents entry point and compare agent resolution with ListAgents and the /agent swap flow. Reproduce the configured divedeep case from ~/.kiro/agents/divedeep.json, including its availableAgents, trustedAgents, and custom MCP settings; done means InvokeSubagents can resolve and invoke the listed agent.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- ai, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100