Document shared glossary inputs and migration

This commit is contained in:
2026-11-29 18:16:18 +00:00
parent 04546acee0
commit 3b7baed65e
20 changed files with 248 additions and 112 deletions

43
docs/migrations/v4.3.md Normal file
View File

@@ -0,0 +1,43 @@
# Migrating to Audita v4.3
Audita v4.3.0 adopts the shared `glossary@0.2.0` contract from schemas
distribution `2026.11.1`. Runtime glossary files now require the
`maximumdirect.glossary.v1` marker and a `collections` mapping. The former
wrapperless runtime format is no longer accepted. See the
[shared input contract](../integrations/transcript-glossary-files.md#glossary-collections)
and [upstream semantics](https://schemas.maximumdirect.net/glossary/v0.2.0/semantics.md).
```yaml
schema_version: maximumdirect.glossary.v1
collections:
people:
entries:
- {id: speaker, name: Mira Chen, category: person}
```
Pass files explicitly to every configuration-consuming invocation:
```sh
audita preflight --smoke=false --config config.yml --glossary-file glossary.yml --output corrected.json transcript.json
audita process --config config.yml --glossary-file party.yml --glossary-file spells.yml --output corrected.json transcript.json
```
One file can contain multiple collections, or repeated arguments can supply
separate files or a mixture. Paths are relative to the invocation directory;
native imports are relative to their declaring file. Formerly discovered
`glossary.yml` and `glossary/` files must now be named explicitly. Automatic
prompt companions, inline application vocabulary, and main configuration
discovery remain available.
Explicit files have CLI assignment priority over main and overlay vocabulary,
whereas automatic glossary companions previously acted as an underlay. Supplied
entry lists replace configured lists at that boundary; unrelated configured
collections remain. Files compose as ordered native layers before the completed
envelope is validated and projected. Inheritance and value presence follow the
[ConfigKit reference](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md),
within the boundaries described in [configuration](../config.md#loading-and-composition).
Loading does not select collections. Keep root or per-pipeline selections, or
supply the applicable CLI overrides. Empty collections can be inspected, but
glossary correction requires a selected entry. Application configuration remains
version 3 and the Go module path remains `/v4`.