Claude Code v2.1.223 ·
Subagent resume and fork prompt reconstruction failures are caught
Resuming or forking a subagent that fails now gives a clear tool error instead of a raw crash.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SubagentsArea: what it touches
Bug FixesKind: in v2.1.223,
Bug FixesSection of the release
What
An exception while rebuilding a resumed subagent's system prompt used to escape raw; it is now caught and surfaced as a tool error.
Details
- Failures are reported with a dedicated failure code.
- The error is rethrown as the tool's own error type rather than the original exception.
Evidence
subagent_resume_fork_prompt_reconstruct_failed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.223 →