pub struct Step {Show 14 fields
pub id: StepId,
pub step_label: String,
pub section: SectionId,
pub action: ActionType,
pub backend: Option<String>,
pub role: Option<RoleId>,
pub preconditions: Vec<String>,
pub with: ExprValue,
pub reads: Vec<ArtifactRef>,
pub reads_resolved: Option<StepInputs>,
pub creates: Option<ArtifactId>,
pub description: Option<ExprValue>,
pub silent: bool,
pub retry: RetryPolicy,
}Expand description
A resolved step, ready for execution.
Fields§
§id: StepIdStep identifier.
step_label: StringDisplay label for this step (e.g., "1.1", "2.3").
Uses hierarchical numbering: act.step_within_act.
When there’s only one act, just the step number (e.g., "1", "2").
section: SectionIdSection this step belongs to.
action: ActionTypeAction to perform.
backend: Option<String>Backend to use for this step (if action requires one).
References a backend declared in the ceremony’s backends section.
role: Option<RoleId>Role that performs this step (resolved from step or section default).
preconditions: Vec<String>Human-confirmed preconditions before this step executes.
with: ExprValueAction-specific parameters with expressions parsed (not yet evaluated).
The runtime evaluates these to serde_json::Value before passing to handlers.
reads: Vec<ArtifactRef>Validated input artifact references (for ordering validation).
reads_resolved: Option<StepInputs>Pre-resolved input references for handlers.
Handlers can access artifact IDs directly without parsing.
creates: Option<ArtifactId>Artifact ID this step produces.
description: Option<ExprValue>Human-readable description for display (may contain interpolated expressions).
silent: boolSkip the default pause after step completion.
When true, the executor auto-advances without waiting for user acknowledgment.
retry: RetryPolicyHow the runtime treats a transient failure of this step.
The DSL constrains the retry-by-default; see RetryPolicy. Absent in
the DSL means RetryPolicy::Prompt.