pub fn compute_workflow_phase( vcs_mode: VcsMode, task: &Task, todos: &[Todo], worktrees: &[Worktree], repos: &[TaskRepo], ) -> WorkflowPhase
Computes the workflow phase from current task state.