Skip to main content

validate_subtasks

Function validate_subtasks 

Source
pub fn validate_subtasks(
    subtasks: &[OrchestrationPlanTask],
    is_retry: bool,
) -> Result<(), String>
Expand description

Validates one proposed subtask set before application code persists it.

ยงErrors

Returns a user-facing reason when the plan is too small, incomplete, or uses invalid task keys or planning paths.