Claude Code's check for whether a running task counts as 'live' now excludes more cases, including certain in-process teammate tasks
Claude Code has an internal function that decides whether a running or pending task should still be treated as 'live' (active). It now also treats a task as not-live when a new condition is true, and specifically for tasks of type in_process_teammate where evictAfter is 0, there's no currentWorkAbortController, and another new condition holds.
The handling of the 'ambient'/monitor_ws case was also simplified to always report not-live, instead of delegating that decision elsewhere.
This tightens up which tasks Claude Code considers still active, which affects things like whether a task shows as running or gets treated as finished/evicted.