Add configuration scope suite registration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Initial CommandKit implementation plan
|
||||
|
||||
Status: implementation underway; Stages 1-6 complete and Stages 7-14 pending.
|
||||
Status: implementation underway; Stages 1-7 complete and Stages 8-14 pending.
|
||||
|
||||
Date: 2026-10-07.
|
||||
|
||||
@@ -448,7 +448,7 @@ implemented boundary.
|
||||
|
||||
## Stage 7: implement configuration suites, scopes, and selector preflight
|
||||
|
||||
**Status:** pending. **Prerequisite:** Stage 6.
|
||||
**Status:** complete. **Prerequisite:** Stage 6.
|
||||
|
||||
Add the following root contracts in `config.go`/`selectors.go`:
|
||||
|
||||
@@ -539,6 +539,16 @@ unsupported all before callbacks, explicit/omitted selector applicability,
|
||||
typed empty/false/zero context selectors, and factories uninvoked on help/usage.
|
||||
Use a small custom scope fixture; owning library helpers arrive next.
|
||||
|
||||
**Completion evidence:** added typed configuration suite, scope, selector, view,
|
||||
and request contracts; validates scope IDs, capability metadata, selector
|
||||
bindings, and family collisions. `config scopes` reports installed capability
|
||||
intersections in stable text/YAML inventories without creating a runtime context
|
||||
or acquiring configuration. Added selector preflight and per-scope context
|
||||
projection for later operation handlers, including explicit empty/false/zero
|
||||
values and clearing inapplicable bound fields. `go test ./...` passes; the CLI
|
||||
reference describes scope discovery. Configuration operation handlers remain
|
||||
sequenced in Stages 8-11.
|
||||
|
||||
## Stage 8: integrate ConfigKit and implement validation
|
||||
|
||||
**Status:** pending. **Prerequisite:** Stage 7.
|
||||
|
||||
Reference in New Issue
Block a user