pub fn clear_finished_local_jobs() -> Result<usize, String>
Clear completed/failed/cancelled history without affecting active work.