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

@@ -20,7 +20,7 @@ CLI reference paths use the process working directory. Absolute caller paths
are useful for services. Keep credentials in the intended environment, not
files, arguments, sessions, or logs.
Preflight without credentials or inference:
Validate without credentials or inference:
~~~sh
notarius config validate --config /absolute/path/to/notarius.yml
@@ -54,6 +54,13 @@ reach every selected target declaring the slot; narrower overrides follow the
combat, and NPC-occurrence handoffs stay in pipeline configuration, not CLI file
bindings.
For an optional online readiness check, use `notarius preflight dnd-session`
with the same configuration, transcript, output root, and reference arguments as
the run above. Check process status and any available assessment as described in
the [subprocess workflow](subprocess.md#prepare-and-run); the
[CLI reference](../cli.md#preflight) owns report semantics. A synthetic input
checks that input only, not a subsequent final transcript.
The ordinary input-based session is suitable without an override. Use
`--llm-session-id` only to intentionally change its native selection.
Sessions correlate provider routing; they are not credential or output identities.

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