pub fn exit_code_path(project_root: &Path, phase: u32) -> PathBuf
Path to the exit code file for a given phase.