Document and validate preflight readiness
This commit is contained in:
@@ -43,14 +43,29 @@ operations and completions. Debug enables progress by default, and
|
||||
`--progress=false` or quiet mode suppresses it. Consume progress as
|
||||
human-readable telemetry. Stdout remains the transcript stream.
|
||||
|
||||
## Readiness before processing
|
||||
|
||||
A parent can invoke `audita preflight` with the same explicit configuration,
|
||||
transcript, glossary selections, and intended output arguments it will later pass
|
||||
to `process`. Use `--smoke=false` for local-only readiness; the default also
|
||||
contacts selected providers. Interpret exit 0 as success for the checked scope,
|
||||
2 as invalid usage or input, and 1 as an operational, output, cancellation, or
|
||||
provider-verification failure. Diagnostics are human-readable, not a stable
|
||||
machine report. See [preflight](../cli.md#preflight) and
|
||||
[operations](../operations.md#preflight) for details and side effects.
|
||||
|
||||
The subsequent invocation reacquires its inputs and resources. Files, credentials,
|
||||
service availability, and write readiness can change between the two commands;
|
||||
preflight does not reserve the destination or guarantee that processing succeeds.
|
||||
|
||||
## Result Handling
|
||||
|
||||
Interpret the exit result according to the
|
||||
[CLI output and exit contract](../cli.md#inspection-and-outcomes).
|
||||
Consume transcript/report data through the
|
||||
[output-file contract](output-files.md), and treat stderr as human-readable detail.
|
||||
Audita loads configuration and parses the input transcript before report
|
||||
initialization. Bootstrap failure also occurs before transcript and output
|
||||
Audita loads configuration, parses and normalizes the transcript, and plans
|
||||
chunks before report initialization. Bootstrap failure also occurs before transcript and output
|
||||
preparation and may leave no reports. Early destination failures can also leave no reports. After
|
||||
initialization, failed reports can describe partial processing or output
|
||||
failures and use the same report directory as successful runs.
|
||||
|
||||
Reference in New Issue
Block a user