diff --git a/docs/roadmap/library-upgrades.md b/docs/roadmap/library-upgrades.md index 5e32e9e..61730ee 100644 --- a/docs/roadmap/library-upgrades.md +++ b/docs/roadmap/library-upgrades.md @@ -275,6 +275,15 @@ with their existing operation deadlines and partial-success behavior. Failed structural validation continues through the existing model-operation failure handling. Update ordinary and coordinated requests together. +**Decoder clarification:** Successful PromptKit validation no longer guarantees +that a response is valid JSON compatible with Audita's decode target, because +the selected prompt owns the validation contract. Treat response JSON syntax +and type errors as recoverable invalid-output failures for the affected +operation. Retain fatal classification for application programming errors, such +as an invalid decode target. Apply this distinction to ordinary and coordinated +responses, preserving existing cancellation and partial-success handling. +Do not add a second schema-enforcement layer or an additional retry loop. + Link to the upstream schema reference for external prompt definitions and file resolution. Audita's documentation should identify its shipped schema selection and domain requirements. Do not add another schema resolver or introduce @@ -451,7 +460,8 @@ source selection and mounting with relative resources; shared configuration handoff; secrets bootstrap with prepared-source reuse and startup failure reporting; prompt-defined contracts for proposal, validation, and repair, including operator replacements, shared schemas, and native default/explicit -zero/nonzero structural budgets; retained domain checks; inspection +zero/nonzero structural budgets; recoverable response JSON syntax/type errors +and fatal invalid decode targets; retained domain checks; inspection scopes and comparison acquisitions; context propagation and failure classification; and domain attribution across proposal, validation, and repair. Check transcript/diagnostic stream separation, quiet/help behavior, and