Document pipeline preflight for consumers and operators

This commit is contained in:
2026-11-28 04:34:14 +00:00
parent 71cefdd154
commit 5382058b28
5 changed files with 94 additions and 8 deletions

View File

@@ -27,17 +27,36 @@ notarius pipeline validate pipeline-id \
Omit the overlay for the composed base. Pipeline validation needs no transcript,
reference bytes, credentials, provider call, or state directory.
Then run with first-class source and output inputs:
Optionally perform online readiness checks with the same selection and references
that will be used for execution:
~~~sh
notarius preflight pipeline-id \
--config /absolute/path/to/notarius.yml --overlay production \
--input-file /absolute/path/to/source.json \
--reference party=/absolute/path/to/party.txt \
--output-dir /absolute/path/to/output-root --format json
~~~
Check process status even when a report is present. On nonzero status, decode an
available complete assessment for details when useful; early errors may produce
none and failed delivery may leave partial bytes. `ready: true` alone does not
override a failing status. A synthetic transcript is ordinary supplied input:
its successful assessment does not establish readiness of a future transcript.
Preflight can contact providers and incur costs; see
[preflight operation](../operations.md#preflight-lifecycle).
Then run with the same selection and reference:
~~~sh
notarius run pipeline-id \
--config /absolute/path/to/notarius.yml --overlay production \
--input-file /absolute/path/to/source.json \
--reference party=/absolute/path/to/party.txt \
--output-dir /absolute/path/to/output-root --format json
~~~
Pass external references as separate arguments, for example
`--reference party=/absolute/path/to/party.txt`. Unqualified selectors reach
Pass external references as separate arguments. Unqualified selectors reach
compatible selected targets; narrower selectors are exceptional overrides.
Generated same-run handoffs stay configured, not CLI files. The
[reference selector contract](../cli.md#reference-selectors) owns matching and