# `ExGAM.Domain.Sequencer`
[🔗](https://github.com/elchemista/ex_gam/blob/0.1.0/lib/ex_gam/domain/sequencer.ex#L1)

One ordered command mailbox per Domain.

The sequencer owns only the operational work needed to preserve a single
ledger order: admission grouping, queue flushes, reconciliation timers and
command dispatch. It does not contain governed-act semantics. Pure admission
lives in `ExGAM.Kernel`; append/recovery lives in
`ExGAM.Domain.Transaction`; individual command workflows live below
`ExGAM.Domain.Command`; and external execution routing lives in
`ExGAM.Execution.Router`.

Keeping this module as a thin GenServer is a trust-boundary property as well
as a readability choice. Ingress, minds, brokers and executors may share its
ordering point, but their callbacks cannot become ledger transitions merely
by running in the same process.

# `admission_result`

```elixir
@type admission_result() :: %{
  decision: ExGAM.Decision.t(),
  act: ExGAM.Act.t() | nil,
  grant: ExGAM.Kernel.Grant.t() | nil
}
```

A successful Admission response; internal Acts carry a nil Grant.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

---

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