Async Sub-Agent Delegation Breaks Context Tracking

Resolved 💬 6 comments Opened Aug 10, 2025 by aronweiler Closed Jan 3, 2026

Bug Description
When dispatching to sub-agents, it looks like claude loses its ability to track what is going on if they delegate asynchronously beyond the top-level. i.e. I delegate from Calude to agent1, agent1 delegates to agent2, and then agent 1 returns saying it is done, Claude claims it is done. This seems to only happen when it's all async- when demanding synchronous delegation, it seems to follow through on tasks better.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.72
  • Feedback ID: eef52fbd-4862-491b-bc4c-7516abdd967a

Errors

[{"error":"SyntaxError: Unexpected token 'Y', \"Yes, I hav\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///C:/Users/aronw/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:738:9932\n    at Q (file:///C:/Users/aronw/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at kRB (file:///C:/Users/aronw/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1743:29914)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-10T05:12:31.450Z"}]

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗