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

Opens direct session or child Scopes as exact durable transactions.

Work and Vigil Scopes remain governed consequences and are therefore rejected
here; they can only be created through normal Candidate Admission. Context,
ingress, generation and acquisition-time bindings are checked before append.

# `open`

```elixir
@spec open(
  ExGAM.Domain.Sequencer.State.t(),
  ExGAM.SubmissionContext.t() | term(),
  ExGAM.Scope.Opening.t() | term()
) ::
  {:ok, ExGAM.Domain.Sequencer.State.t(), ExGAM.Scope.Opening.t()}
  | {:error, ExGAM.Domain.Sequencer.State.t(), term()}
```

Validates and durably records one direct Scope opening.

---

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