Compare commits

..

3 Commits
v0.8.0 ... main

10 changed files with 35 additions and 55 deletions

View File

@@ -14,14 +14,14 @@ applications.
| `go.maximumdirect.net/ckconfig` | You want operators to view, validate, explain, and compare ConfigKit configuration. | | `go.maximumdirect.net/ckconfig` | You want operators to view, validate, explain, and compare ConfigKit configuration. |
| `go.maximumdirect.net/ckprompt` | You want operators to inspect PromptKit resources, check and preview requests, or run smoke tests. | | `go.maximumdirect.net/ckprompt` | You want operators to inspect PromptKit resources, check and preview requests, or run smoke tests. |
ckconfig v0.10.0 and ckprompt v0.11.0 select ConfigKit v1.4.0. ckconfig v0.11.0 and ckprompt v0.12.0 select ConfigKit v1.4.0.
ckprompt v0.11.0 selects PromptKit v0.24.0. ckprompt v0.12.0 selects PromptKit v0.25.0.
| Selection | Core | ckconfig | ckprompt | Upstream libraries and status | | Selection | Core | ckconfig | ckprompt | Upstream libraries and status |
| --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- |
| Published core | v0.7.0 | — | — | Usable independently. | | Published core | v0.8.0 | — | — | Usable independently. |
| ConfigKit integration | v0.7.0 | v0.10.0 | — | ConfigKit v1.4.0. | | ConfigKit integration | v0.8.0 | v0.11.0 | — | ConfigKit v1.4.0. |
| PromptKit integration | v0.7.0 | v0.10.0 | v0.11.0 | ConfigKit v1.4.0 and PromptKit v0.24.0. | | PromptKit integration | v0.8.0 | v0.11.0 | v0.12.0 | ConfigKit v1.4.0 and PromptKit v0.25.0. |
| Earlier matched integration set | v0.3.0 | v0.2.0 | v0.2.0 | ConfigKit v0.8.0 and PromptKit v0.16.0, using their earlier import paths. | | Earlier matched integration set | v0.3.0 | v0.2.0 | v0.2.0 | ConfigKit v0.8.0 and PromptKit v0.16.0, using their earlier import paths. |
For applications moving from ckprompt v0.8.0, the For applications moving from ckprompt v0.8.0, the
@@ -31,12 +31,12 @@ cover migration of positional literals for affected native PromptKit structs.
Install the published core with: Install the published core with:
```sh ```sh
go get go.maximumdirect.net/commandkit@v0.7.0 go get go.maximumdirect.net/commandkit@v0.8.0
``` ```
Select either integration with `go get go.maximumdirect.net/ckconfig@v0.10.0` Select either integration with `go get go.maximumdirect.net/ckconfig@v0.11.0`
or `go get go.maximumdirect.net/ckprompt@v0.11.0`. Both integrations select or `go get go.maximumdirect.net/ckprompt@v0.12.0`. Both integrations select
core v0.7.0. ckprompt v0.11.0 selects ckconfig v0.10.0, including native subtree core v0.8.0. ckprompt v0.12.0 selects ckconfig v0.11.0, including native subtree
scopes and path readers. These releases build independently. scopes and path readers. These releases build independently.
Published ckconfig v0.3.0 also uses ConfigKit v1.1.0 and does not compose with Published ckconfig v0.3.0 also uses ConfigKit v1.1.0 and does not compose with
ckprompt v0.2.0's earlier ConfigKit dependency. ckprompt v0.2.0's earlier ConfigKit dependency.
@@ -46,11 +46,8 @@ loaders should use keyed struct literals when constructing them. ConfigKit's
release notes describe release notes describe
main-relative imports and overlay contexts. [ConfigKit v1.2.0 upgrade guidance](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.2.0/docs/releases/v1.2.0.md#upgrade-notes). main-relative imports and overlay contexts. [ConfigKit v1.2.0 upgrade guidance](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.2.0/docs/releases/v1.2.0.md#upgrade-notes).
The current unreleased checkout selects PromptKit v0.25.0 and requires the local In PromptKit v0.25.0, complete documents put settings under `promptkit`;
core through the aligned workspace. Unreleased ckconfig also requires local core wrapperless fragments use `SettingsInput`, and
for its help-only preflight signal; dependency releases remain follow-up work.
Complete documents put
settings under `promptkit`; wrapperless fragments use `SettingsInput`, and
collection fragments use `CollectionInput`. Consult the [upstream migration collection fragments use `CollectionInput`. Consult the [upstream migration
guide](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/configuration-migration.md) guide](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/consumers/configuration-migration.md)
and [format reference](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/formats.md) and [format reference](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/formats.md)

View File

@@ -118,14 +118,9 @@ go work init . ./integrations/ckconfig ./integrations/ckprompt
If a workspace already exists, ensure it includes these three modules. Preserve If a workspace already exists, ensure it includes these three modules. Preserve
the ignored `go.work` and `go.work.sum`; do not commit them. Use the ignored `go.work` and `go.work.sum`; do not commit them. Use
`GOWORK=off GOTOOLCHAIN=local` for dependency preparation `GOWORK=off GOTOOLCHAIN=local` for dependency preparation
and independent module suites. Both integrations select released core v0.7.0; and independent module suites. Both integrations select released core v0.8.0;
ckprompt selects released ckconfig v0.10.0. Core builds independently against its published dependencies. Both unreleased ckprompt selects released ckconfig v0.11.0. All three modules build independently
integrations now use newer local core APIs (including ckconfig's help-only against their published dependencies. Run independent suites with
preflight signal) and need the aligned workspace until downstream releases are
prepared. For an isolated source check, use a temporary modfile replacing core
with local sources; ckprompt also needs a local ckconfig replacement. Before
integration publication, repeat the independent suites against the newly
published dependency versions. Run independent suites with
`GOWORK=off GOTOOLCHAIN=local go test ./...` from the module directory. `GOWORK=off GOTOOLCHAIN=local go test ./...` from the module directory.
The aligned workspace exercises local sources together. From the root, The aligned workspace exercises local sources together. From the root,
all three modules can also run: all three modules can also run:

View File

@@ -1,26 +1,8 @@
# Future work # Future work
Status — pending release coordination, optional verification, and future capability proposals. Status — optional verification and future capability proposals.
No delivery dates are selected here. No delivery dates are selected here.
## Pending release coordination
Draft notes are prepared for [core v0.8.0](../releases/v0.8.0.md),
[ckconfig v0.11.0](../../integrations/ckconfig/docs/releases/v0.11.0.md), and
[ckprompt v0.12.0](../../integrations/ckprompt/docs/releases/v0.12.0.md).
These versions were unused locally and on origin when drafted. Finalize the
integration drafts while aligning their module requirements after dependency
publication; the notes do not identify already prepared integration candidates.
Automatic usage reporting and R1–R4 remediation are implemented. Publication is
separate follow-up work: release core, align and release ckconfig, then align and
release ckprompt with both published CommandKit dependencies under the
[release procedure](../release.md#scope-and-release-order). Integration module
requirements still select the earlier published versions. Update them during
release preparation and run independent integration suites against the new
published versions. Until then, unreleased integrations use the aligned workspace
or temporary local-source modfiles as described in the developer guide.
## Open proposal ## Open proposal
The [selected-format accessor proposal](scriptorium-feature-request.md) remains The [selected-format accessor proposal](scriptorium-feature-request.md) remains
@@ -35,6 +17,13 @@ records remain available in their
[retirement snapshot](https://forge.maximumdirect.net/base-layer/commandkit/src/commit/33f98db4f78f0b45ea89b0618203b1d947a89374/docs/roadmap). [retirement snapshot](https://forge.maximumdirect.net/base-layer/commandkit/src/commit/33f98db4f78f0b45ea89b0618203b1d947a89374/docs/roadmap).
This document preserves unfinished work and unselected ideas under the This document preserves unfinished work and unselected ideas under the
[release policy](../policy/release.md#release-documentation-and-preparation). [release policy](../policy/release.md#release-documentation-and-preparation).
Automatic usage reporting, R1–R4 remediation, and coordinated releases are
complete: [core v0.8.0](../releases/v0.8.0.md),
[ckconfig v0.11.0](../../integrations/ckconfig/docs/releases/v0.11.0.md), and
[ckprompt v0.12.0](../../integrations/ckprompt/docs/releases/v0.12.0.md) are published
with hosted release pages. Each module passed its independent default suite;
both integrations select the newly published CommandKit dependencies. There is
no remaining release coordination work for this update.
The completed shared debug binding and reporting-mode implementation is recorded The completed shared debug binding and reporting-mode implementation is recorded
in its [retirement snapshot](https://forge.maximumdirect.net/base-layer/commandkit/src/commit/56e3b013f9f83c9c9494f11602e802ce5ed8814e/docs/roadmap). in its [retirement snapshot](https://forge.maximumdirect.net/base-layer/commandkit/src/commit/56e3b013f9f83c9c9494f11602e802ce5ed8814e/docs/roadmap).
The completed [documentation refresh](https://forge.maximumdirect.net/base-layer/commandkit/src/commit/5c960532552037d38119941389e558f78bf73aad/docs/roadmap/documentation-refresh.md) remains available in Git history. The completed [documentation refresh](https://forge.maximumdirect.net/base-layer/commandkit/src/commit/5c960532552037d38119941389e558f78bf73aad/docs/roadmap/documentation-refresh.md) remains available in Git history.

View File

@@ -12,14 +12,11 @@ Invalid supplied values still produce usage errors.
## Compatibility and upgrade ## Compatibility and upgrade
The coordinated release targets CommandKit core v0.8.0; ConfigKit remains This release selects CommandKit core v0.8.0; ConfigKit remains
v1.4.0 and the Go consumer minimum remains 1.27.0. Existing ckconfig assembly v1.4.0 and the Go consumer minimum remains 1.27.0. Existing ckconfig assembly
signatures and scope contracts are unchanged. ckconfig itself adds no token-usage signatures and scope contracts are unchanged. ckconfig itself adds no token-usage
flag; that capability is installed by a nonempty ckprompt family. flag; that capability is installed by a nonempty ckprompt family.
Draft preparation: after core v0.8.0 is published, align this module's core
requirement and run its independent suite with the workspace disabled before
publication. The current checkout still selects the prior published core.
ckprompt v0.12.0 follows this release under the dependency-alignment policy. ckprompt v0.12.0 follows this release under the dependency-alignment policy.
See the [consumer guide](../../../../docs/consumers/guide.md#configkit-scopes). See the [consumer guide](../../../../docs/consumers/guide.md#configkit-scopes).

View File

@@ -3,7 +3,7 @@ module go.maximumdirect.net/ckconfig
go 1.27.0 go 1.27.0
require ( require (
go.maximumdirect.net/commandkit v0.7.0 go.maximumdirect.net/commandkit v0.8.0
go.maximumdirect.net/configkit v1.4.0 go.maximumdirect.net/configkit v1.4.0
go.yaml.in/yaml/v4 v4.0.0 go.yaml.in/yaml/v4 v4.0.0
) )

View File

@@ -9,6 +9,8 @@ github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag=
github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
go.maximumdirect.net/commandkit v0.7.0 h1:toLDGhHoVe6gBX5HWuzQ/Joz0cBqEhJXolW21m3axBk= go.maximumdirect.net/commandkit v0.7.0 h1:toLDGhHoVe6gBX5HWuzQ/Joz0cBqEhJXolW21m3axBk=
go.maximumdirect.net/commandkit v0.7.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns= go.maximumdirect.net/commandkit v0.7.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns=
go.maximumdirect.net/commandkit v0.8.0 h1:EBDjr7SvfgvVDsA2S95hkOhgZe7oGZdDvURDJxHyX48=
go.maximumdirect.net/commandkit v0.8.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns=
go.maximumdirect.net/configkit v1.4.0 h1:TfOupZbQ23/ZMs+xt5lmyukCF11ekqKep8KbmFQD63o= go.maximumdirect.net/configkit v1.4.0 h1:TfOupZbQ23/ZMs+xt5lmyukCF11ekqKep8KbmFQD63o=
go.maximumdirect.net/configkit v1.4.0/go.mod h1:ewu6blSokUDCMovy8JBXAdXRikGmlHXAQpFghnPWRfs= go.maximumdirect.net/configkit v1.4.0/go.mod h1:ewu6blSokUDCMovy8JBXAdXRikGmlHXAQpFghnPWRfs=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=

View File

@@ -43,17 +43,13 @@ and [backend format](https://forge.maximumdirect.net/base-layer/promptkit/src/ta
## Compatibility and upgrade ## Compatibility and upgrade
The coordinated release targets core v0.8.0 and ckconfig v0.11.0. ConfigKit remains This release selects core v0.8.0 and ckconfig v0.11.0. ConfigKit remains
v1.4.0 and the Go consumer minimum remains 1.27.0. Existing integration factory v1.4.0 and the Go consumer minimum remains 1.27.0. Existing integration factory
signatures remain unchanged. Resolve application flag or alias collisions with signatures remain unchanged. Resolve application flag or alias collisions with
`--show-tokens` before installing a nonempty family. Review positional upstream `--show-tokens` before installing a nonempty family. Review positional upstream
struct literals and strict report decoders for added reasoning/cost fields, and struct literals and strict report decoders for added reasoning/cost fields, and
scripts relying on the prior default smoke representation. scripts relying on the prior default smoke representation.
Draft preparation: publish core and ckconfig first, then align this module's two
CommandKit requirements and run its independent suite against those published
versions. The current checkout still selects the prior published requirements;
workspace and temporary local-source checks do not replace that release check.
The maintained [composed consumer](../../examples/composed) demonstrates automatic The maintained [composed consumer](../../examples/composed) demonstrates automatic
reporting for a two-prompt application pipeline. reporting for a two-prompt application pipeline.

View File

@@ -6,8 +6,8 @@ in-memory model client. **No model service or credentials are required.**
Use Go 1.27.0 on `PATH`. An aligned workspace containing all three local modules Use Go 1.27.0 on `PATH`. An aligned workspace containing all three local modules
exercises their current sources; follow the [workspace setup](../../../../docs/development.md#documentation-validation) exercises their current sources; follow the [workspace setup](../../../../docs/development.md#documentation-validation)
from the repository root. The current unreleased example requires the aligned workspace until core and from the repository root. The example also builds independently with
the integrations are released with aligned dependencies. `GOWORK=off` against this module's published dependencies.
The [consumer guide](../../../../docs/consumers/guide.md#module-selection) owns The [consumer guide](../../../../docs/consumers/guide.md#module-selection) owns
version and compatibility details. version and compatibility details.

View File

@@ -3,8 +3,8 @@ module go.maximumdirect.net/ckprompt
go 1.27.0 go 1.27.0
require ( require (
go.maximumdirect.net/ckconfig v0.10.0 go.maximumdirect.net/ckconfig v0.11.0
go.maximumdirect.net/commandkit v0.7.0 go.maximumdirect.net/commandkit v0.8.0
go.maximumdirect.net/configkit v1.4.0 go.maximumdirect.net/configkit v1.4.0
go.maximumdirect.net/promptkit v0.25.0 go.maximumdirect.net/promptkit v0.25.0
go.yaml.in/yaml/v4 v4.0.0 go.yaml.in/yaml/v4 v4.0.0

View File

@@ -13,8 +13,12 @@ github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag=
github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
go.maximumdirect.net/ckconfig v0.10.0 h1:BXxCaBw+N8i5DuYDOMb366PZLUg+PFU/GZsqgVgVZ+o= go.maximumdirect.net/ckconfig v0.10.0 h1:BXxCaBw+N8i5DuYDOMb366PZLUg+PFU/GZsqgVgVZ+o=
go.maximumdirect.net/ckconfig v0.10.0/go.mod h1:zZUNz/GncMcy2EMMxwRasoB3brnakV3GEPcnAsfZ+OQ= go.maximumdirect.net/ckconfig v0.10.0/go.mod h1:zZUNz/GncMcy2EMMxwRasoB3brnakV3GEPcnAsfZ+OQ=
go.maximumdirect.net/ckconfig v0.11.0 h1:oTPW5R4vW5TNs97rqgABC/dir723rbGBz0FUyZ9QiNk=
go.maximumdirect.net/ckconfig v0.11.0/go.mod h1:9phvXeLAgQSBKpJWqPyIQASKVJr0nRhiPMIQkfNhaRo=
go.maximumdirect.net/commandkit v0.7.0 h1:toLDGhHoVe6gBX5HWuzQ/Joz0cBqEhJXolW21m3axBk= go.maximumdirect.net/commandkit v0.7.0 h1:toLDGhHoVe6gBX5HWuzQ/Joz0cBqEhJXolW21m3axBk=
go.maximumdirect.net/commandkit v0.7.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns= go.maximumdirect.net/commandkit v0.7.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns=
go.maximumdirect.net/commandkit v0.8.0 h1:EBDjr7SvfgvVDsA2S95hkOhgZe7oGZdDvURDJxHyX48=
go.maximumdirect.net/commandkit v0.8.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns=
go.maximumdirect.net/configkit v1.4.0 h1:TfOupZbQ23/ZMs+xt5lmyukCF11ekqKep8KbmFQD63o= go.maximumdirect.net/configkit v1.4.0 h1:TfOupZbQ23/ZMs+xt5lmyukCF11ekqKep8KbmFQD63o=
go.maximumdirect.net/configkit v1.4.0/go.mod h1:ewu6blSokUDCMovy8JBXAdXRikGmlHXAQpFghnPWRfs= go.maximumdirect.net/configkit v1.4.0/go.mod h1:ewu6blSokUDCMovy8JBXAdXRikGmlHXAQpFghnPWRfs=
go.maximumdirect.net/promptkit v0.24.0 h1:C6UFY8WgW10PIEuXQN2Z0qi0at5mD3/GQoPul6alYHo= go.maximumdirect.net/promptkit v0.24.0 h1:C6UFY8WgW10PIEuXQN2Z0qi0at5mD3/GQoPul6alYHo=