fn terminal_status(s: &str) -> BackgroundTaskStatusExpand description
Terminal statuses as the CLI spells them. Anything unrecognised ends the
task as stopped rather than leaving it running — the same lenient rule
the renderer’s parseTaskNotification applies.