Share application loading in composed example

This commit is contained in:
2026-11-21 19:46:21 +00:00
parent ca6cf086f2
commit 6a090ba571
5 changed files with 158 additions and 56 deletions

View File

@@ -249,7 +249,16 @@ The composed example is completed in Stage 5.
## Stage 5: Demonstrate shared loading and the subtree adapter
Status: pending.
Status: complete.
Evidence: The composed example loads application defaults, bundled and local
resources, campaign-derived settings, and storage in one ConfigKit result;
the engine consumes that result and the storage scope uses the subtree adapter.
Updated fixtures and tests exercise native paths, shared inspection and reuse,
storage show/explain/diff and overrides, whole-load failure evidence, and the
existing campaign, comparison, catalog, and lifecycle cases. With Go 1.27.4,
`GOTOOLCHAIN=local go test ./integrations/ckprompt/examples/composed` passed in
the aligned workspace.
Update the maintained [composed example](../../integrations/ckprompt/examples/composed/main.go),
its fixtures, and its existing tests. A separate consumer example is unnecessary.