audita-pipelines-dnd

D&D processing recipes for Audita. This repository owns the overlays and their public recipe contracts. Audita owns its domain-agnostic processing, configuration, CLI, and glossary format.

Requirements and recipes

Use an Audita build containing runtime glossary inputs and collection instructions. These recipes were checked against Audita source commit 33d9e04. The published v4.1.0 release predates --glossary-file; a release including this feature has not yet been selected. Recipe revisions can be selected independently of Audita releases; callers such as Narratio can pin a recipe tag or commit.

Overlay/profile Inherited bundled profile Reasoning effort Intended use
dnd-production gpt-terra-latest low Normal transcript polishing
dnd-testing gpt-luna-latest medium Lower-cost development

Both overlays run the full sequence: glossary, homophones, glossary, spoken_word, grammar. Testing changes model selection and retains ordinary validation. Cost, turnaround, and editorial quality depend on the input, model and provider; the recipes promise no fixed cost, duration, or equivalent quality. Initial sequencing can be revised based on observed results, keeping testing aligned with production.

The overlays define native PromptKit profile aliases and inherit backend/model settings from Audita's bundled OpenRouter catalog. Operators supply the usual OpenRouter credential or customize native profiles/backends for their deployment. Validation and correction repair keep Audita's normal proposal-profile fallback unless the operator configures their own role profiles. Protection likewise uses Audita's existing defaults unless explicitly configured by the operator. See Audita's configuration reference and CLI reference for application integration, and the PromptKit format reference for native profile and backend behavior.

Input contract

Both overlays select these four logical collections at the root:

Collection Content
party Player characters and aliases
campaign Campaign-specific entities and terminology
setting Reusable world vocabulary
spells Spell vocabulary

Their empty entry defaults preserve configured vocabulary through native composition. Each collection may be empty, but glossary stages require at least one entry across the selected collections. Extra collections are permitted and can be selected through operator configuration. The overlays supply short collection instructions describing these roles.

Roles are independent of filenames. Operators may configure reusable references beside the selected main configuration while Narratio supplies prepared session collections, or callers may supply every collection at runtime. Both overlays accept the same prepared dataset. Narratio owns projections such as converting its party roster into native glossary entries; it selects an operator configuration and overlay instead of generating the processing sequence.

The synthetic session input supplies party and campaign; the companion reference file supplies setting and spells. Follow Audita's input contract for the wrapperless format and its configuration reference for replacement, inheritance, and collection-instruction behavior.

Install and invoke

Copy overlays/dnd-production.yml and overlays/dnd-testing.yml into the overlays/ directory beside the operator's selected Audita main configuration. No installer, submodule, Go workspace, or custom loader is required. Keep the operator's existing main configuration and companions; supply prepared inputs using the supported runtime interface:

audita config validate --scope app --config /path/to/audita.yml \
  --overlay dnd-testing --glossary-file /path/to/session-glossaries.yml

audita process --config /path/to/audita.yml --overlay dnd-testing \
  --glossary-file /path/to/session-glossaries.yml \
  --output /path/to/polished.json /path/to/transcript.json

Use dnd-production for the production recipe. Configuration validation does not contact a model or establish processing readiness; process additionally checks usable glossary selections and processing profiles. Configured secrets bootstrap can run during either command.

Develop alongside Audita

A sibling checkout is convenient. From the Audita checkout, build the current source with its documented Go toolchain:

go build -o ./bin/audita ./cmd/audita

From this repository, run the offline checks with Python 3 available:

./scripts/check.sh ../audita/bin/audita

The script also accepts AUDITA_BIN, or defaults to audita on PATH. It validates both overlays and their effective stage selections, inherited profiles, empty defaults, configured references, runtime inputs, and operator role/protection choices. It also runs normalization with an empty pipeline. Checks use synthetic inputs and make no model calls; they do not establish editorial quality or provider availability.

For a new local setup, copy the development main and references beside the overlays:

cp examples/development/config.yml audita.local.yml
cp examples/development/glossary.yml glossary.yml
mkdir -p .local
../audita/bin/audita process --config audita.local.yml --overlay dnd-testing \
  --glossary-file examples/development/session-glossaries.yml \
  --output .local/polished.json examples/development/transcript.json

Processing requires configured credentials. Local main files, root glossary/prompt companions, .local/, and environment files are ignored. Keep real session data and credentials there; committed examples must remain synthetic.

License

CC0 1.0 Universal.

Description
No description provided
Readme CC0-1.0 39 KiB
Languages
Python 75%
Shell 25%