Jidoka.Operation.Source.Catalog (Jidoka v0.9.0)

Copy Markdown View Source

Operation source backed by a Jido.Action.Catalog.

A catalog source exposes one governed model-visible operation family:

  • <prefix>query
  • <prefix>describe
  • <prefix>execute

The model can search and inspect hidden catalog entries, then execute a sandboxed Lua-authored jidoka.workflow({...}) plan over selected read-only actions. The catalog module owns action registration and optional templates; Jidoka owns policy, execution, and tracing.

Summary

Functions

Builds a catalog operation source from keyword or map attributes.

Builds a catalog operation source and raises if the attributes are invalid.

Types

t()

@type t() :: %Jidoka.Operation.Source.Catalog{
  catalog: module(),
  catalog_value: Jido.Action.Catalog.t(),
  description: nil | binary(),
  idempotency: (((:pure | :idempotent) | :dedupe) | :reconcile) | :unsafe_once,
  max_calls: pos_integer(),
  max_parallel_calls: pos_integer(),
  metadata: map(),
  prefix: binary(),
  require_read_only?: boolean(),
  result: :structured,
  templates: map(),
  timeout: pos_integer()
}

Functions

new(attrs)

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

Builds a catalog operation source from keyword or map attributes.

new!(attrs)

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

Builds a catalog operation source and raises if the attributes are invalid.