Move embedded prompts to PromptKit definitions

This commit is contained in:
2026-09-24 01:44:23 +00:00
parent 51e370b4c8
commit f8c18247a0
37 changed files with 572 additions and 595 deletions

View File

@@ -188,7 +188,15 @@ prevent compilation.
## Stage 3: Migrate Embedded Prompt Assets and Call Contracts
**Status:** Pending. **Depends on:** Stage 1; execute after Stage 2.
**Status:** Complete (2026-09-24). All nine embedded prompts are PromptKit
definitions with the shared hardening variable, existing `v1` IDs, and canonical
JSON Schema associations. Replaced the template renderer and its hash metadata;
the structured-call request now carries prompt, schema, variables, and attribution
through one framework contract. `go test ./internal/prompts
./internal/framework/responseschema ./internal/framework/structuredoutput` and
`git diff --check` passed. `go test ./...` still fails at old module, validator,
runtime, and diagnostic callers awaiting their assigned migrations.
**Depends on:** Stage 1; execute after Stage 2.
**Owns:** `internal/prompts`, `internal/framework/responseschema`,
`internal/framework/contracts`, validator contract aliases, and prompt tests.