#[non_exhaustive]pub enum StepFact {
CeremonyStarted {
name: String,
started_at: DateTime<Utc>,
},
ActStarted {
id: ActId,
label: String,
},
StepStarted {
id: StepId,
label: String,
role: RoleId,
role_name: String,
started_at: DateTime<Utc>,
},
PromptAnswered {
step: Option<StepId>,
prompt: Prompt,
response: ResponseRecord,
at: DateTime<Utc>,
},
BackendOperation {
step: StepId,
kind: String,
inputs: Value,
outputs: Value,
fingerprint: Option<String>,
},
AttestationRecorded {
step: StepId,
role: RoleId,
statement: String,
at: DateTime<Utc>,
},
ArtifactWritten {
step: StepId,
name: String,
path: PathBuf,
sha256: String,
},
DeviationRecorded {
step: Option<StepId>,
text: String,
at: DateTime<Utc>,
},
StepCompleted {
id: StepId,
outcome: StepOutcome,
completed_at: DateTime<Utc>,
},
CeremonyCompleted {
completed_at: DateTime<Utc>,
},
CeremonyFailed {
error: ErrorRecord,
failed_at: DateTime<Utc>,
},
}Expand description
Durable, transcript-worthy fact.
Every variant is recorded by the runtime’s transcript sink synchronously
before being forwarded to the UI. Action handlers emit
BackendOperation and AttestationRecorded; all other variants are
emitted by the executor at the corresponding lifecycle boundary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CeremonyStarted
Ceremony has started running.
Fields
ActStarted
Beginning of an act (named subdivision of a ceremony).
StepStarted
Beginning of a step.
Fields
PromptAnswered
A prompt has been answered and validated.
Fields
step: Option<StepId>Step that issued the prompt, if any. None for ceremony-level
prompts emitted before the first step (e.g. the ceremony-start
confirmation) or after the last step.
response: ResponseRecordRedacted response record.
BackendOperation
A backend operation completed and produced structured evidence.
Fields
AttestationRecorded
A human attestation was recorded.
Fields
ArtifactWritten
An artifact was written to disk.
Fields
DeviationRecorded
A deviation was logged by the operator.
Fields
StepCompleted
Step finished executing.
Fields
outcome: StepOutcomeOutcome (completed or skipped).
CeremonyCompleted
Ceremony finished successfully.
The transcript’s cryptographic identity is SHA-256(line_bytes)
for this line, recoverable by any reader, so the fact itself
carries no fingerprint field. The runtime forwards the value to
frontends through an out-of-band channel event.
CeremonyFailed
Ceremony failed or was aborted.
Fields
error: ErrorRecordStructured error record.