Anatomy of a Workflow
A workflow is a YAML file with a name and a list of steps. Here’s a minimal example:Root fields
Every workflow has these top-level fields:name— identifier, used with--workflow.description— human-readable description.max_budget— maximum cost in dollars for the entire run. If the run exceeds this, Gump stops.steps— ordered list of steps to execute.
Steps are sequential
Steps execute in order, top to bottom. Each step can read the outputs of previous steps via the state bag. A step doesn’t start until the previous one has completed and passed its gate.Where workflows live
Gump looks for workflows in three places, in order:- Project —
.gump/workflows/my-workflow.yaml - User —
~/.gump/workflows/my-workflow.yaml - Built-in — shipped with Gump