Verify the native library upgrade and record completion
This commit is contained in:
@@ -589,6 +589,28 @@ local links/anchors resolve, and library contracts are linked rather than copied
|
|||||||
|
|
||||||
## Stage 12 — Audit The Complete Cutover And Validate The Sprint
|
## Stage 12 — Audit The Complete Cutover And Validate The Sprint
|
||||||
|
|
||||||
|
**Status: Complete.** Audited the assembled shared-load cutover against this
|
||||||
|
plan and the library upgrade roadmap. Go 1.27.4 offline checks passed with
|
||||||
|
`GOWORK=off`, `GOTOOLCHAIN=local`, `GOPROXY=off`, `GOSUMDB=off`, and read-only
|
||||||
|
modules: `go test ./...`, `go test -race ./...`, `go vet ./...`, and
|
||||||
|
`go build ./cmd/scriptorium`. A subsequent focused normal/race check covers
|
||||||
|
rejected raw-key diagnostic redaction. Formatting and whitespace checks pass;
|
||||||
|
`go mod tidy` removed only obsolete checksums and its diff is clean.
|
||||||
|
|
||||||
|
Both maintained preview scripts, application/scope validation, structured
|
||||||
|
schema preparation, generated help, and bash/zsh/fish completion were exercised.
|
||||||
|
The local link audit checked 48 Markdown files with no broken local links or
|
||||||
|
anchors; selected upstream documentation and license paths were checked against
|
||||||
|
cached tagged modules. Runtime dependency inspection agrees with attribution;
|
||||||
|
no workspace, replacement, or vendored sources were introduced.
|
||||||
|
|
||||||
|
The five selected releases and full source commits are recorded in the
|
||||||
|
[upgrade roadmap](library-upgrades.md#reviewed-releases-and-sources). Production
|
||||||
|
uses one native secrets preparation and layered load per reached acquisition,
|
||||||
|
direct `NewFromConfig` handoff, native scopes and usage, with no reconciliation
|
||||||
|
state or second loader. HTTP/report code, accepted ADRs, and historical releases
|
||||||
|
remain unchanged. No release, tag, or push was performed.
|
||||||
|
|
||||||
1. Review all changes against the feature roadmap and this plan. Confirm:
|
1. Review all changes against the feature roadmap and this plan. Confirm:
|
||||||
|
|
||||||
- the five selected releases and their attributions agree;
|
- the five selected releases and their attributions agree;
|
||||||
|
|||||||
@@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
## Status And Recommendation
|
## Status And Recommendation
|
||||||
|
|
||||||
Proposed. Revised 2026-11-22 to incorporate the selected native-workflow
|
Implemented and verified; see the [implementation plan](implementation.md) for
|
||||||
|
the execution record. Revised 2026-11-22 to incorporate the selected native-workflow
|
||||||
direction, including ConfigKit's configured secrets bootstrap. The code review
|
direction, including ConfigKit's configured secrets bootstrap. The code review
|
||||||
baseline is Scriptorium commit `857c0bae201bb5f9b5ffdcb20c4f5a0bddb00114`.
|
baseline is Scriptorium commit `857c0bae201bb5f9b5ffdcb20c4f5a0bddb00114`.
|
||||||
This is an upgrade recommendation, not an implementation plan or a record of
|
This roadmap records the selected direction and rationale; current behavior
|
||||||
implemented behavior.
|
belongs to the linked application and upstream contracts.
|
||||||
|
|
||||||
Adopt the latest released versions together, using ConfigKit's completed result
|
Adopt the latest released versions together, using ConfigKit's completed result
|
||||||
as the handoff to PromptKit and CommandKit's native integrations for operator
|
as the handoff to PromptKit and CommandKit's native integrations for operator
|
||||||
|
|||||||
10
go.sum
10
go.sum
@@ -11,24 +11,14 @@ github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiT
|
|||||||
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag=
|
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.9.0 h1:s9Ikga4wt4K1NpLCX9bLhm5vbcm1Fgqy9yk2lmO4Sss=
|
|
||||||
go.maximumdirect.net/ckconfig v0.9.0/go.mod h1:yGjFVr2UzjJjiwDdMwsKehuQfvvtv7rTEOIk5NQOY00=
|
|
||||||
go.maximumdirect.net/ckconfig v0.11.0 h1:oTPW5R4vW5TNs97rqgABC/dir723rbGBz0FUyZ9QiNk=
|
go.maximumdirect.net/ckconfig v0.11.0 h1:oTPW5R4vW5TNs97rqgABC/dir723rbGBz0FUyZ9QiNk=
|
||||||
go.maximumdirect.net/ckconfig v0.11.0/go.mod h1:9phvXeLAgQSBKpJWqPyIQASKVJr0nRhiPMIQkfNhaRo=
|
go.maximumdirect.net/ckconfig v0.11.0/go.mod h1:9phvXeLAgQSBKpJWqPyIQASKVJr0nRhiPMIQkfNhaRo=
|
||||||
go.maximumdirect.net/ckprompt v0.10.0 h1:t2UyWSke+bWH9aTDrw5/bteD+TO0y5LD0NWw0y2KniQ=
|
|
||||||
go.maximumdirect.net/ckprompt v0.10.0/go.mod h1:vx8lZnelASctQtyxY2yV4PuTZfLpE9EqDa+LPj3+SHM=
|
|
||||||
go.maximumdirect.net/ckprompt v0.12.0 h1:TPx4c0ohnG51F5eXk9SLHvkSKGNnWBhzkJAC5LdZCrE=
|
go.maximumdirect.net/ckprompt v0.12.0 h1:TPx4c0ohnG51F5eXk9SLHvkSKGNnWBhzkJAC5LdZCrE=
|
||||||
go.maximumdirect.net/ckprompt v0.12.0/go.mod h1:6DsEfIbKsFFzdAAV2TZD2LiwMvEG//s7zFOVe2wDvN0=
|
go.maximumdirect.net/ckprompt v0.12.0/go.mod h1:6DsEfIbKsFFzdAAV2TZD2LiwMvEG//s7zFOVe2wDvN0=
|
||||||
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 h1:EBDjr7SvfgvVDsA2S95hkOhgZe7oGZdDvURDJxHyX48=
|
||||||
go.maximumdirect.net/commandkit v0.8.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns=
|
go.maximumdirect.net/commandkit v0.8.0/go.mod h1:sVp3JXKpm2YrP4Ie8Q3nWmQgwBdPN8uO+wQU72erDns=
|
||||||
go.maximumdirect.net/configkit v1.2.1 h1:f+/6WjNl6CULbMr6ZSVwi4aty9rmuDfJlvpeU7I+HZM=
|
|
||||||
go.maximumdirect.net/configkit v1.2.1/go.mod h1:ewu6blSokUDCMovy8JBXAdXRikGmlHXAQpFghnPWRfs=
|
|
||||||
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.23.3 h1:bKbrkluwfgXUsm0e/mxz/TpV9b60yUtJLVUROLsM3VU=
|
|
||||||
go.maximumdirect.net/promptkit v0.23.3/go.mod h1:vPFg76VXcffP0JBFMS2WADCHwV5FYvO2O4bvIoiDlwc=
|
|
||||||
go.maximumdirect.net/promptkit v0.25.0 h1:vJOfxauwASllOSDceR2oypJ4NEwIh2s6F8dDexEzdM8=
|
go.maximumdirect.net/promptkit v0.25.0 h1:vJOfxauwASllOSDceR2oypJ4NEwIh2s6F8dDexEzdM8=
|
||||||
go.maximumdirect.net/promptkit v0.25.0/go.mod h1:o2axdkV11KTPDgk81i2vrJ66dtcedXRhau/Ko3YSZ4A=
|
go.maximumdirect.net/promptkit v0.25.0/go.mod h1:o2axdkV11KTPDgk81i2vrJ66dtcedXRhau/Ko3YSZ4A=
|
||||||
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=
|
||||||
|
|||||||
@@ -203,3 +203,14 @@ func TestNativeLoadFailureEvidenceOnComparisonSides(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestRejectedRawKeysRemainRedacted(t *testing.T) {
|
||||||
|
t.Chdir(t.TempDir())
|
||||||
|
writeNativeFile(t, "raw.yml", "promptkit:\n backends:\n - id: test\n endpoint: http://localhost:1234/v1\n api_key: sensitive-canary\n")
|
||||||
|
for _, scope := range []string{"app", "promptkit"} {
|
||||||
|
outcome, output, diagnostic := executeNative(t, "config", "validate", "--scope="+scope, "--config=raw.yml", "--verbose", "--format=json")
|
||||||
|
if outcome.Status != 2 || !strings.Contains(diagnostic, "/api_key") || strings.Contains(output+diagnostic, "sensitive-canary") {
|
||||||
|
t.Fatalf("%s: %+v %q %q", scope, outcome, output, diagnostic)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user