# `ExGAM.Domain.Command.Execution`
[🔗](https://github.com/elchemista/ex_gam/blob/0.1.0/lib/ex_gam/domain/command/execution.ex#L1)

Orchestrates Grant issuance and the durable start of executor-mediated Acts.

Host routes are resolved without becoming authority. A consumed Grant is
recorded as an Attempt before any capability receipt is returned, and the
recovered projection is rechecked before checkout. The module executes no
external capability itself; Zone X remains in `ExGAM.Attempt.Runner`.

# `consume`

```elixir
@spec consume(ExGAM.Domain.Sequencer.State.t(), ExGAM.Kernel.Grant.t()) ::
  {:ok, ExGAM.Domain.Sequencer.State.t(), ExGAM.Act.t(), ExGAM.Attempt.t(),
   ExGAM.Secret.CheckoutReceipt.t()}
  | {:error, ExGAM.Domain.Sequencer.State.t(), term()}
```

Consumes a Grant into one durable Attempt and returns its checkout receipt.

# `mint_grant`

```elixir
@spec mint_grant(ExGAM.Domain.Sequencer.State.t(), ExGAM.Act.t() | nil) ::
  {:ok, ExGAM.Kernel.Grant.t() | nil} | {:error, term()}
```

Mints an executor Grant when an admitted Act still has a dispatch path.

---

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