Verify PromptKit content origins and capture lifetime

This commit is contained in:
2026-10-04 13:15:40 +00:00
parent 7ea9fe12b9
commit a904e4d841
2 changed files with 201 additions and 0 deletions

View File

@@ -475,6 +475,15 @@ Prompt size: snapshot/resume regressions, no checkpoint redesign.
## Stage 9 — Verify Source-Relative Content And Capture Lifetime
> Completion: complete. Added integration coverage showing imported content
> resolves from its declaring directory, replacement content resolves from its
> replacement source while retaining the embedded prompt's other fields, and
> constructed engines keep captured messages across file edits while rebuilt
> engines observe changes. Static template and missing-file errors remain
> construction failures; missing request variables remain preparation errors.
> `GOWORK=off go test ./internal/framework/llm ./internal/modules/...` and
> `git diff --check` pass.
Goal: protect resource contexts and static template/content capture.
Inspect manifests, source construction, and existing prepared/prompt asset