Complete PromptKit adoption validation
This commit is contained in:
@@ -21,15 +21,13 @@ an idea here does not select its syntax, API, priority, or delivery date.
|
|||||||
|
|
||||||
## Pending release and integration work
|
## Pending release and integration work
|
||||||
|
|
||||||
### ckprompt dependency migration and workspace alignment
|
### ckprompt release
|
||||||
|
|
||||||
The [PromptKit v0.18.0 adoption roadmap](promptkit-v0.18.0.md) owns the proposed
|
The [PromptKit v0.18.0 adoption roadmap](promptkit-v0.18.0.md) records the
|
||||||
dependency set, API/report and fixture migration, workspace alignment, scope
|
completed migration and its unpublished ckprompt v0.3.0 candidate. Publication
|
||||||
decisions, and completion evidence. The current ckprompt v0.2.0 still
|
and hosted delivery remain separate operations under the [release procedure](../release.md).
|
||||||
uses published ckconfig v0.2.0 and old-path ConfigKit v0.8.0; it does not compose
|
The published ckprompt v0.2.0 retains its earlier dependencies; see the
|
||||||
with local ckconfig v0.3.0. See the
|
[consumer guide](../consumers/guide.md#module-selection) for module selection.
|
||||||
[consumer guide](../consumers/guide.md#module-selection) and
|
|
||||||
[development guide](../development.md) for current module and workspace use.
|
|
||||||
|
|
||||||
### Later PromptKit release review
|
### Later PromptKit release review
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# PromptKit v0.18.0 implementation plan
|
# PromptKit v0.18.0 implementation plan
|
||||||
|
|
||||||
Status: Stages 1–6 complete; Stage 7 remains.
|
Status: all stages complete; publication and hosted delivery are not performed.
|
||||||
|
|
||||||
## Authority and execution
|
## Authority and execution
|
||||||
|
|
||||||
@@ -249,6 +249,30 @@ Deferred proposals remain future work and are not presented as implemented.
|
|||||||
|
|
||||||
## Stage 7: Validate the final modules and workspace, then close the sprint
|
## Stage 7: Validate the final modules and workspace, then close the sprint
|
||||||
|
|
||||||
|
**Complete.** Validation used Go 1.27.0 against source revision `e28ba63`
|
||||||
|
with the final import-formatting and roadmap-closure changes in the completion
|
||||||
|
commit. Dependency preparation (`go mod tidy`, `go mod download`, and
|
||||||
|
`go list -m all`) used `GOWORK=off GOTOOLCHAIN=local`; the selected graph has
|
||||||
|
the intended vanity modules and no local replacements or old-path PromptKit or
|
||||||
|
ConfigKit imports. The root, ckconfig, and ckprompt modules each passed
|
||||||
|
`GOWORK=off GOTOOLCHAIN=local go test -mod=readonly ./...` independently.
|
||||||
|
|
||||||
|
The preserved ignored workspace was set to Go 1.27.0, keeping its three existing
|
||||||
|
`use` entries. From the root, `GOTOOLCHAIN=local go test ./...`,
|
||||||
|
`go test ./integrations/ckconfig/...`, and `go test ./integrations/ckprompt/...`
|
||||||
|
all passed with workspace discovery. Changed Go files were formatted. Local
|
||||||
|
Markdown destinations and fragments, source/notice pins, the complete sprint
|
||||||
|
diff, and whitespace checks were reviewed. Deferred capabilities remain in
|
||||||
|
[future work](future.md#promptkit-inspection-and-selection-extensions).
|
||||||
|
|
||||||
|
All six standalone composed-consumer commands listed below returned status 0.
|
||||||
|
The inspected source report included the application and bundled evidence;
|
||||||
|
the selected spring profile and prompt, hash, and request validation appeared
|
||||||
|
in their reports. Aggregate smoke selected the local backend, reported unavailable
|
||||||
|
HTTP diagnostics, used the injected inference client, and recorded
|
||||||
|
`valid_json: false` for structured output; its native facts did not alter the
|
||||||
|
successful aggregate outcome. No publication or hosted delivery was performed.
|
||||||
|
|
||||||
1. Finish tidying/downloading ckprompt dependencies with workspace discovery
|
1. Finish tidying/downloading ckprompt dependencies with workspace discovery
|
||||||
off if deferred from Stage 1. Format changed Go files with `gofmt`. Inspect
|
off if deferred from Stage 1. Format changed Go files with `gofmt`. Inspect
|
||||||
final imports, manifests, and graph for old-path PromptKit/ConfigKit packages,
|
final imports, manifests, and graph for old-path PromptKit/ConfigKit packages,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# PromptKit v0.18.0 adoption
|
# PromptKit v0.18.0 adoption
|
||||||
|
|
||||||
Status: adoption scope recorded; implementation has not begun. Released
|
Status: implementation and validation complete; the ckprompt v0.3.0 candidate
|
||||||
PromptKit v0.18.0 is the sole development target, as directed by the user.
|
remains unpublished. Released PromptKit v0.18.0 was the sole development target.
|
||||||
[Scope decisions](#scope-decisions) record that dependency choice and the
|
[Scope decisions](#scope-decisions) record that dependency choice and the
|
||||||
selected example policy and capability scope. The
|
selected example policy and capability scope. The
|
||||||
[implementation plan](implementation.md) owns staged work, validation commands,
|
[implementation plan](implementation.md) owns staged work, validation commands,
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestBundledNativeFailuresReachTerminalExplanation(t *testing.T) {
|
func TestBundledNativeFailuresReachTerminalExplanation(t *testing.T) {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
)
|
)
|
||||||
|
|
||||||
type cancelDuringYAML struct{ cancel context.CancelFunc }
|
type cancelDuringYAML struct{ cancel context.CancelFunc }
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SmokeRequest pairs the configuration selection with the seed request for one
|
// SmokeRequest pairs the configuration selection with the seed request for one
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
"go.yaml.in/yaml/v4"
|
"go.yaml.in/yaml/v4"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
)
|
)
|
||||||
|
|
||||||
type smokeCommandInput[I any] struct {
|
type smokeCommandInput[I any] struct {
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
"go.yaml.in/yaml/v4"
|
"go.yaml.in/yaml/v4"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestSmokeTestCommandRetainsSingletonValuesAndResetsInvocations(t *testing.T) {
|
func TestSmokeTestCommandRetainsSingletonValuesAndResetsInvocations(t *testing.T) {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
"go.yaml.in/yaml/v4"
|
"go.yaml.in/yaml/v4"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package ckprompt
|
package ckprompt
|
||||||
|
|
||||||
import (
|
import (
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ValidationRequest carries the configuration selection and seed PromptKit
|
// ValidationRequest carries the configuration selection and seed PromptKit
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
)
|
)
|
||||||
|
|
||||||
type validationCommandInput[I any] struct {
|
type validationCommandInput[I any] struct {
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
configkit "go.maximumdirect.net/configkit"
|
|
||||||
promptkit "go.maximumdirect.net/promptkit"
|
|
||||||
"go.maximumdirect.net/ckconfig"
|
"go.maximumdirect.net/ckconfig"
|
||||||
commandkit "go.maximumdirect.net/commandkit"
|
commandkit "go.maximumdirect.net/commandkit"
|
||||||
|
configkit "go.maximumdirect.net/configkit"
|
||||||
|
promptkit "go.maximumdirect.net/promptkit"
|
||||||
"go.yaml.in/yaml/v4"
|
"go.yaml.in/yaml/v4"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user