OptionalconfigGlobal configuration
OptionalautoCheckpoint?: booleanWhether to create a checkpoint after every fifth completed step
OptionalautoRollback?: booleanWhether to roll back to the last checkpoint when the workflow fails. The engine currently only logs the rollback; files are not restored.
OptionalmaxParallelSteps?: numberMaximum parallel steps (for parallel strategy, default 3)
OptionaltimeoutMs?: numberTimeout for the entire workflow in milliseconds (not enforced by the engine)
Workflow description
Unique workflow identifier
OptionalmetadataDescriptive metadata; not read by the engine
OptionalcreatedBy?: stringWho or what created the workflow.
OptionalmigrationPlan?: unknownThe migration plan the workflow was built from.
Optionalsource?: "plan-migration" | "manual" | "learn-patterns"Where the workflow came from.
Workflow name
All steps in the workflow
OptionalstrategyExecution strategy
A workflow: steps with dependencies plus execution settings. Input of WorkflowEngine.execute.