okf-cli-0.14.0.0: help/computations.md
ATTESTED COMPUTATION DEFINITIONS
okf computations BUNDLE
The report lists concepts of type Attested Computation by ID. It shows the
runtime, parameters, selected source, declared executor and attester, and
any missing parts. An eligible definition has a runtime, an attester
resource and a usable computation source. A run needs its own verdict.
Parameters require a name and type. Required defaults to false. Common
types include string, integer, number, boolean, date and timestamp.
Runtimes can add their own types, such as uuid.
INSPECTING THE SANCTIONED SOURCE
okf show BUNDLE CONCEPT_ID --computation
A computation path selects a file in the bundle. A missing or unusable
file produces a diagnostic. When the field is absent or empty, show prints
the first fenced block in the ATX Computation section. A heading at the
same level or above ends that section.
Strict validation flags definitions that offer both a file and an inline
fence or that contain extra qualifying fences.
RUNTIME EVIDENCE
An agent supplies values for the declared parameters. The runtime binds
those values to the sanctioned source and records the executed artifact
in a receipt. An attester checks that receipt and returns a boolean ok
plus an optional reason. Consumers surface failed verdicts and withhold
the value. Those artifacts belong to the run. okf inspects definitions.
SEE ALSO
okf help format The contract fields and bundle conventions.
okf help validation Strict authoring checks for computation sources.
okf help trust Verification and freshness of a definition.