# `Spectre.GAM.Kernel.Authority.Facts`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/gam/kernel/authority/facts.ex#L1)

Minimal immutable input consumed by authority resolution.

The container is derived from `Spectre.GAM.GovernedAct.State` and deliberately
omits Evidence, Meter balances and executor handles. It is therefore possible
to inspect lineage, revocation, restriction and containment without allowing
facts about the world to manufacture or select authority.

All values are already-restored structs or exact read-model indexes. The
resolver never performs atom/string fallback or decodes ledger records.

# `t`

```elixir
@type t() :: %Spectre.GAM.Kernel.Authority.Facts{
  blocked_effect_digests: MapSet.t(String.t()),
  blocked_mandate_refs: MapSet.t(String.t()),
  disposition_duties: %{optional(binary()) =&gt; map()},
  mandate_successors: %{optional(String.t()) =&gt; String.t()},
  mandates: %{optional(String.t()) =&gt; Spectre.GAM.Mandate.t()},
  revocations: %{optional(String.t()) =&gt; Spectre.GAM.Mandate.Revocation.t()}
}
```

# `blocked_effect_digests`

```elixir
@spec blocked_effect_digests(Spectre.GAM.GovernedAct.State.t()) ::
  MapSet.t(String.t())
```

Returns consequence digests held by unresolved containment Duties.

# `blocked_mandate_refs`

```elixir
@spec blocked_mandate_refs(Spectre.GAM.GovernedAct.State.t()) :: MapSet.t(String.t())
```

Returns Mandates blocked by unresolved Meter recontainment deficits.

# `current`

```elixir
@spec current(Spectre.GAM.GovernedAct.State.t()) :: t()
```

Builds the current full authority view without scanning terminal Duty history.

# `for_act`

```elixir
@spec for_act(Spectre.GAM.GovernedAct.State.t(), Spectre.GAM.Act.t()) :: t()
```

Selects the exact admitted branch for dispatch, including current blockers.

# `for_candidate`

```elixir
@spec for_candidate(Spectre.GAM.GovernedAct.State.t(), Spectre.GAM.Candidate.t()) ::
  t()
```

Selects complete authority facts for one Candidate, without choosing its Mandate.

An explicit request includes that Mandate and every ancestor. Otherwise every
Mandate held by the proposer is retained, so ambiguity cannot be hidden by
selecting a first match. Ancestors belonging to other principals remain in
the view for revocation, restriction, debt and disclosure-owner checks.

This is a pure read of a fold-owned prefix, not a last-N history window or
permission supplied by a host callback. Missing operational indexes use the
exhaustive path. Persisted indexes must be verified/rebuilt before use.

# `from_state`

```elixir
@spec from_state(Spectre.GAM.GovernedAct.State.t()) :: t()
```

Builds the exhaustive authority-only view, independent of operational indexes.

---

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