pub fn select_cleanable(repo: &Path, all: bool) -> Vec<CleanEntry>Expand description
Decide which missions under repo are cleanable given the --all opt-in.
Never selects a mission whose lock is held by a live engine, nor one whose
log is unreadable (a corrupt log is left for the operator to inspect, not
silently deleted). The pure status→class decision lives in
mission_catalog::cleanable_class; this function layers the filesystem facts
(plan.json presence, lock liveness) on top.