Expand description
Lowered, engine-agnostic step and batch types (TECH-SPEC §3).
A scenario lowers to an ordered list of LoweredSteps, segmented into
StepBatches of contiguous same-engine steps (batched maximally — splits
happen only at optional: boundaries and engine changes, ADR-0010). Engines
return a BatchResult with one StepOutcome per executed step.
Structs§
- Batch
Result - Result of dispatching one
StepBatchto an engine. - Guard
- A
when:skip guard: the step runs unless the resolved expression is empty or a literal false (TECH-SPEC §6). - Lowered
Step - One step after macro expansion and
${…}lowering — engine-agnostic. - Retry
- Finite retry policy for a step (
retry:— infinite retries are rejected at pack load by the finite-retry lint, ADR-0007). - Step
Batch - A contiguous run of same-engine steps, dispatched as one unit (ADR-0002).
- Step
Kind Id - Identifies the kind of a macro step (
hurl, …). A step kind names the engine that claims it viacrate::engine::StepKindSpec(ADR-0002). - Step
Outcome - Per-step result reported by an engine.
- StepRef
- Anchor back to the authored
.featuresource (file, 1-based line, step text).
Enums§
- Status
- Outcome status of a step or scenario.
- Step
Payload - The engine-facing payload of a lowered step.