# `ExGAM.Execution.Router`
[🔗](https://github.com/elchemista/ex_gam/blob/0.1.0/lib/ex_gam/execution/router.ex#L1)

Resolves host execution wiring before a Candidate enters the kernel.

A route proves only that this running application knows how to reach the
declared executor contract and has a compatible broker profile. It does not
authorize the Candidate, choose its route, or become a governed fact. The
kernel still decides Admission from ledger-derived authority; execution can
begin only after the resulting Act receives and consumes a Grant.

# `route`

```elixir
@type route() :: ExGAM.Execution.Boundary.runtime_route()
```

# `broker`

```elixir
@spec broker(ExGAM.Execution.Boundary.t()) :: {:ok, map()} | {:error, term()}
```

Returns the configured capability broker without invoking it.

# `broker_supports_act`

```elixir
@spec broker_supports_act(ExGAM.GovernedAct.State.t(), ExGAM.Act.t(), map()) ::
  :ok | {:error, term()}
```

Checks that a broker profile covers the HostProfile frozen by an Act.

# `fetch`

```elixir
@spec fetch(ExGAM.Execution.Boundary.t(), String.t(), String.t()) ::
  {:ok, route()} | {:error, term()}
```

Returns the exact executor/broker pair configured for a declared contract.

# `profile_supports_act`

```elixir
@spec profile_supports_act(ExGAM.GovernedAct.State.t(), ExGAM.Act.t(), map()) ::
  :ok | {:error, term()}
```

Checks an Act against an explicit broker descriptor.

# `validate_candidate`

```elixir
@spec validate_candidate(
  ExGAM.Execution.Boundary.t(),
  ExGAM.GovernedAct.State.t(),
  ExGAM.Candidate.t()
) ::
  :ok | {:error, term()}
```

Checks that host wiring can support an executor-mediated Candidate.

---

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