Skip to content

StepRecord

optional epoch?: number;

Logical-run epoch when this step was recorded. Absent on legacy steps → prune keeps them until superseded.


optional error?: object;
Name Type

message

string

name

string


optional finishedAt?: number;

index: number;

optional interruptDecision?: InterruptDecisionRecord;

key: string;

kind: StepKind;

name: string;

optional result?: unknown;

optional signalId?: string;

startedAt: number;

optional status?: StepStatus;

Intent lifecycle: running = pending execute; finished/error = finalized. Legacy steps omit status.