Use PromptKit prepared execution for structured model calls
This commit is contained in:
@@ -264,7 +264,15 @@ secret absence and overlay/CLI provenance, including inherited validation select
|
||||
|
||||
## Stage 5: Implement the Final PromptKit Structured-Call Adapter
|
||||
|
||||
**Status:** Pending. **Depends on:** Stages 3–4.
|
||||
**Status:** Complete (2026-09-24). Added role-bound prepared execution with
|
||||
target verification, validated-only decoding, typed safe failures, protected
|
||||
prepared/final-content snapshots, and logical-call and execution-event hooks.
|
||||
Removed the old direct HTTP client and role resolver; updated LLM integration
|
||||
documentation. `go test ./internal/framework/llm` and
|
||||
`go test ./internal/framework/structuredoutput` passed, including controlled
|
||||
HTTP repair/retry, target-drift, transport/protocol, and cancellation cases;
|
||||
`git diff --check` passed. Caller integration remains for Stages 6–8.
|
||||
**Depends on:** Stages 3–4.
|
||||
**Owns:** `internal/framework/llm`, the typed failure boundary in
|
||||
`internal/framework/structuredoutput`, and adapter tests.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user