Summary
The Claude Agent SDK's Agent tool (formerly Task) was broken in query() mode starting from v0.2.63+. Resolved: SDK upgraded to 0.2.70 in commit a79e43a (2026-03-08). Subagent delegation is working. Defensive allowedTools added in commit 49dc024.
This issue now tracks remaining validation items from the original upgrade plan.
Current State (2026-03-10)
- SDK version:
@anthropic-ai/claude-agent-sdk@0.2.70 (no longer pinned to 0.2.51)
- Subagent delegation: ✅ Working — model finds and uses
Task tool via agentQuery()
allowedTools: Defensive array includes both Task and Agent for name instability resilience
- Full analysis:
docs/pending-updates/0.2.47-0.2.70-update.md
Resolved Items
Remaining Validation (narrowed scope)
Files Involved
| File |
Relevance |
package.json:50 |
SDK version (now 0.2.70) |
src/server/claude-sdk-server.js:1151-1199 |
agentQuery() with agents and allowedTools |
src/utils/hookSSEBridge.js:16-64 |
classifyAgent() — can simplify if native fields available |
docs/pending-updates/0.2.47-0.2.70-update.md |
Full upgrade analysis |
References
Summary
The Claude Agent SDK'sResolved: SDK upgraded toAgenttool (formerlyTask) was broken inquery()mode starting from v0.2.63+.0.2.70in commita79e43a(2026-03-08). Subagent delegation is working. DefensiveallowedToolsadded in commit49dc024.This issue now tracks remaining validation items from the original upgrade plan.
Current State (2026-03-10)
@anthropic-ai/claude-agent-sdk@0.2.70(no longer pinned to 0.2.51)Tasktool viaagentQuery()allowedTools: Defensive array includes bothTaskandAgentfor name instability resiliencedocs/pending-updates/0.2.47-0.2.70-update.mdResolved Items
Phase 1: Monitor upstream Issue Roadmap: Incremental MCP → executable Python tool conversion (flat-registry; after orchestrator wrap) #210— fixed in 0.2.70Phase 3: Bump SDK version— commita79e43aPhase 3: Remove duplicate— verifiedrun_python_analysisregistration guardPhase 3: Update MEMORY.md— updatedRemaining Validation (narrowed scope)
effort: 'high'is not silently overridden tomediumby SDK 0.2.70. Our orchestrator setseffort: 'high'inagentQuery()(claude-sdk-server.js line 1157). Upstream #214 reported SDK 0.2.68+ may downgrade this.agent_id/agent_typenatively (v0.2.69 feature) — currently using string-matching heuristics inclassifyAgent()(hookSSEBridge.js:16-64). If native fields are present, simplifyclassifyAgent().Files Involved
package.json:50src/server/claude-sdk-server.js:1151-1199agentQuery()withagentsandallowedToolssrc/utils/hookSSEBridge.js:16-64classifyAgent()— can simplify if native fields availabledocs/pending-updates/0.2.47-0.2.70-update.mdReferences
a79e43a49dc024