Protect captured PromptKit checkpoint identity

This commit is contained in:
2026-10-04 13:08:56 +00:00
parent deaa3560bc
commit 7ea9fe12b9
4 changed files with 177 additions and 15 deletions

View File

@@ -435,6 +435,17 @@ Prompt size: one private snapshot/digest mechanism; broader reuse tests follow.
## Stage 8 — Protect Captured Identity And Resume Behavior
> Completion: complete. Added edit-after-construction coverage for an imported
> inherited profile and its source-relative prompt message: the existing client
> retains its digest and execution behavior, while a new client captures both
> edits. Fingerprint tests cover model, endpoint, credential policy, redacted
> provider parameters, prompt content, null-versus-zero presence, and local
> scheduling exclusions without exposing their values. The recorded-checkpoint
> test confirms same-snapshot reuse and stale execution misses under the new
> `promptkit_configuration` identity; existing override and chunk-plan checks
> remain passing. `GOWORK=off go test ./internal/framework/llm ./internal/cli
> ./internal/modules/integration` and `git diff --check` pass.
Goal: prove identity correctness across edits and checkpoint reuse.
Inspect adapter identity tests, CLI fingerprint handoff, and existing recorded-