Compare commits

...

2 Commits

10 changed files with 33 additions and 46 deletions

View File

@@ -14,13 +14,13 @@ applications.
| `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. |
ckconfig v0.10.0 and ckprompt v0.11.0 select ConfigKit v1.4.0.
ckconfig v0.11.0 and ckprompt v0.11.0 select ConfigKit v1.4.0.
ckprompt v0.11.0 selects PromptKit v0.24.0.
| Selection | Core | ckconfig | ckprompt | Upstream libraries and status |
| --- | --- | --- | --- | --- |
| Published core | v0.7.0 | — | — | Usable independently. |
| ConfigKit integration | v0.7.0 | v0.10.0 | — | ConfigKit v1.4.0. |
| Published core | v0.8.0 | — | — | Usable independently. |
| 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. |
| 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. |
@@ -31,12 +31,12 @@ cover migration of positional literals for affected native PromptKit structs.
Install the published core with:
```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`
or `go get go.maximumdirect.net/ckprompt@v0.11.0`. Both integrations select
core v0.7.0. ckprompt v0.11.0 selects ckconfig v0.10.0, including native subtree
Select either integration with `go get go.maximumdirect.net/ckconfig@v0.11.0`
or `go get go.maximumdirect.net/ckprompt@v0.11.0`. ckconfig v0.11.0 selects
core v0.8.0. ckprompt v0.11.0 selects core v0.7.0 and ckconfig v0.10.0, including native subtree
scopes and path readers. These releases build independently.
Published ckconfig v0.3.0 also uses ConfigKit v1.1.0 and does not compose with
ckprompt v0.2.0's earlier ConfigKit dependency.
@@ -46,9 +46,8 @@ loaders should use keyed struct literals when constructing them. ConfigKit's
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).
The current unreleased checkout selects PromptKit v0.25.0 and requires the local
core through the aligned workspace. Unreleased ckconfig also requires local core
for its help-only preflight signal; dependency releases remain follow-up work.
The current ckprompt checkout selects PromptKit v0.25.0, published core v0.8.0,
and published ckconfig v0.11.0; it builds independently with the workspace disabled.
Complete documents put
settings under `promptkit`; wrapperless fragments use `SettingsInput`, and
collection fragments use `CollectionInput`. Consult the [upstream migration

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
the ignored `go.work` and `go.work.sum`; do not commit them. Use
`GOWORK=off GOTOOLCHAIN=local` for dependency preparation
and independent module suites. Both integrations select released core v0.7.0;
ckprompt selects released ckconfig v0.10.0. Core builds independently against its published dependencies. Both unreleased
integrations now use newer local core APIs (including ckconfig's help-only
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
and independent module suites. Both integrations select released core v0.8.0;
ckprompt selects released ckconfig v0.11.0. All three modules build independently
against their published dependencies. Run independent suites with
`GOWORK=off GOTOOLCHAIN=local go test ./...` from the module directory.
The aligned workspace exercises local sources together. From the root,
all three modules can also run:

View File

@@ -5,21 +5,15 @@ 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.
[Core v0.8.0](../releases/v0.8.0.md) and
[ckconfig v0.11.0](../../integrations/ckconfig/docs/releases/v0.11.0.md) are published
with hosted release pages. Automatic usage reporting and R1–R4 remediation are
implemented.
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.
[ckprompt v0.12.0](../../integrations/ckprompt/docs/releases/v0.12.0.md) is prepared
with both published CommandKit dependencies. Publish it and deliver its hosted
page under the [release procedure](../release.md#scope-and-release-order).
Publication runs its independent suite against those released dependencies.
## Open proposal

View File

@@ -12,14 +12,11 @@ Invalid supplied values still produce usage errors.
## 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
signatures and scope contracts are unchanged. ckconfig itself adds no token-usage
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.
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
require (
go.maximumdirect.net/commandkit v0.7.0
go.maximumdirect.net/commandkit v0.8.0
go.maximumdirect.net/configkit v1.4.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=
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.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/go.mod h1:ewu6blSokUDCMovy8JBXAdXRikGmlHXAQpFghnPWRfs=
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
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
signatures remain unchanged. Resolve application flag or alias collisions with
`--show-tokens` before installing a nonempty family. Review positional upstream
struct literals and strict report decoders for added reasoning/cost fields, and
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
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
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
the integrations are released with aligned dependencies.
from the repository root. The example also builds independently with
`GOWORK=off` against this module's published dependencies.
The [consumer guide](../../../../docs/consumers/guide.md#module-selection) owns
version and compatibility details.

View File

@@ -3,8 +3,8 @@ module go.maximumdirect.net/ckprompt
go 1.27.0
require (
go.maximumdirect.net/ckconfig v0.10.0
go.maximumdirect.net/commandkit v0.7.0
go.maximumdirect.net/ckconfig v0.11.0
go.maximumdirect.net/commandkit v0.8.0
go.maximumdirect.net/configkit v1.4.0
go.maximumdirect.net/promptkit v0.25.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=
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.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/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/go.mod h1:ewu6blSokUDCMovy8JBXAdXRikGmlHXAQpFghnPWRfs=
go.maximumdirect.net/promptkit v0.24.0 h1:C6UFY8WgW10PIEuXQN2Z0qi0at5mD3/GQoPul6alYHo=