pub struct RunStep {
pub id: String,
pub parent: Option<String>,
pub action: String,
pub action_version: Option<String>,
pub action_hash: Option<String>,
pub params: BTreeMap<String, String>,
pub affected_nodes: Vec<String>,
pub diagnostics: Vec<RunDiagnostic>,
pub source_hash: Option<String>,
}Expand description
One discrete step within a RunRecord.
A step corresponds to a single action invocation. The params map holds a
flat representation of the action’s inputs: each value is the caller’s
canonical string form of the original typed value (the store holds no KDL
types; callers are responsible for converting their typed values to a
display string before recording).
Fields§
§id: StringStable step id (unique within its run).
parent: Option<String>Parent step id in the step DAG (None for root steps).
action: StringName of the action invoked (e.g. "move_node", "apply_style").
action_version: Option<String>Optional version pin for action (e.g. an action revision string).
action_hash: Option<String>Optional content hash of the action definition itself.
params: BTreeMap<String, String>Flat map of action parameters. Values are caller-supplied display strings; the store does not interpret them.
affected_nodes: Vec<String>Ids of document nodes affected by this step (display only).
diagnostics: Vec<RunDiagnostic>Diagnostics emitted during this step.
source_hash: Option<String>Optional content hash of the source artifact this step consumed.