Reject missing prepared requests

This commit is contained in:
2026-11-07 15:41:18 +00:00
parent 1fc6409f95
commit 552b91c0a2
4 changed files with 56 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Consolidated audit catalog
Status: **24 distinct open findings: two P2 and 22 P3**, consolidated from 30
Status: **23 distinct open findings: one P2 and 22 P3**, consolidated from 30
numbered entries in seven audit documents. Reviewed audit state:
`db732e3a1de55c844f77870e1c6db683c2685d5d`.
@@ -104,6 +104,11 @@ Also noted in the [documentation cross-references](13-documentation.md#previousl
## F04 — P2: Prepared-request preview can succeed without a prepared result
**Complete.** The command rejects a missing prepared request after provider and
cancellation checks, preserving acquired evidence. Its public-command regression
failed against the original behavior; focused preparation tests pass with valid,
missing, provider-error and canceled acquisitions.
The ckprompt prepared-request handler accepts an empty `Acquired` value with a
nil error from `PrepareRequest`. It renders `null` and reports success despite
having no prepared request.