# `ExGAM.GovernedAct.Transition.Outcome`
[🔗](https://github.com/elchemista/ex_gam/blob/0.1.0/lib/ex_gam/governed_act/transition/outcome.ex#L1)

Pure cross-record rules for admitting an Outcome into governed history.

The live observation planner and ledger replay call the same functions for
class restrictions, correction ordering and Evidence attestation. They keep
their own responsibilities—event construction on one side and state mutation
on the other—without maintaining two versions of what an Outcome means.

# `validate_evidence`

```elixir
@spec validate_evidence(
  %{optional(String.t()) =&gt; ExGAM.Evidence.t()},
  ExGAM.Outcome.t(),
  ExGAM.Attempt.t(),
  ExGAM.Act.t()
) :: :ok | {:error, term()}
```

Validates every Evidence reference attesting an Outcome.

# `validate_for_act`

```elixir
@spec validate_for_act(ExGAM.Act.t(), ExGAM.Outcome.t()) :: :ok | {:error, term()}
```

Checks class-specific restrictions on an observed result.

# `validate_history`

```elixir
@spec validate_history(
  %{optional(String.t()) =&gt; ExGAM.Outcome.t()},
  ExGAM.Outcome.t()
) ::
  :ok | {:error, term()}
```

Checks that an Outcome is a valid next observation for its Attempt.

---

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