pub fn create_completion_checkpoint(
workflow_id: String,
workflow: &NormalizedWorkflow,
context: &WorkflowContext,
completed_steps: Vec<CompletedStep>,
current_step_index: usize,
workflow_hash: String,
) -> Result<WorkflowCheckpoint>Expand description
Pure function: create checkpoint for successful completion
Creates a checkpoint marked as completed without performing any I/O.
Returns Result<WorkflowCheckpoint> for consistency with error path.