Complete the document-root control migration review
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Document-Root Configuration Controls
|
||||
|
||||
Status: proposed implementation of the agreed `config` spelling and
|
||||
source-document-root-only reservation. Ordinary application-root `config` data
|
||||
created through placement or later lifecycle operations is permitted.
|
||||
Status: implemented. The `config` spelling and source-document-root-only
|
||||
reservation are in effect. Ordinary application-root `config` data created
|
||||
through placement or later lifecycle operations is permitted.
|
||||
|
||||
Planning baseline: `1e69abc88cf748537cd7febc85e0743755fa2fc1`.
|
||||
|
||||
@@ -13,22 +13,19 @@ to use nested `config` fields for their own settings. An application that select
|
||||
ConfigKit adopts one control syntax; it should not need a configurable keyword
|
||||
or a second configuration-processing pass.
|
||||
|
||||
This roadmap defines the target and the work needed to reach it. The
|
||||
[implementation plan](implementation.md) owns staged execution and progress.
|
||||
Neither document changes current behavior. The
|
||||
[configuration contract](../config.md) and public Go declarations remain
|
||||
authoritative until implementation lands.
|
||||
This roadmap records the target and rationale. The [implementation plan](implementation.md)
|
||||
records execution and validation. The [configuration contract](../config.md)
|
||||
and public Go declarations own current behavior.
|
||||
|
||||
## Current Baseline
|
||||
## Prior Baseline
|
||||
|
||||
ConfigKit uses a root `configkit` mapping for `imports` and `sequences` controls.
|
||||
The [directive implementation](../../internal/engine/directives.go) extracts
|
||||
those controls before source placement and composition. Nested occurrences of
|
||||
`configkit` are rejected, including within application mappings and sequences.
|
||||
Imports-disabled and selected-overlay paths have their own checks enforcing
|
||||
that reservation.
|
||||
At the planning baseline, ConfigKit used a root `configkit` mapping for `imports`
|
||||
and `sequences` controls, extracted before placement and composition. Nested
|
||||
occurrences of `configkit` were rejected, including within application mappings
|
||||
and sequences. Imports-disabled and selected-overlay paths enforced that
|
||||
reservation separately.
|
||||
|
||||
The reservation also reaches beyond parsing:
|
||||
The reservation also reached beyond parsing:
|
||||
|
||||
- [Destination validation](../../internal/engine/destination.go) rejects
|
||||
`configkit` in every segment. Its helpers also serve import destinations,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Implement Document-Root Configuration Controls
|
||||
|
||||
Status: ready for implementation by a Luna coding agent.
|
||||
Status: complete.
|
||||
|
||||
Implementation baseline: `b27fe0598a9540ad05eefe2868a5a243eb28111e`.
|
||||
The [feature roadmap](config-directives.md) owns the target and its rationale;
|
||||
@@ -323,6 +323,8 @@ document.
|
||||
|
||||
## Stage 10 — Complete the integration and scope review
|
||||
|
||||
**Status:** Complete. Reviewed the implementation and retained old spellings in context; `./scripts/check.sh` passed with Go 1.26.8 on Linux, including formatting, whitespace, tests, vet, and build.
|
||||
|
||||
1. Search current production code, tests, examples, and docs for old root
|
||||
controls, recursive name bans, and stale declaration paths. Review each
|
||||
remaining old spelling in context; retained package names, tags, error
|
||||
|
||||
Reference in New Issue
Block a user