Document the library migration and update examples
This commit is contained in:
16
docs/cli.md
16
docs/cli.md
@@ -3,7 +3,7 @@
|
||||
Audita uses CommandKit for routing and the ConfigKit and PromptKit integrations
|
||||
for their standard inspection and request commands. Run `audita --help` or
|
||||
command-specific `--help` for the installed command inventory. The adopted
|
||||
[CommandKit consumer guide](https://forge.maximumdirect.net/base-layer/commandkit/src/commit/f369d6a78253b6e6fcb1e023fb2e9c3af1d20ff0/docs/consumers/guide.md)
|
||||
[CommandKit consumer guide](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/v0.8.0/docs/consumers/guide.md)
|
||||
describes the standard command grammar, inspection, comparison, preview,
|
||||
validation, smoke tests, and their provider-specific caveats. Help and version
|
||||
do not load application or model configuration.
|
||||
@@ -20,6 +20,12 @@ audita process [flags] transcript.json
|
||||
messages. Quiet processing requires an output file or `/dev/null`. See
|
||||
[operations](operations.md) for output and report lifecycle.
|
||||
|
||||
Use `audita process --show-tokens --config config.yml transcript.json` to
|
||||
request the native execution-usage summary on diagnostics. It works without
|
||||
debug capture or ordinary reports and follows quiet mode. See the
|
||||
[ckprompt guide](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/integrations/ckprompt/v0.12.0/docs/consumers/guide.md)
|
||||
for usage and native command details.
|
||||
|
||||
Progress for processing goes to stderr. Use `--progress` to show stage and
|
||||
chunk activity, model proposal, validation and repair operations, and observed
|
||||
counts as work completes. Debug mode enables progress by default.
|
||||
@@ -43,11 +49,15 @@ 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.
|
||||
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.
|
||||
|
||||
Process stdout contains transcript JSON when no output file is selected. Ordinary
|
||||
reports may record recoverable model failures even when processing completes.
|
||||
Exit status `0` means success, `1` runtime or output failure, `2` invalid usage
|
||||
or input, and native comparison may return `3` for differences. A missing
|
||||
or input, and native comparison may return `3` for differences. ConfigKit
|
||||
classifies native configuration diagnostics; bootstrap failures and
|
||||
cancellation are operational. A missing
|
||||
processing profile or required glossary selection is an input failure. See the
|
||||
[output contract](integrations/output-files.md) and [subprocess contract](integrations/subprocess.md).
|
||||
|
||||
Reference in New Issue
Block a user