Inspection and preflight helpers for Jidoka's data-first runtime.
This module owns the internal implementation for the compact public
Jidoka.inspect/1 and Jidoka.preflight/3 API.
Summary
Functions
Returns a stable inspection view for a Jidoka value.
Assembles the prompt for a turn without interpreting any effects.
Types
@type inspectable() :: module() | Jidoka.Agent.Spec.t() | Jidoka.Turn.Plan.t() | Jidoka.Turn.Request.t() | Jidoka.Agent.State.t() | Jidoka.Turn.State.t() | Jidoka.Turn.Result.t() | Jidoka.Turn.Cursor.t() | Jidoka.Snapshot.t() | Jidoka.Session.Data.t() | Jidoka.Session.Replay.t() | Jidoka.Debug.RequestSummary.t() | Jidoka.Debug.ReplayDiagnostics.t() | Jidoka.Effect.Journal.t() | Jidoka.Effect.Intent.t() | Jidoka.Effect.Result.t() | Jidoka.Review.Interrupt.t() | Jidoka.Review.Request.t() | Jidoka.Review.Response.t() | term()
Functions
@spec inspect( inspectable(), keyword() ) :: term()
Returns a stable inspection view for a Jidoka value.
@spec preflight(Jidoka.Turn.Plan.input(), Jidoka.Turn.Request.input(), keyword()) :: {:ok, Jidoka.Inspection.Preflight.t()} | {:error, term()}
Assembles the prompt for a turn without interpreting any effects.