# `Jidoka.Debug.ReplayDiagnostics`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/debug/replay_diagnostics.ex#L1)

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.

# `status`

```elixir
@type status() :: :complete | :waiting | :failed | :incomplete
```

# `t`

```elixir
@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()]
}
```

# `new`

```elixir
@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}
```

Builds replay diagnostics from normalized attributes.

# `new!`

```elixir
@spec new!(keyword() | map()) :: t()
```

Builds replay diagnostics or raises when the attributes are invalid.

# `schema`

```elixir
@spec schema() :: Zoi.schema()
```

Returns the Zoi schema for replay diagnostics.

# `statuses`

```elixir
@spec statuses() :: [status()]
```

Returns the supported replay diagnostic statuses.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
