Unclear It is not clear exactly where the failure kind appears in these messages.
What
When Claude Code runs under the SDK (the programming interface other software uses to drive it), it streams system messages about background tasks. This release changes two things about those messages:
failureKind:task_updatedand task notification messages now pass through a wrapper that adds the task'sfailureKind, so they carry what kind of failure occurred.- Scrubbing: a new transform blanks
output_fileintask_notificationmessages. It replaces the summaries of failed tasks, and theerrorin atask_updatedpatch, with a sanitized string, falling back toerror.
Why
Programs reading the SDK stream may get a clearer reason when a task fails, while local file paths and raw error text are kept out of the streamed events. Anything that parsed the old error text or output_file value should be checked.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear exactly where the failure kind appears in these messages.