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

Sealed, path-free application package, input, and execution-policy tuple.

This is the sole request shape accepted by the path-free coordinator added
above the Kernel. Acquisition adapters may construct it; callers cannot
replace one member after sealing without invalidating the request.

# `t`

```elixir
@type t() :: %PtcRunner.Kernel.RunRequest{
  attestation: binary() | nil,
  input: PtcRunner.Kernel.ExecutionInput.t(),
  package: PtcRunner.Kernel.ApplicationPackage.t(),
  policy: PtcRunner.Kernel.ExecutionPolicy.t()
}
```

# `new`

```elixir
@spec new(
  PtcRunner.Kernel.ApplicationPackage.t(),
  PtcRunner.Kernel.ExecutionInput.t(),
  PtcRunner.Kernel.ExecutionPolicy.t()
) :: {:ok, t()} | {:error, :invalid_run_request}
```

Validates and seals one path-free run request.

# `valid?`

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

Checks the request and all nested construction attestations.

---

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