# `Spectre.Forge.Critic`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/forge/critic.ex#L1)

Compiled adapter contract for model-backed Forge critique, including Prism.

Core passes only the portable Reflection projection and redacted Experience
snapshot. Adapter modules are registered by host code; model output can
return opinion and a proposed falsifiable case, never executable code.

# `critique`

```elixir
@callback critique(map(), map(), keyword()) :: {:ok, map()} | {:error, term()}
```

# `id`

```elixir
@callback id() :: String.t()
```

# `profile_ref`

```elixir
@callback profile_ref() :: String.t()
```

# `version`

```elixir
@callback version() :: pos_integer()
```

# `contract_version`

```elixir
@spec contract_version() :: pos_integer()
```

Returns the compiled critic adapter contract version.

# `run`

```elixir
@spec run(
  [module()],
  Spectre.Projection.t(),
  Spectre.Experience.Store.snapshot(),
  keyword()
) ::
  {:ok, [Spectre.Forge.Critique.t()]} | {:error, term()}
```

Runs each compiled critic and returns attributed, digest-bound results.

---

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