pub fn finalize(doc_path: &Path, json: bool) -> Result<String, String>
Apply each rejected candidate’s cleanup-policy to the scratch store and return a human-readable or JSON report.