Demonstrate config diff in simple consumer

This commit is contained in:
2026-10-11 21:52:47 +00:00
parent 18ee987a88
commit 3cbb1f35b0
6 changed files with 109 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
# Implement ConfigKit adoption and configuration comparison
Status: implementation in progress; Stages 1–8 are complete.
Status: implementation in progress; Stages 1–9 are complete.
## Scope and authority
@@ -445,9 +445,15 @@ without custom comparison wiring.
go run . config diff --config fixtures/before.yml --against-config fixtures/after.yml
```
**Completion evidence:** the complete consumer compiles in ckconfig's suite;
fixture comparison and unchanged default commands run without external services.
Composed state/cache and PromptKit changes belong only to Stage 10.
**Completion evidence — complete:** the simple consumer now uses ConfigKit file
sources when `--config` is supplied, preserves the in-memory default when it is
omitted, and forwards supplied overlays through ConfigKit options. The required
before/after fixtures and README invocation are present. Its assembled-app test
checks `changes.greeting: Goodbye`, equal fixture selections with empty
categories, default `config show`, default `greet`, and explicit empty config
selection failing instead of falling back. The documented diff, show, and greet
commands also run locally without external services; the ckconfig suite passes.
Composed state/cache and PromptKit changes remain for the following stage.
## Stage 10: Demonstrate composed selection and typed-input cache identity