Read-only replay inspection for local Pixir Logs.
This module reconstructs the Provider input that Pixir would build from a Session History without calling auth, the network, or the model. It is an operator diagnostic seam for replay/projection incidents: count function calls, paired outputs, and synthetic orphan closures from canonical Log events.
Summary
Functions
Inspect Provider replay input for session_id.
Types
@type inspect_opts() :: [ workspace: String.t(), after_seq: non_neg_integer() | nil, model: String.t() | nil ]
Functions
@spec inspect(String.t(), inspect_opts()) :: {:ok, map()} | {:error, map()}
Inspect Provider replay input for session_id.
:after_seq means "the replay state after this Event seq", so only Events with
seq <= after_seq are included. When omitted, the full Log is inspected.