Target the ConfigKit aligned glossary schema

This commit is contained in:
2026-11-29 17:44:40 +00:00
parent 7ee50d1a3f
commit 1ded570158

View File

@@ -14,8 +14,8 @@ It defines the target and work areas; a subsequent implementation plan will
specify ordered implementation steps. The user's subsequent direction governs specify ordered implementation steps. The user's subsequent direction governs
release selection and scope: release as v4.3.0, expect standard-schema glossary release selection and scope: release as v4.3.0, expect standard-schema glossary
files, support one or multiple files, and spend no effort preserving glossary-file files, support one or multiple files, and spend no effort preserving glossary-file
instruction workflows. Initial shared-schema support is partial, bounded by the instruction workflows. Adopt the released ConfigKit-aligned glossary contract
capabilities of the adopted ConfigKit version. through its defined native loading boundary.
## Current Baseline ## Current Baseline
@@ -56,39 +56,33 @@ context, and CLI acquisition.
## Target Upstream Contract ## Target Upstream Contract
The reviewed published baseline and provisional adoption pin is `glossary@0.1.0` Adopt `glossary@0.2.0` from schemas distribution `2026.11.1`, whose tagged source
from schemas distribution `2026.11.0`, whose tagged source is commit is commit `f7e3cedeca11ed903311cdf29ca4d81fb1f216b7`. Its operator document marker
`1b8430bdcbf04eb98c8d45c98a1cb986a9e6d477`. Its operator document marker is remains `maximumdirect.glossary.v1`; it is distinct from both version numbers and
`maximumdirect.glossary.v1`; it is distinct from both version numbers and from from Audita's application configuration version. The marker alone does not
Audita's application configuration version. identify the exact schema revision, so retain the explicit schema and distribution
pins.
Use the versioned schema and semantics together: Use the versioned schema and semantics together:
- [Canonical schema](https://schemas.maximumdirect.net/glossary/v0.1.0/schema.json) - [Canonical schema](https://schemas.maximumdirect.net/glossary/v0.2.0/schema.json)
and [semantics](https://schemas.maximumdirect.net/glossary/v0.1.0/semantics.md). and [semantics](https://schemas.maximumdirect.net/glossary/v0.2.0/semantics.md).
- [Published source](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/glossary/v0.1.0), - [Published source](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/glossary/v0.2.0),
[inventory](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/catalog.json), [inventory](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/catalog.json),
[validation profile](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/docs/validation.md), [validation guide](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/docs/validation.md),
and [compatibility guidance](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/docs/compatibility.md). and [compatibility guidance](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/docs/compatibility.md).
Upstream is revising the contracts to fit ConfigKit's capabilities. When the The released semantics define ConfigKit v1.4.0's public mapping-root handoff as
revised glossary contract is published, refresh the selected schema version, part of full conformance. Native acquisition and resolution precede JSON Schema
document marker, source distribution and full commit, references, assets, and validation and the applicable semantic checks. ConfigKit owns syntax, reserved
examples together. Proposed upstream versions and markers are not release controls, numeric binding, and resource limits; supported resolved values are
identities to adopt ahead of publication. Use one selected published contract; preserved. Those rules are part of the selected contract, rather than exceptions
supporting both the original and revised generations is not required. This does to Audita's support. Audita already uses this ConfigKit version.
not add a requirement to wait for upstream publication before proceeding under
the partial-support boundary below.
The supported input range is the intersection of this shared contract and what Use this one selected published contract. Supporting older schema revisions is
ConfigKit can parse, compose, and decode. A schema-valid document may therefore not required. The upstream developer validator's selection of the highest version
remain unsupported because of a native ConfigKit limitation. Full compatibility in its local catalog does not change Audita's exact bundled pin or introduce
with the upstream YAML decoding profile is not required for this adoption. runtime catalog discovery.
Audita should describe this as partial support rather than claim unrestricted
shared-schema conformance.
If the selected revised contract aligns with ConfigKit, describe support against
that contract directly and remove caveats specific to the older broader profile.
Bundle the selected glossary schema and adjacent semantic document from that Bundle the selected glossary schema and adjacent semantic document from that
distribution, with their provenance and applicable licensing material. Register distribution, with their provenance and applicable licensing material. Register
@@ -104,8 +98,8 @@ adding a dependency. Party and campaign schema adoption is outside this work.
- **Operator-provided glossary files:** Use the shared envelope and its collection - **Operator-provided glossary files:** Use the shared envelope and its collection
and entry definitions. There is no legacy glossary-file compatibility and entry definitions. There is no legacy glossary-file compatibility
requirement. The ConfigKit limits described below bound which otherwise valid requirement. Native loading follows the ConfigKit boundary defined by the
shared documents Audita can consume. selected shared contract.
- **Application configuration:** Plan additive changes where needed. Existing - **Application configuration:** Plan additive changes where needed. Existing
collection-selection settings already refer to names independently of how collection-selection settings already refer to names independently of how
collections are distributed across files. Supporting the shared file format collections are distributed across files. Supporting the shared file format
@@ -173,8 +167,8 @@ continues to own task instructions.
### Contract conformance and task readiness ### Contract conformance and task readiness
Apply the pinned structural schema and semantic rules to completed shared data Apply the pinned contract's native loading, structural schema, and semantic rules
within ConfigKit's supported input range. In particular: to completed shared data. In particular:
- Preserve the contract's required-field, omitted, null, and empty distinctions, - Preserve the contract's required-field, omitted, null, and empty distinctions,
including nullable aliases and plural forms. Do not trim, case-fold, coerce, including nullable aliases and plural forms. Do not trim, case-fold, coerce,
@@ -189,8 +183,8 @@ within ConfigKit's supported input range. In particular:
requirements for display names, aliases, or categories, or confuse legitimate requirements for display names, aliases, or categories, or confuse legitimate
native layering of an identity with duplicate final entries. native layering of an identity with duplicate final entries.
- Use ConfigKit's parsing and decoding behavior, including its native failure - Use ConfigKit's parsing and decoding behavior, including its native failure
diagnostics, rather than implementing the upstream harness's broader YAML diagnostics. Structural schema validity alone does not establish full
profile locally. Schema validity alone does not override native limitations. conformance; native loading and semantic checks are also part of the contract.
Reuse the existing validation owners. ConfigKit's registered sequence identities Reuse the existing validation owners. ConfigKit's registered sequence identities
provide exact string-ID uniqueness, including final-result checks; JSON Schema provide exact string-ID uniqueness, including final-result checks; JSON Schema
@@ -205,17 +199,13 @@ document. It does not require an archive of loaded documents, a round-trip
serializer, a new export interface, or a parallel representation retained solely serializer, a new export interface, or a parallel representation retained solely
for hypothetical forwarding. Module views can remain focused on useful vocabulary. for hypothetical forwarding. Module views can remain focused on useful vocabulary.
Known differences in the currently adopted ConfigKit v1.4.0 include rejection of The adopted
YAML anchors/aliases and some shared-profile scalar spellings, such as unquoted
`yes` as a string. Generic numeric decoding is also bounded by native integer
ranges and floating-point precision rather than the shared profile's
precision-preserving number representation. The adopted
[ConfigKit configuration reference](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md) [ConfigKit configuration reference](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md)
owns native behavior. Document the relevant limitations without adding a custom owns native behavior, including reserved controls and numeric representation.
YAML parser, normalization workaround, arbitrary-precision codec, or fallback Link to that contract rather than reproduce its parser rules or introduce a
loader in Audita. Upstream schema alignment is pending; it is not a prerequisite custom parser, normalization workaround, arbitrary-precision codec, or fallback
for this release. Future upstream changes can expand support without making today's loader. Review future schema and ConfigKit updates deliberately against the
limitations permanent Audita restrictions. selected contract.
Keep schema validity separate from Audita task readiness. Empty collections and Keep schema validity separate from Audita task readiness. Empty collections and
an empty collection map are valid shared data. A selected glossary-correction an empty collection map are valid shared data. A selected glossary-correction
@@ -259,12 +249,12 @@ not part of adoption.
- Incorporate the pinned contract assets and provenance. Add the appropriate - Incorporate the pinned contract assets and provenance. Add the appropriate
component entry and license material under the [OSS policy](../policy/oss.md) component entry and license material under the [OSS policy](../policy/oss.md)
when copying the upstream assets; the selected original material is CC0-1.0. when copying the upstream assets; the selected original material is CC0-1.0.
Refresh the provisional pin and affected material together if the revised Bundle the selected `glossary/v0.2.0/` assets from `2026.11.1` and use that
contract is published for adoption; multiple-generation support is not required. version in maintained examples and references.
- Adapt shared application acquisition, companion loading, runtime composition, - Adapt shared application acquisition, companion loading, runtime composition,
and native sequence-identity selectors to the shared file envelope. Add and native sequence-identity selectors to the shared file envelope. Add
schema validation at completed-document boundaries within ConfigKit's supported schema validation at completed-document boundaries, reuse native identity
range, reuse native identity checks, and derive consumer views after those checks. checks, and derive consumer views after those checks.
Refactor internal types and loading flow where that simplifies implementation. Refactor internal types and loading flow where that simplifies implementation.
- Retain shared acquisition for processing, preflight, and configuration-consuming - Retain shared acquisition for processing, preflight, and configuration-consuming
native commands. Treat glossary-file extensions as data without adding an native commands. Treat glossary-file extensions as data without adding an
@@ -280,8 +270,8 @@ not part of adoption.
[configuration](../config.md), [CLI](../cli.md), affected internal guides, and [configuration](../config.md), [CLI](../cli.md), affected internal guides, and
examples. Link upstream for schema and library definitions; document locally examples. Link upstream for schema and library definitions; document locally
the Audita-specific mounting, precedence, selection, and readiness behavior. the Audita-specific mounting, precedence, selection, and readiness behavior.
Clearly label partial support and native ConfigKit limitations. Update the Identify the selected contract and link its native ConfigKit boundary. Update
deferred Narratio adoption description when this work lands. the deferred Narratio adoption description when this work lands.
- Write migration guidance and release documentation for the intentional cutover. - Write migration guidance and release documentation for the intentional cutover.
Retire superseded glossary-file format handling rather than adding compatibility Retire superseded glossary-file format handling rather than adding compatibility
shims, automatic legacy conversion, or a second operator-maintained vocabulary. shims, automatic legacy conversion, or a second operator-maintained vocabulary.
@@ -308,11 +298,10 @@ Evidence should establish that:
not completion of another application's adoption. not completion of another application's adoption.
3. Required fields, nullable and empty cases, malformed known fields, unsupported 3. Required fields, nullable and empty cases, malformed known fields, unsupported
markers, and exact final entry-ID uniqueness follow the adopted contract. markers, and exact final entry-ID uniqueness follow the adopted contract.
Use representative cases within ConfigKit's supported range and verify that Verify that ordinary validation needs no network access and that native load
ordinary validation needs no network access. Schema-valid inputs unsupported failures use normal ConfigKit diagnostics. Tests should exercise the selected
by ConfigKit can fail with normal native diagnostics; tests must not require contract without adding broader parsing or numeric guarantees or turning
broader parsing or numeric support, or freeze those upstream limitations as upstream implementation details into permanent application behavior.
permanent application behavior.
4. Repeated files, imports, inheritance, application vocabulary, overlays, and 4. Repeated files, imports, inheritance, application vocabulary, overlays, and
CLI assignment follow native composition. Partial contributions can produce CLI assignment follow native composition. Partial contributions can produce
a valid final document. Multiple complete files do not fail merely because a valid final document. Multiple complete files do not fail merely because
@@ -325,10 +314,9 @@ Evidence should establish that:
selections fail before correction calls in both preflight and processing. selections fail before correction calls in both preflight and processing.
Native inspection and comparison expose consistent effective inputs, with Native inspection and comparison expose consistent effective inputs, with
supported extensions retained when exposing a shared document. supported extensions retained when exposing a shared document.
7. Maintained examples, supported-contract identification and limitations, 7. Maintained examples, supported-contract identification, migration guidance,
migration guidance, and source/attribution records match the delivered and source/attribution records match the delivered interface. Existing
interface. Existing transcript and corrected-output formats remain unchanged transcript and corrected-output formats remain unchanged by this adoption.
by this adoption.
Consolidate coverage where one behavioral test protects multiple cases. Tests Consolidate coverage where one behavioral test protects multiple cases. Tests
should not freeze incidental loader call order, private Go types, diagnostic should not freeze incidental loader call order, private Go types, diagnostic
@@ -350,7 +338,8 @@ existing public configuration fields or advancing configuration version 3.
Internal representations and module interfaces can change freely as part of Internal representations and module interfaces can change freely as part of
adoption. Migration guidance should explain the shared envelope, single and adoption. Migration guidance should explain the shared envelope, single and
repeated runtime files, companion file changes, composition/selection behavior, repeated runtime files, companion file changes, composition/selection behavior,
and partial-support limits. No glossary-file instruction migration is required. and the selected contract's native loading boundary. No glossary-file instruction
migration is required.
Narratio's adapter migration and the separate `audita-pipelines-dnd` recipe updates Narratio's adapter migration and the separate `audita-pipelines-dnd` recipe updates
belong to their own repositories and can target the resulting released interface. belong to their own repositories and can target the resulting released interface.