SquidMesh.RunAuditEvent (squid_mesh v0.1.0-alpha.7)

Copy Markdown View Source

Public representation of one durable workflow audit event.

Audit events summarize when a run paused for manual intervention and when an operator later resumed, approved, or rejected it. They also surface explicit failure recovery routes such as compensation and undo paths.

Summary

Types

t()

@type t() :: %SquidMesh.RunAuditEvent{
  actor: term(),
  at: term(),
  comment: term(),
  metadata: term(),
  step: term(),
  type: term()
}

type()

@type type() ::
  :paused
  | :resumed
  | :approved
  | :rejected
  | :compensation_routed
  | :undo_routed