Complete PromptKit migration verification

This commit is contained in:
2026-10-04 14:17:30 +00:00
parent 4aba4f5672
commit 6700ed2188
2 changed files with 12 additions and 1 deletions

View File

@@ -761,6 +761,17 @@ Build beneath a `mktemp -d` directory and use that executable for smoke tests;
keep temporary products outside the repository. These are migration checks,
not additions to release policy or production-key requirements.
> Completion: complete. The completeness review found and converted one stale
> invalid-operator-profile test fixture from removed top-level PromptKit syntax
> to a keyed profile, preserving its effective-overlay rejection contract.
> No obsolete source API or fingerprint helper remains in implementation, and
> the review retained historical migration/provenance text. `GOWORK=off go test
> ./...`, `GOWORK=off go vet ./...`, `GOWORK=off go mod tidy -diff`, selected
> module-version inspection, and `git diff --check` pass. A native temporary
> build passed credential-free smoke checks for help, PromptKit effective,
> explanation, and profile reports, plus minimal and inherited development
> pipeline validation. No inference was run.
Prompt size: final evidence review/small cleanup, no new feature.
## Open Questions

View File

@@ -286,7 +286,7 @@ func TestProductionAssetsResolveDNDExtractionProfile(t *testing.T) {
t.Run("invalid operator profile does not fall through", func(t *testing.T) {
profilePath := filepath.Join(t.TempDir(), "profiles.yaml")
if err := os.WriteFile(profilePath, []byte("id: dnd-extraction\nendpoint: http://operator.example.test/v1\nmodel: operator-model\nunknown: value\n"), 0o600); err != nil {
if err := os.WriteFile(profilePath, []byte("profiles:\n dnd-extraction:\n endpoint: http://operator.example.test/v1\n model: operator-model\n unknown: value\n"), 0o600); err != nil {
t.Fatal(err)
}
engine, err := newEngine(profilePath)