5.6 KiB
Audita CLI Reference
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
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.
Processing
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
messages. Quiet processing requires an output file or /dev/null. See
operations 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
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.
--progress=false disables it, and quiet mode suppresses it even when
--progress is explicit.
Explicit process flags override root settings only. --glossaries and
--protected-terms each accept one JSON array of collection names or null;
[] clears the selection. Set pipeline order and per-entry overrides in YAML.
Other supplied flags cover profiles, output schema, description, reporting,
chunking, normalization, validation budget, and debug
work directory. audita process --help lists the available flags. An omitted flag
does not contribute an override. Configuration defines their values
and inheritance.
--glossary-file PATH supplies a wrapperless runtime glossary file. Repeat it
to compose files in argument order. Each occurrence is a single path resolved
from the invocation working directory. This flag does not select collections:
use configured selections or --glossaries. It is also accepted by configuration
inspection and configuration-consuming PromptKit resource, request, and smoke
commands. Configuration comparison applies the same ordered files to both sides.
See the input format and native
command help for the available operations.
Preflight
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 and operations 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 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.
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, 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 and subprocess contract.