Files
audita-pipelines-dnd/README.md

83 lines
3.2 KiB
Markdown

# audita-pipelines-dnd
D&D processing recipes for [Audita](https://forge.maximumdirect.net/eric/audita).
Audita provides domain-agnostic transcript processing; this repository owns the
D&D overlays and the public input contracts followed by Narratio and other callers.
## Status
Development scaffolding is available. The planned overlays are
`overlays/dnd-production.yml` and `overlays/dnd-testing.yml`; they have not yet been
implemented. Production will be the normal polishing recipe. Testing will be a
cheaper, shorter development run. Glossary roles, stage sequences, and model-profile
requirements remain open. There is no released recipe contract yet.
As the overlays land, this README will define their supported Audita versions,
logical glossary roles, required/default inputs, profile requirements, and
installation and invocation. Both should accept the same prepared input dataset
where practical. Recipe revisions can be selected independently of Audita releases.
Audita's planned `--glossary-file` interface is not implemented in the current
v4.1 baseline. Existing configured glossary collections work in the meantime.
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)
for native formats and implemented behavior.
## Develop alongside Audita
A convenient checkout layout is:
```text
Workspace/
audita/
audita-pipelines-dnd/
```
Build from the Audita checkout:
```sh
cd ../audita
go build -o ./bin/audita ./cmd/audita
```
From this repository, run the offline development checks:
```sh
./scripts/check.sh ../audita/bin/audita
```
The script also accepts `AUDITA_BIN`, or defaults to `audita` on PATH. The sibling
layout is a convenience, not a dependency. Checks validate the synthetic main
configuration and any implemented overlays, then process a tiny transcript with
normalization only. They make no model calls and do not establish model readiness
or editorial quality. The fixture's empty stage list is for this check only; it
does not define either D&D pipeline.
For personal development, copy the fixture to a main file at the repository root:
```sh
cp examples/development/config.yml audita.local.yml
```
`audita.local.yml` is ignored. Edit it to configure your processing pipeline and
profiles. Root `prompts.yml`, `prompts/`, `glossary.yml`, and `glossary/` are also
ignored for personal companions, and `.local/` is available for private inputs,
credentials, and outputs. Keep real session material out of committed examples.
Once implemented, overlays in this repository's root `overlays/` directory will
be discovered beside that main file. A target invocation is:
```sh
../audita/bin/audita process --config audita.local.yml \
--overlay dnd-testing --output .local/polished.json .local/transcript.json
```
This command is for the future overlay, and requires configured profiles and
usable glossary inputs. For deployment, copy the chosen overlay files into the
`overlays/` directory beside the deployment's main Audita configuration. No
submodule, Go workspace, or custom overlay installer is required.
## License
[CC0 1.0 Universal](LICENSE).