pub fn lean_kahn_sort(
events: &HashMap<String, LeanEvent>,
version: StateResVersion,
) -> Vec<String>Expand description
A simplified implementation of Kahn’s Topological Sort. Backward-compatible wrapper that returns an empty Vec on cycles.