pub fn validate_checkpoint(
checkpoint: &PipelineCheckpoint,
current_config: &Config,
registry: &AgentRegistry,
) -> ValidationResultExpand description
Validate a checkpoint before resuming.
Performs comprehensive validation to ensure the checkpoint can be safely resumed:
- Working directory matches
- PROMPT.md hasn’t changed (if checksum available)
- Agent configurations are compatible
Note: File system state validation is handled separately with recovery strategy in the resume flow (see validate_file_system_state_with_strategy).
§Arguments
checkpoint- The checkpoint to validatecurrent_config- Current configuration to compare againstregistry- Agent registry for agent validation
§Returns
A ValidationResult with any warnings or errors found.