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