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

View File

@@ -15,23 +15,28 @@ not continue after a selected file fails. An omitted version uses the v3 schema;
a supplied version must be `3`.
Operator sources may use ConfigKit imports. The selected main file provides the
base for an optional `overlays/<name>.yml`, optional `glossary.yml`, and recursive
`glossary/` YAML files. Without a main source, automatic companion files are not
loaded from the working directory. ConfigKit composes sources, resolves native
inheritance, applies explicit overrides, records derived defaults, and validates
the result. Its [configuration reference](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md)
base for an optional `overlays/<name>.yml` and automatic prompt companions.
Without a main source, automatic companions are not loaded from the working
directory. ConfigKit composes sources, resolves native inheritance, applies
explicit overrides, records derived defaults, and validates the result. Its
[configuration reference](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md)
owns native composition and provenance semantics.
Runtime files supplied with `--glossary-file` are first composed separately in
argument order using native imports and entry identities. Imports are resolved
beside their declaring files. The resolved wrapperless mapping is then assigned
to `glossary_collections` as one CLI override in the application load. Supplied
entry lists replace configured lists at that boundary; unrelated configured
collections remain. Omitted fields retain configured values, while explicit
empty and null values follow native assignment and decoding. Application and
overlay parsing and validation still apply. Final explanation records the CLI
assignment, while original runtime file and import source records belong to the
preliminary load rather than final provenance. See the [runtime file contract](integrations/transcript-glossary-files.md).
Explicit `--glossary-file` inputs use the shared `glossary@0.2.0` contract from
schemas distribution `2026.11.1` and the `maximumdirect.glossary.v1` marker.
The files are ordered native layers; imports within a file are native peers and
resolve beside their declaring file. Audita validates the completed envelope,
then projects collection entries as one CLI assignment to
`glossary_collections`. Supplied entry lists replace configured lists at that
boundary; unrelated configured collections remain. ConfigKit governs native
composition and assignment. Final explanation records the CLI assignment;
runtime files and imports remain recorded for collision protection. See the
[shared file contract](integrations/transcript-glossary-files.md#glossary-collections).
Audita does not automatically discover `glossary.yml` or files under `glossary/`.
Pass desired files explicitly. An extension named `instruction` in a shared
collection is data and is not application instruction guidance. Inline application
`glossary_collections` may still define `instruction`.
Runtime glossary inheritance resolves only among the supplied files and their
imports; it cannot name a parent defined only in application configuration.