Allow disjoint glossary overrides alongside shared files
This commit is contained in:
@@ -26,9 +26,12 @@ 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
|
||||
then projects collection entries through native CLI assignments to
|
||||
`glossary_collections`. When other CLI overrides target that namespace, file
|
||||
assignments are scoped to their supplied entry lists so disjoint overrides can
|
||||
coexist. An empty collection map adds no assignment. Native override budgets and
|
||||
genuine overlap checks still apply. 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).
|
||||
|
||||
@@ -45,9 +45,12 @@ without running processing readiness checks.
|
||||
Explicit shared glossary files use a preliminary ConfigKit load with ordered
|
||||
layers, native imports, and entry identities. The shared-glossary adapter
|
||||
validates the completed envelope against the bundled offline schema before
|
||||
projecting entries into the application load. Processing retains acquired source
|
||||
paths for output collision checks; inspection receives the final native result
|
||||
and CLI origin. Both sides of comparison use the same invocation file list.
|
||||
projecting entries into the application load. Entry assignments share the
|
||||
glossary namespace with disjoint caller overrides; ordinary loads retain a
|
||||
single batch contribution to avoid consuming a native override record per
|
||||
collection, and empty maps contribute no override. Processing retains acquired
|
||||
source paths for output collision checks; inspection receives the final native
|
||||
result and CLI origin. Both sides of comparison use the same invocation file list.
|
||||
Automatic prompt companions remain; glossary companions are not discovered.
|
||||
|
||||
## Validating Examples
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Shared Glossary Remediation
|
||||
|
||||
**Status:** Open.
|
||||
**Status:** Complete.
|
||||
|
||||
Review covers all seven stages of [the implementation plan](implementation.md),
|
||||
including the pinned assets, native composition, application projection, retired
|
||||
@@ -91,7 +91,15 @@ on complete diagnostic wording or generated source IDs.
|
||||
|
||||
## R2: Shared-file assignment conflicts with disjoint native glossary overrides
|
||||
|
||||
**Priority:** P2. **Status:** Open. **Plan stages:** 3 and 5.
|
||||
**Priority:** P2. **Status:** Complete. **Plan stages:** 3 and 5.
|
||||
|
||||
**Completion:** File contributions use entry-level native assignments when caller
|
||||
overrides share the glossary namespace; empty collection maps add no assignment.
|
||||
Ordinary loads retain one batch assignment to avoid consuming an override record
|
||||
per collection. Regression coverage verifies disjoint populated/empty inputs,
|
||||
native CLI origins, genuine overlap rejection, and a large collection batch.
|
||||
Existing list-replacement tests, the full Go 1.27.4 offline suite, and the
|
||||
application build passed.
|
||||
|
||||
**Locations:** [application acquisition](../../internal/appconfig/config.go),
|
||||
lines 94 and 116–122; [native command wiring](../../internal/cli/app_wiring.go).
|
||||
|
||||
Reference in New Issue
Block a user