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
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
instruction workflows. Initial shared-schema support is partial, bounded by the
capabilities of the adopted ConfigKit version.
instruction workflows. Adopt the released ConfigKit-aligned glossary contract
through its defined native loading boundary.
## Current Baseline
@@ -56,39 +56,33 @@ context, and CLI acquisition.
## Target Upstream Contract
The reviewed published baseline and provisional adoption pin is `glossary@0.1.0`
from schemas distribution `2026.11.0`, whose tagged source is commit
`1b8430bdcbf04eb98c8d45c98a1cb986a9e6d477`. Its operator document marker is
`maximumdirect.glossary.v1`; it is distinct from both version numbers and from
Audita's application configuration version.
Adopt `glossary@0.2.0` from schemas distribution `2026.11.1`, whose tagged source
is commit `f7e3cedeca11ed903311cdf29ca4d81fb1f216b7`. Its operator document marker
remains `maximumdirect.glossary.v1`; it is distinct from both version numbers and
from Audita's application configuration version. The marker alone does not
identify the exact schema revision, so retain the explicit schema and distribution
pins.
Use the versioned schema and semantics together:
- [Canonical schema](https://schemas.maximumdirect.net/glossary/v0.1.0/schema.json)
and [semantics](https://schemas.maximumdirect.net/glossary/v0.1.0/semantics.md).
- [Published source](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/glossary/v0.1.0),
[inventory](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/catalog.json),
[validation profile](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/docs/validation.md),
and [compatibility guidance](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.0/docs/compatibility.md).
- [Canonical schema](https://schemas.maximumdirect.net/glossary/v0.2.0/schema.json)
and [semantics](https://schemas.maximumdirect.net/glossary/v0.2.0/semantics.md).
- [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.1/catalog.json),
[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.1/docs/compatibility.md).
Upstream is revising the contracts to fit ConfigKit's capabilities. When the
revised glossary contract is published, refresh the selected schema version,
document marker, source distribution and full commit, references, assets, and
examples together. Proposed upstream versions and markers are not release
identities to adopt ahead of publication. Use one selected published contract;
supporting both the original and revised generations is not required. This does
not add a requirement to wait for upstream publication before proceeding under
the partial-support boundary below.
The released semantics define ConfigKit v1.4.0's public mapping-root handoff as
part of full conformance. Native acquisition and resolution precede JSON Schema
validation and the applicable semantic checks. ConfigKit owns syntax, reserved
controls, numeric binding, and resource limits; supported resolved values are
preserved. Those rules are part of the selected contract, rather than exceptions
to Audita's support. Audita already uses this ConfigKit version.
The supported input range is the intersection of this shared contract and what
ConfigKit can parse, compose, and decode. A schema-valid document may therefore
remain unsupported because of a native ConfigKit limitation. Full compatibility
with the upstream YAML decoding profile is not required for this adoption.
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.
Use this one selected published contract. Supporting older schema revisions is
not required. The upstream developer validator's selection of the highest version
in its local catalog does not change Audita's exact bundled pin or introduce
runtime catalog discovery.
Bundle the selected glossary schema and adjacent semantic document from that
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
and entry definitions. There is no legacy glossary-file compatibility
requirement. The ConfigKit limits described below bound which otherwise valid
shared documents Audita can consume.
requirement. Native loading follows the ConfigKit boundary defined by the
selected shared contract.
- **Application configuration:** Plan additive changes where needed. Existing
collection-selection settings already refer to names independently of how
collections are distributed across files. Supporting the shared file format
@@ -173,8 +167,8 @@ continues to own task instructions.
### Contract conformance and task readiness
Apply the pinned structural schema and semantic rules to completed shared data
within ConfigKit's supported input range. In particular:
Apply the pinned contract's native loading, structural schema, and semantic rules
to completed shared data. In particular:
- Preserve the contract's required-field, omitted, null, and empty distinctions,
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
native layering of an identity with duplicate final entries.
- Use ConfigKit's parsing and decoding behavior, including its native failure
diagnostics, rather than implementing the upstream harness's broader YAML
profile locally. Schema validity alone does not override native limitations.
diagnostics. Structural schema validity alone does not establish full
conformance; native loading and semantic checks are also part of the contract.
Reuse the existing validation owners. ConfigKit's registered sequence identities
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
for hypothetical forwarding. Module views can remain focused on useful vocabulary.
Known differences in the currently adopted ConfigKit v1.4.0 include rejection of
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
The adopted
[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
YAML parser, normalization workaround, arbitrary-precision codec, or fallback
loader in Audita. Upstream schema alignment is pending; it is not a prerequisite
for this release. Future upstream changes can expand support without making today's
limitations permanent Audita restrictions.
owns native behavior, including reserved controls and numeric representation.
Link to that contract rather than reproduce its parser rules or introduce a
custom parser, normalization workaround, arbitrary-precision codec, or fallback
loader. Review future schema and ConfigKit updates deliberately against the
selected contract.
Keep schema validity separate from Audita task readiness. Empty collections and
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
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.
Refresh the provisional pin and affected material together if the revised
contract is published for adoption; multiple-generation support is not required.
Bundle the selected `glossary/v0.2.0/` assets from `2026.11.1` and use that
version in maintained examples and references.
- Adapt shared application acquisition, companion loading, runtime composition,
and native sequence-identity selectors to the shared file envelope. Add
schema validation at completed-document boundaries within ConfigKit's supported
range, reuse native identity checks, and derive consumer views after those checks.
schema validation at completed-document boundaries, reuse native identity
checks, and derive consumer views after those checks.
Refactor internal types and loading flow where that simplifies implementation.
- Retain shared acquisition for processing, preflight, and configuration-consuming
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
examples. Link upstream for schema and library definitions; document locally
the Audita-specific mounting, precedence, selection, and readiness behavior.
Clearly label partial support and native ConfigKit limitations. Update the
deferred Narratio adoption description when this work lands.
Identify the selected contract and link its native ConfigKit boundary. Update
the deferred Narratio adoption description when this work lands.
- Write migration guidance and release documentation for the intentional cutover.
Retire superseded glossary-file format handling rather than adding compatibility
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.
3. Required fields, nullable and empty cases, malformed known fields, unsupported
markers, and exact final entry-ID uniqueness follow the adopted contract.
Use representative cases within ConfigKit's supported range and verify that
ordinary validation needs no network access. Schema-valid inputs unsupported
by ConfigKit can fail with normal native diagnostics; tests must not require
broader parsing or numeric support, or freeze those upstream limitations as
permanent application behavior.
Verify that ordinary validation needs no network access and that native load
failures use normal ConfigKit diagnostics. Tests should exercise the selected
contract without adding broader parsing or numeric guarantees or turning
upstream implementation details into permanent application behavior.
4. Repeated files, imports, inheritance, application vocabulary, overlays, and
CLI assignment follow native composition. Partial contributions can produce
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.
Native inspection and comparison expose consistent effective inputs, with
supported extensions retained when exposing a shared document.
7. Maintained examples, supported-contract identification and limitations,
migration guidance, and source/attribution records match the delivered
interface. Existing transcript and corrected-output formats remain unchanged
by this adoption.
7. Maintained examples, supported-contract identification, migration guidance,
and source/attribution records match the delivered interface. Existing
transcript and corrected-output formats remain unchanged by this adoption.
Consolidate coverage where one behavioral test protects multiple cases. Tests
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
adoption. Migration guidance should explain the shared envelope, single and
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
belong to their own repositories and can target the resulting released interface.