Closed, path-free provenance for command diagnostics.
Names are fixed document roles or portable logical application names. A filesystem path, provider alias, endpoint, or caller-selected private input name is never a command source. Internal byte bounds and optional contract authority are attested so callers cannot widen a span or substitute a path from another classifying contract by mutating the struct.
Summary
Functions
Constructs provenance with the exact trusted source-byte bound used by spans.
Types
@type kind() ::
:host
| :project
| :application
| :component
| :input_contract
| :result_contract
| :external_input
| :component_override
| :runtime
@type t() :: %PtcRunner.Kernel.CommandSource{ attestation: binary(), byte_size: non_neg_integer() | nil, contract_authority: PtcRunner.Kernel.CommandContractAuthority.t() | nil, kind: kind(), name: binary() }
Functions
Constructs provenance with the exact trusted source-byte bound used by spans.