pub async fn simulate_workflow_event( state: &AppState, event: &EngineEvent, ) -> WorkflowSimulationResult