Jidoka.Inspection (Jidoka v0.8.0-beta.1)

Copy Markdown View Source

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

Functions

inspect(value, opts \\ [])

@spec inspect(
  inspectable(),
  keyword()
) :: term()

Returns a stable inspection view for a Jidoka value.

preflight(spec_or_plan, request_input, opts \\ [])

@spec preflight(module() | Jidoka.plan_input(), Jidoka.request_input(), keyword()) ::
  {:ok, Jidoka.Inspection.Preflight.t()} | {:error, term()}

Assembles the prompt for a turn without interpreting any effects.