Document and validate preflight readiness
This commit is contained in:
40
docs/cli.md
40
docs/cli.md
@@ -14,6 +14,9 @@ do not load application or model configuration.
|
||||
audita process [flags] transcript.json
|
||||
```
|
||||
|
||||
`audita run` is an alias of `audita process` and uses the same arguments,
|
||||
flags, and outcomes.
|
||||
|
||||
`--config` selects a main configuration and `--overlay` selects its overlay.
|
||||
`--output` writes the transcript to a file; omission selects stdout. The shared
|
||||
`--debug` flag enables retained debug artifacts, and `--quiet` suppresses optional
|
||||
@@ -50,17 +53,40 @@ commands. Configuration comparison applies the same ordered files to both sides.
|
||||
See the [input format](integrations/transcript-glossary-files.md) and native
|
||||
command help for the available operations.
|
||||
|
||||
## Preflight
|
||||
|
||||
```sh
|
||||
audita preflight --config config.yml --output corrected.json transcript.json
|
||||
audita preflight --smoke=false --config config.yml --output corrected.json transcript.json
|
||||
```
|
||||
|
||||
`preflight` accepts the same transcript argument and intended processing flags,
|
||||
including overlays, runtime glossary files, output/report destinations, and debug
|
||||
settings. It checks local preparation and destination readiness without producing
|
||||
the corrected transcript, ordinary reports, or debug artifacts. The default
|
||||
`--smoke=true` also checks structured output for each distinct selected profile;
|
||||
`--smoke=false` limits the command to local readiness. An empty pipeline selects
|
||||
no profiles. `process` and `run` do not run these smoke checks. Quiet mode requires
|
||||
an intended output file or `/dev/null` and suppresses optional summaries.
|
||||
|
||||
Provider checks can contact services. Success requires a completed supported
|
||||
check with positive generation, JSON, and schema observations; it does not prove
|
||||
compatibility with every prompt or provider-side schema enforcement. Per-profile
|
||||
smoke usage preserves native unknown and incomplete values. See the
|
||||
[PromptKit diagnostic guide](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/pkg-promptkit.md)
|
||||
and [operations](operations.md#preflight) for scope and side effects.
|
||||
|
||||
## Inspection and outcomes
|
||||
|
||||
The application configuration scope uses ConfigKit's native effective values,
|
||||
source evidence, explanation, comparison, and redaction. PromptKit supplies its
|
||||
own configuration and resource scopes and request preparation, validation, and
|
||||
explicit smoke diagnostics. Inspection does not require a processing-ready
|
||||
pipeline or contact a provider. Processing preflight separately checks the selected
|
||||
profiles and glossary entries. Smoke tests can contact providers and are run
|
||||
only on explicit request. Request `--format yaml` or `--format json` for
|
||||
machine-readable smoke results; their default is text. Shared loading can run
|
||||
configured secrets bootstrap for inspection as well as processing.
|
||||
pipeline or contact a provider. Processing and standalone preflight separately
|
||||
check selected profiles and glossary entries. Native PromptKit smoke commands
|
||||
can produce machine-readable results; standalone preflight presents human-readable
|
||||
readiness diagnostics. Shared loading can run configured secrets bootstrap for
|
||||
inspection as well as processing.
|
||||
|
||||
Process stdout contains transcript JSON when no output file is selected. Ordinary
|
||||
reports may record recoverable model failures even when processing completes.
|
||||
@@ -68,5 +94,7 @@ Exit status `0` means success, `1` runtime or output failure, `2` invalid usage
|
||||
or input, and native comparison may return `3` for differences. ConfigKit
|
||||
classifies native configuration diagnostics; unclassified runtime preparation
|
||||
and bootstrap failures, and cancellation, are operational. A missing
|
||||
processing profile or required glossary selection is an input failure. See the
|
||||
processing profile, required glossary selection, or infeasible requested section
|
||||
count is an input failure. A failed, unsupported, or inconclusive preflight
|
||||
provider check is an operational failure. See the
|
||||
[output contract](integrations/output-files.md) and [subprocess contract](integrations/subprocess.md).
|
||||
|
||||
Reference in New Issue
Block a user