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

Sealed selected application input and its authority class.

Input bytes, source names, and digests are intentionally absent. They do not
enter application content identity. The authority class remains explicit
because it controls later provider and publication policy. A contract
rejection carries only `ValueContract.classify/2`'s bounded structural
classification and a sealed authority for its exact contract behavior hash
and selected tagged-union branch, or only the shared discriminator before a
branch matches; the rejected input never enters the error.

# `authority`

```elixir
@type authority() :: :normal | :private
```

# `t`

```elixir
@type t() :: %PtcRunner.Kernel.ExecutionInput{
  attestation: binary() | nil,
  authority: authority(),
  value: map()
}
```

# `new`

```elixir
@spec new(term(), authority(), PtcRunner.Kernel.ValueContract.t() | nil) ::
  {:ok, t()} | {:error, :invalid_input | {:input_contract_failed, map()}}
```

Admits, validates, and seals one selected input value.

# `valid?`

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

Checks the input's in-VM construction attestation.

---

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