3.0 KiB
Integration: Audita
Narratio invokes Audita v4.2 for polishing. Its adapter supplies the prepared
party, campaign, setting, and spells documents as repeated --glossary-file
arguments, the merged transcript and requested output, and run-local report and
work destinations. Optional config, overlay, profile, transcript-description,
and output-schema selectors are forwarded only when set. audita.debug: true
forwards --debug; false adds no debug override. Audita owns its
configuration, ordered pipeline, profiles, and native discovery. Narratio does
not generate a downstream configuration. See Audita configuration
and its runtime glossary input contract.
All four entry lists are supplied, including empty ones, and replace same-named Audita-configured lists. Other collections and omitted instruction fields retain native downstream composition. The configuration reference explains selection and migration of the prepared inputs.
After preparation, Narratio runs native Audita preflight when projected polish
work needs execution. The adapter supplies the same selections and prepared
files with a synthetic transcript. Audita's provider smoke checks remain enabled;
they can contact providers and destination probes can create directories.
session validate uses existing prepared records and a validation probe
namespace. A successful check is not a guarantee about later real-transcript
processing or editorial quality. See operations
and Audita preflight.
Each pipeline.audita.credentials value is an exact ConfigKit secret reference.
Narratio forwards selected names and captured values in the child environment
and registers them for captured-stream redaction. It does not discover backend
credentials or scrub files created by Audita. The configured timeout and parent
cancellation bound subprocess execution.
The corrected transcript is the only canonical polish output. It must be valid
JSON with a top-level segments array within Narratio's 64 MiB limit. Exit zero
is accepted even when ordinary reports describe recoverable errors or no
corrections. Narratio records available errors.yml, recoveries.yml, and
report.md from the requested report directory as diagnostics, each subject
to a 16 MiB bound. Reports may be absent when disabled. See Audita's
output contract.
On nonzero exit, Narratio preserves the subprocess error and available run-local evidence and does not promote an incidental transcript. The generated invocation record contains arguments, paths, and credential names, never values; it is a diagnostic record, not an Audita configuration file.