Fix campaign prompt identity resolution
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# ConfigKit and PromptKit adoption review
|
||||
|
||||
Reviewed revision: `e70a0ef301a3d34f64a6cba86dd68b728436534d`.
|
||||
Status: one open finding. Reviewed 2026-11-21.
|
||||
Status: all findings addressed. Reviewed and remediated 2026-11-21.
|
||||
|
||||
## Scope and results
|
||||
|
||||
@@ -15,7 +15,7 @@ the implementation, changed tests, and documentation.
|
||||
| 2 — Native path enumeration | Optional `View.Paths` and the metadata fallback preserve the distinction between an unavailable reader and an empty native list. Existing metadata-backed filters remain in use. |
|
||||
| 3 — Subtree adapter | The typed loader/path API shares acquisition and diagnostics, delegates focused inspection and comparison, and retains whole-load evidence and native ancestor differences. |
|
||||
| 4 — PromptKit migration | Native inspection supplies the new path capability; fixtures use the new destinations. Native schema, repair-budget, hash, requirements, and supported error evidence pass through the existing adapters. |
|
||||
| 5 — Shared-load example | Shared loading and storage scope wiring are present, but campaign prompt-ID derivation has the correctness defect in R1. |
|
||||
| 5 — Shared-load example | Shared loading and storage scope wiring are present. The campaign prompt-ID defect identified in R1 has been corrected. |
|
||||
| 6 — Documentation | Current guidance and candidate notes describe the new APIs and migration, distinguishing candidates from published dependencies. |
|
||||
| 7 — Validation and coordination | Workspace and isolated-local-dependency checks pass. The ckprompt released-dependency limitation and coordinated releases are explicitly pending as planned. |
|
||||
|
||||
@@ -25,7 +25,14 @@ limitation follows the upstream error contract and is not an integration defect.
|
||||
|
||||
## R1 — Campaign prompt-ID changes fail configuration resolution
|
||||
|
||||
Priority: P2. Status: open.
|
||||
Priority: P2. Status: completed 2026-11-21.
|
||||
|
||||
Completion: the resolver now records prompt-ID normalization at the collection
|
||||
path, retaining the existing reason and campaign dependencies. Added
|
||||
`TestComposedCampaignPromptID` for a main configuration selecting `custom`;
|
||||
it verifies successful loading, matching application/engine inspection values,
|
||||
and the selected ID in the CLI catalog. The test failed before the fix and
|
||||
passed afterward. The original override reproduction also now succeeds.
|
||||
|
||||
Relevant code: the application resolve callback in
|
||||
[`loadApplicationConfig`](../../integrations/ckprompt/examples/composed/main.go),
|
||||
@@ -83,5 +90,11 @@ That result does not establish an independent build against the still-selected
|
||||
published ckconfig v0.9.0, as already recorded in
|
||||
[release coordination](future.md#pending-integration-release-coordination).
|
||||
|
||||
The R1 reproduction fails despite those passing suites. No production code or
|
||||
tests were modified during this review.
|
||||
At review time the R1 reproduction failed despite those passing suites; the
|
||||
review itself changed no production code or tests.
|
||||
|
||||
After remediation, `GOTOOLCHAIN=local go test ./integrations/ckprompt/...
|
||||
-count=1` passed with Go 1.27.4, including the composed example and regression.
|
||||
The isolated ckprompt suite with a temporary local ckconfig replacement also
|
||||
passed. The original override command now reports a valid app scope and exits
|
||||
successfully. The published-dependency release coordination remains unchanged.
|
||||
|
||||
Reference in New Issue
Block a user