2026-11-26 15:35:47 +00:00
|
|
|
# audita-pipelines-dnd
|
|
|
|
|
|
2026-11-26 15:41:29 +00:00
|
|
|
D&D processing recipes for [Audita](https://forge.maximumdirect.net/eric/audita).
|
2026-11-26 21:29:59 +00:00
|
|
|
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`](https://forge.maximumdirect.net/eric/audita/src/commit/33d9e0428d95e9f391441d0349f266552d2a9861).
|
|
|
|
|
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.
|
2026-11-26 15:41:29 +00:00
|
|
|
See Audita's [configuration reference](https://forge.maximumdirect.net/eric/audita/src/branch/main/docs/config.md)
|
|
|
|
|
and [CLI reference](https://forge.maximumdirect.net/eric/audita/src/branch/main/docs/cli.md)
|
2026-11-26 21:29:59 +00:00
|
|
|
for application integration, and the
|
|
|
|
|
[PromptKit format reference](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/formats.md)
|
|
|
|
|
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](examples/development/session-glossaries.yml) supplies
|
|
|
|
|
`party` and `campaign`; the companion [reference file](examples/development/glossary.yml)
|
|
|
|
|
supplies `setting` and `spells`. Follow Audita's
|
|
|
|
|
[input contract](https://forge.maximumdirect.net/eric/audita/src/branch/main/docs/integrations/transcript-glossary-files.md)
|
|
|
|
|
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:
|
2026-11-26 15:41:29 +00:00
|
|
|
|
2026-11-26 21:29:59 +00:00
|
|
|
```sh
|
|
|
|
|
audita config validate --scope app --config /path/to/audita.yml \
|
|
|
|
|
--overlay dnd-testing --glossary-file /path/to/session-glossaries.yml
|
2026-11-26 15:41:29 +00:00
|
|
|
|
2026-11-26 21:29:59 +00:00
|
|
|
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
|
2026-11-26 15:41:29 +00:00
|
|
|
```
|
|
|
|
|
|
2026-11-26 21:29:59 +00:00
|
|
|
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:
|
2026-11-26 15:41:29 +00:00
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
go build -o ./bin/audita ./cmd/audita
|
|
|
|
|
```
|
|
|
|
|
|
2026-11-26 21:29:59 +00:00
|
|
|
From this repository, run the offline checks with Python 3 available:
|
2026-11-26 15:41:29 +00:00
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
./scripts/check.sh ../audita/bin/audita
|
|
|
|
|
```
|
|
|
|
|
|
2026-11-26 21:29:59 +00:00
|
|
|
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.
|
2026-11-26 15:41:29 +00:00
|
|
|
|
2026-11-26 21:29:59 +00:00
|
|
|
For a new local setup, copy the development main and references beside the overlays:
|
2026-11-26 15:41:29 +00:00
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cp examples/development/config.yml audita.local.yml
|
2026-11-26 21:29:59 +00:00
|
|
|
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
|
2026-11-26 15:41:29 +00:00
|
|
|
```
|
|
|
|
|
|
2026-11-26 21:29:59 +00:00
|
|
|
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.
|
2026-11-26 15:41:29 +00:00
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
[CC0 1.0 Universal](LICENSE).
|