pub fn active_seats(state: &RunState, live: bool) -> StringExpand description
The seats currently mid-answer, for magi show and the raw report route.
Separate from run on purpose: run is printed straight after magi run / magi review’s own execute(), and by then this process has
nothing left in flight to report; the TUI does not track daemon liveness
either. Only a caller reading someone else’s run — magi show <id>, or
the web UI’s raw-report route — needs this, and both already know how to
ask whether a daemon is currently driving it.
live is whether a daemon’s heartbeat currently names this run
(daemon::is_working_on). An ActiveSeat left
behind by a killed process is not lied about as running just because
nobody has cleared it from disk yet — see that type’s own docs for why an
entry alone is not proof of anything.