fn candidates_with(
state: &AppState,
running_at_exit: &HashSet<String>,
) -> Vec<Candidate>Expand description
[candidates], and every agent in running_at_exit (definition ids) whatever its last turn: it was
running when srv exited. One the idle sweep keeps running (a claimed task, a held message, the build
slot) counts as recent too, so a crash, which leaves no list, does not drop it either.