Use explicit files for glossary adoption
This commit is contained in:
@@ -11,10 +11,10 @@ files.
|
||||
|
||||
This roadmap responds to the [Narratio feature request](narratio-shared-glossary-feature-request.md).
|
||||
It defines the target and work areas; the [implementation plan](implementation.md)
|
||||
owns the ordered implementation steps and outstanding integration question.
|
||||
The user's subsequent direction governs
|
||||
owns the 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
|
||||
files, support one or multiple explicitly supplied files, retire automatic
|
||||
glossary companion discovery, and spend no effort preserving glossary-file
|
||||
instruction workflows. Adopt the released ConfigKit-aligned glossary contract
|
||||
through its defined native loading boundary.
|
||||
|
||||
@@ -124,6 +124,15 @@ removal or field renaming.
|
||||
Replace the standalone wrapperless file format directly; a legacy reader or
|
||||
conversion mode is not required.
|
||||
|
||||
Explicit `--glossary-file` arguments are the glossary-file loading interface.
|
||||
Retire automatic discovery of `glossary.yml` and recursive `glossary/` files
|
||||
beside the main configuration. File names and locations remain the caller's
|
||||
choice; those former companion paths can still be supplied explicitly. Operators,
|
||||
launch scripts, and Narratio list the intended files. No replacement automatic
|
||||
scan or application configuration file-list field is needed for this scope.
|
||||
Inline application `glossary_collections`, native configuration imports, automatic
|
||||
prompt companions, and main configuration discovery retain their existing roles.
|
||||
|
||||
ConfigKit continues to own imports, layering, inheritance, entry identities,
|
||||
presence, overrides, and source evidence. Authoring fragments can contribute to
|
||||
a completed document without independently satisfying the complete schema.
|
||||
@@ -135,9 +144,8 @@ Use ConfigKit's ordered layers for complete selected documents. Their repeated
|
||||
`schema_version` values must not be forced into a strict peer-import group,
|
||||
where ConfigKit would reject overlapping scalar definitions even when equal.
|
||||
Authoring fragments can still use native imports and their normal strict
|
||||
composition rules. Automatic glossary companions should also use the shared
|
||||
envelope; adapt their acquisition to complete-document layering rather than
|
||||
preserve the current import grouping mechanically.
|
||||
composition rules. Imports within an explicitly selected shared file remain
|
||||
supported; retiring automatic discovery does not disable those imports.
|
||||
|
||||
Preserve the runtime vocabulary's CLI priority over configured vocabulary,
|
||||
native entry-list replacement at the CLI assignment boundary, unrelated
|
||||
@@ -252,8 +260,8 @@ not part of adoption.
|
||||
when copying the upstream assets; the selected original material is CC0-1.0.
|
||||
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
|
||||
- Adapt runtime acquisition and native sequence-identity selectors to the shared
|
||||
file envelope, and remove automatic glossary companion loading. Add
|
||||
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.
|
||||
@@ -316,6 +324,10 @@ Evidence should establish that:
|
||||
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.
|
||||
8. Nearby `glossary.yml` and `glossary/` files are not automatically read or loaded.
|
||||
Explicitly supplied files and their imports still load and participate in
|
||||
output collision protection. Native main configuration discovery and automatic
|
||||
prompt companions continue to work.
|
||||
|
||||
Consolidate coverage where one behavioral test protects multiple cases. Tests
|
||||
should not freeze incidental loader call order, private Go types, diagnostic
|
||||
@@ -336,8 +348,12 @@ where needed; the shared file format does not by itself require replacing
|
||||
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 the selected contract's native loading boundary. No glossary-file instruction
|
||||
repeated runtime files, removal of automatic glossary discovery, and the selected
|
||||
contract's native loading boundary. Former companion users must name their files
|
||||
explicitly. These inputs have runtime CLI priority over main/overlay vocabulary,
|
||||
rather than the former automatic companions' underlay priority; supplied entry
|
||||
lists replace configured lists at that boundary. Document that precedence change
|
||||
alongside retained collection selection behavior. 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.
|
||||
|
||||
Reference in New Issue
Block a user