{"version":"2.1.337","anchor":"resume-of-unfinished-background-tasks-now-reports-a-reason","canonical_anchor":"resume-of-unfinished-background-tasks-now-reports-a-reason","heading":"Background tasks left unfinished are closed with a stated reason on resume","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/resume-of-unfinished-background-tasks-now-reports-a-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Background tasks left unfinished are closed with a stated reason on resume\n\nWhen a resumed session finds background agents or workflows left unfinished, they are now marked failed or stopped with reason \"unfinished_at_resume\"\n\n**What**\n\nA background task is work, such as an agent or a workflow, that Claude Code runs alongside your conversation. Resuming means picking a session back up later. When you resume and Claude Code finds background tasks that a previous run never finished, it marks them failed or stopped. That notice now says why:\n\n- The notice carries the reason `\"unfinished_at_resume\"`.\n\n- The notice also names the kind of task, with a taskType of `\"local_agent\"` or `\"local_workflow\"`.\n\n- A task stopped this way is marked stopped with the same `\"unfinished_at_resume\"` reason.\n\nBefore, the notice carried only a summary and the output file, with no reason.\n\n**Why**\n\nA task that ended because its earlier run was interrupted can now be told apart from one that failed on its own. Anything reading task notifications sees an explicit cause for the stop.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}