Diagnostic view for replayable Jidoka runtime data.
Replay diagnostics explain whether recorded effects are complete and safe to reason about without executing providers or tools.
Summary
Functions
Builds replay diagnostics from normalized attributes.
Builds replay diagnostics or raises when the attributes are invalid.
Returns the Zoi schema for replay diagnostics.
Returns the supported replay diagnostic statuses.
Types
@type status() :: :complete | :waiting | :failed | :incomplete
@type t() :: %Jidoka.Debug.ReplayDiagnostics{ event_count: integer(), failed_effect_results: [map()], failed_events: [map()], intent_count: integer(), metadata: map(), missing_effect_results: [map()], pending_reviews: [map()], result_count: integer(), status: ((:complete | :waiting) | :failed) | :incomplete, unsafe_effects: [map()], warnings: [binary()] }
Functions
Builds replay diagnostics from normalized attributes.
Builds replay diagnostics or raises when the attributes are invalid.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for replay diagnostics.
@spec statuses() :: [status()]
Returns the supported replay diagnostic statuses.