# `Jidoka.Operation.Source.Catalog`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/operation/source/catalog.ex#L1)

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.

# `t`

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

# `new`

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

Builds a catalog operation source from keyword or map attributes.

# `new!`

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

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

---

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