# `ExGAM.Domain.Admission.Planner`
[🔗](https://github.com/elchemista/ex_gam/blob/0.1.0/lib/ex_gam/domain/admission/planner.ex#L1)

Builds a provisional atomic Admission plan from queued submissions.

The planner validates sealed Scope bindings and host execution-route
availability before calling the pure kernel. It does not append, mint Grants
or reply to callers. Each accepted Candidate is applied to provisional state
so later Candidates in the same group observe the exact preceding prefix.

# `plan`

```elixir
@type plan() :: %{
  from: GenServer.from(),
  candidate: ExGAM.Candidate.t() | nil,
  error: term() | nil
}
```

# `error_plans`

```elixir
@spec error_plans([map()]) :: [plan()]
```

Creates neutral error plans when Admission cannot start.

# `plan`

```elixir
@spec plan(ExGAM.Domain.Sequencer.State.t(), [map()], non_neg_integer()) ::
  {[plan()], [map()]}
```

Plans a submission group in queue order.

---

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