# `Spectre.Stack.Effects`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/stack/effects.ex#L1)

Versioned, immutable effect registrations returned by Stack packages.

This additive contract is separate from tool helper descriptors. It declares
an execution adapter for a closed operation; registration grants no authority.
Version 1 tool descriptors and manual GAM bindings remain supported.

# `descriptor`

```elixir
@type descriptor() :: %{
  contract: 1,
  adapter: module(),
  operation: atom() | binary(),
  side_effect: :none | :idempotent | :reconcilable | :non_idempotent,
  material: :arguments,
  partition: [atom()],
  schema_hash: binary() | nil,
  config: map()
}
```

# `t`

```elixir
@type t() :: %{optional(atom() | binary() | tuple()) =&gt; descriptor()}
```

# `validate!`

```elixir
@spec validate!(term()) :: t()
```

Validates effect registration data without loading or invoking adapters.

---

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