# `PtcRunner.Kernel.CommandContractAuthority`
[🔗](https://github.com/andreasronge/ptc_runner/blob/main/lib/ptc_runner/kernel/command_contract_authority.ex#L1)

Sealed behavior and path scope for a classified contract failure.

The authority travels with bounded classification evidence, independently of
any selected diagnostic path. A command source can therefore bind to the
classifying contract before a path is admitted, preventing a path minted
from another contract or tagged-union branch from certifying itself. Before
a tagged-union branch matches, only its shared discriminator is in scope.

# `t`

```elixir
@type t() :: %PtcRunner.Kernel.CommandContractAuthority{
  attestation: binary(),
  behavior_hash: binary(),
  path_schema: map() | nil
}
```

# `valid?`

```elixir
@spec valid?(term()) :: boolean()
```

---

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