pub fn topological_sort( steps: &[DagWorkflowStep], ) -> Result<Vec<String>, Vec<String>>
Perform topological sort using Kahn’s algorithm.
Returns Ok(sorted_names) or Err(cycle_participants).
Ok(sorted_names)
Err(cycle_participants)