pub fn task_attempt_dir( repo: &str, task_id: &str, attempt: u32, ) -> Result<PathBuf>
Get the per-task attempt directory: ~/.orch/state/{owner}/{repo}/tasks/{id}/attempts/{n}/.
~/.orch/state/{owner}/{repo}/tasks/{id}/attempts/{n}/
Creates the directory on demand.