diff --git a/docs/roadmap/shared-glossary.md b/docs/roadmap/shared-glossary.md index 89a0fd5..30975a8 100644 --- a/docs/roadmap/shared-glossary.md +++ b/docs/roadmap/shared-glossary.md @@ -56,10 +56,11 @@ context, and CLI acquisition. ## Target Upstream Contract -Target `glossary@0.1.0` from schemas distribution `2026.11.0`, whose tagged -source is commit `1b8430bdcbf04eb98c8d45c98a1cb986a9e6d477`. The operator document -marker is `maximumdirect.glossary.v1`; it is distinct from both version numbers -and from Audita's application configuration version. +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. Use the versioned schema and semantics together: @@ -70,6 +71,15 @@ Use the versioned schema and semantics together: [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). +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 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 @@ -77,6 +87,9 @@ 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. + Bundle the selected glossary schema and adjacent semantic document from that distribution, with their provenance and applicable licensing material. Register the schema locally so ordinary validation works offline. No schema-registry @@ -139,6 +152,12 @@ inheritance behavior or Narratio-specific merge policy is required. The current preliminary-load/final-load arrangement is an implementation starting point, not a required sequence of internal operations. +File ordering, collection selection, and documented precedence are the +operator-facing requirements. The particular ConfigKit calls used to achieve +them are implementation choices. Reuse the two-load arrangement if it remains +straightforward, or restructure it where that reduces complexity; forcing all +inputs into one load is not an objective. + Application configuration version 3 and its `glossary_collections` namespace remain the public starting point. Refactor the internal representation freely to avoid duplicate glossary models or awkward adapters. Use shared acquisition @@ -173,6 +192,19 @@ within ConfigKit's supported input range. In particular: diagnostics, rather than implementing the upstream harness's broader YAML profile locally. Schema validity alone does not override native limitations. +Reuse the existing validation owners. ConfigKit's registered sequence identities +provide exact string-ID uniqueness, including final-result checks; JSON Schema +validation owns shared structural requirements. Audita owns processing readiness +and any domain rule not already enforced by those mechanisms. Adapt native +registrations to the selected paths and rely on them where they enforce the +required semantics. Do not add a second handwritten glossary validator or repeat +native uniqueness checks merely to give each requirement a local implementation. + +Extension retention applies wherever Audita actually exposes or forwards a shared +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 @@ -181,8 +213,8 @@ precision-preserving number representation. 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. An upstream fix is pending; it is not a prerequisite for this -release. Future upstream changes can expand support without making today's +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. Keep schema validity separate from Audita task readiness. Empty collections and @@ -227,10 +259,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. - Adapt shared application acquisition, companion loading, runtime composition, and native sequence-identity selectors to the shared file envelope. Add - structural and semantic validation at completed-document boundaries within - ConfigKit's supported range, and derive consumer views after those checks. + schema validation at completed-document boundaries within ConfigKit's supported + range, 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 @@ -298,7 +332,9 @@ Evidence should establish that: Consolidate coverage where one behavioral test protects multiple cases. Tests should not freeze incidental loader call order, private Go types, diagnostic -wording, or formatting of preserved data. +wording, or formatting of preserved data. Verify Audita's registration and schema +integration at their boundaries without copying ConfigKit's parser or identity +test suites, and retain distinct task-readiness coverage. ## Compatibility and Scope