Adopt PromptKit v0.15.0 in ckprompt

This commit is contained in:
2026-10-12 22:11:38 +00:00
parent 3218222e53
commit 1c542505b7
4 changed files with 17 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
# PromptKit request validation implementation plan
Status: ready for implementation; no implementation stages have been completed.
Status: Stage 1 complete; implementation is ongoing.
## Authority, scope, and baseline
@@ -11,8 +11,8 @@ user choices. The [architecture policy](../policy/architecture.md), accepted
[ADRs](../adr/), and existing public contracts remain authoritative.
The planning baseline is commit `1119bda6b720171c708f3e6d03c5c8690b65ea81`.
The implementation still requires PromptKit v0.14.0; the accepted roadmap adds
v0.15.0 adoption and `promptkit requirements validate PROMPT_ID`.
The implementation now selects released PromptKit v0.15.0; the accepted roadmap
adds `promptkit requirements validate PROMPT_ID`.
The deliverable is the complete accepted feature, including the independently
optional callback, suite-returning helper, nil-builder path, file bindings,
@@ -85,6 +85,14 @@ in Stage 9 if required. Prose and attribution checks follow
**Complete when:** ckprompt selects released PromptKit v0.15.0, its current
suite passes, notices identify that release, and module boundaries are unchanged.
**Completed:** 2026-10-12. Updated ckprompt to released PromptKit v0.15.0 and
refreshed its integration attribution at commit
`635674c066d0b432187f96e72b9c03d085443ac5`. `GOTOOLCHAIN=local go test
-count=1 ./...` passed from `integrations/ckprompt`; `go list -m` selected v0.15.0.
The released source contains `Engine.ValidateRequest`; PromptKit's LICENSE and
COPYRIGHT are unchanged from v0.14.0. The dependency graph, other versions, and
checked-in replacement metadata are unchanged.
## Stage 2: Add the public capability and bundled validation adapter
**Primary files:** `integrations/ckprompt/adapters.go`, a new owning-package

View File

@@ -2,16 +2,16 @@
## PromptKit
Selected module: `gitea.maximumdirect.net/eric/promptkit` at `v0.14.0`.
Selected module: `gitea.maximumdirect.net/eric/promptkit` at `v0.15.0`.
Copyright (C) 2026 Eric Rakestraw
SPDX-License-Identifier: LGPL-3.0-or-later
License and notices: [LGPL v3.0](../../LICENSE) |
[LICENSE](https://gitea.maximumdirect.net/eric/promptkit/src/commit/143c6e9b3a675872117b0471e2ff8bcb25055a54/LICENSE).
[LICENSE](https://gitea.maximumdirect.net/eric/promptkit/src/commit/635674c066d0b432187f96e72b9c03d085443ac5/LICENSE).
[Source](https://gitea.maximumdirect.net/eric/promptkit/src/commit/143c6e9b3a675872117b0471e2ff8bcb25055a54).
[Source](https://gitea.maximumdirect.net/eric/promptkit/src/commit/635674c066d0b432187f96e72b9c03d085443ac5).
## ConfigKit

View File

@@ -6,7 +6,7 @@ require (
gitea.maximumdirect.net/eric/CommandKit v0.2.0
gitea.maximumdirect.net/eric/CommandKit/integrations/ckconfig v0.1.0
gitea.maximumdirect.net/eric/ConfigKit v0.7.1
gitea.maximumdirect.net/eric/promptkit v0.14.0
gitea.maximumdirect.net/eric/promptkit v0.15.0
go.yaml.in/yaml/v4 v4.0.0-rc.6
)

View File

@@ -1,7 +1,7 @@
gitea.maximumdirect.net/eric/ConfigKit v0.7.1 h1:q3HrX4WWCPt1WfMydqFEaAmCf9s6Dq+vknJj0C/mdcI=
gitea.maximumdirect.net/eric/ConfigKit v0.7.1/go.mod h1:C82sbyKHYMV1OwaD2GJanFrwTfcZfjlW2JsGze5b0kA=
gitea.maximumdirect.net/eric/promptkit v0.14.0 h1:HUzlcrFk18dNGPBgnHqjAw87O0c9Wl/IC1xc/VmzL10=
gitea.maximumdirect.net/eric/promptkit v0.14.0/go.mod h1:2YGvNca3bNXZP+e+pJeGzsNUcxwkHvzvuoc+LNNiT3E=
gitea.maximumdirect.net/eric/promptkit v0.15.0 h1:PhG8F4SQNyxuHDZ++nLKjtObMfkz9f38/DuSVv45bHM=
gitea.maximumdirect.net/eric/promptkit v0.15.0/go.mod h1:2YGvNca3bNXZP+e+pJeGzsNUcxwkHvzvuoc+LNNiT3E=
gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v3 v3.20260930.0 h1:lzfCDbzJQRGzIlRPRprnAV9hVVL5zUQy80VMQ0kbYa0=
gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v3 v3.20260930.0/go.mod h1:HjS0f+3q0IdHCTEz+VVAEgIwIWJFAZUjuKdAtvtqKdg=
gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v3 v3.20260930.0 h1:h12ZTRldAmpLAomj0oQRGteFxHLN1LPE6XDl9zJNbm8=