pub struct StepRecord {
pub run_path: RunPath,
pub step_id: StepId,
pub effect_hash: Hash,
pub judge_hash: Hash,
pub attempts: Vec<AttemptRecord>,
pub resolved_inputs: Value,
pub output: Option<Value>,
pub observations: Vec<ObservationRecord>,
pub evidence: Vec<EvidenceRef>,
pub assertion_outcomes: Vec<AssertionOutcomeRecord>,
pub verdict: Option<StepVerdict>,
}Expand description
The durable record of one completed step (spine §6.6).
Fields§
§run_path: RunPathFull run path of this step instance.
step_id: StepIdThe step’s stable id.
effect_hash: HashEffect-domain hash at execution time (alignment input).
judge_hash: HashJudge-domain hash at execution time (alignment input).
attempts: Vec<AttemptRecord>Every dispatch attempt, in order.
resolved_inputs: ValueInput expressions evaluated once at ready and snapshotted;
never re-evaluated on resume.
output: Option<Value>Projected step output, when the step declares outputs. A JSON
null output is present (Some(Null)), not absent, across the
checkpoint view.
observations: Vec<ObservationRecord>Localized observations.
evidence: Vec<EvidenceRef>Localized evidence (content-addressed).
assertion_outcomes: Vec<AssertionOutcomeRecord>Assertion outcomes, in declaration order.
verdict: Option<StepVerdict>The folded verdict projection, absent for unasserted mutations (R4).
Trait Implementations§
Source§impl Clone for StepRecord
impl Clone for StepRecord
Source§fn clone(&self) -> StepRecord
fn clone(&self) -> StepRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StepRecord
impl Debug for StepRecord
Source§impl<'de> Deserialize<'de> for StepRecord
impl<'de> Deserialize<'de> for StepRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for StepRecord
impl JsonSchema for StepRecord
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for StepRecord
impl PartialEq for StepRecord
Source§impl Serialize for StepRecord
impl Serialize for StepRecord
impl StructuralPartialEq for StepRecord
Auto Trait Implementations§
impl Freeze for StepRecord
impl RefUnwindSafe for StepRecord
impl Send for StepRecord
impl Sync for StepRecord
impl Unpin for StepRecord
impl UnsafeUnpin for StepRecord
impl UnwindSafe for StepRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more