ExecutionDecision

sealed class ExecutionDecision

Represents the outcome of executing a step plan.

Returned by StepExecutionEngine.run to indicate whether the pipeline:

  • completed successfully

  • failed due to a blocking condition

  • encountered a case requiring user friction

Inheritors

Types

Link copied to clipboard
data class Fail(val reason: String) : ExecutionDecision

Indicates that execution failed due to an unrecoverable condition.

Link copied to clipboard
data class Friction(val reason: String, val data: Any? = null) : ExecutionDecision

Indicates that execution requires additional user friction or verification.

Link copied to clipboard

Indicates that all steps executed successfully.