Clarify prompt boundaries and enforce repair decisions
This commit is contained in:
@@ -95,6 +95,18 @@ and findings. Unsupported, unnecessary, or unresolved uncertain corrections may
|
||||
be withdrawn, preserving the original text. Otherwise acceptable minor editorial
|
||||
cleanup remains permissible during repair.
|
||||
|
||||
Repair responses keep `proposal_ref` at the root and nest `action` and
|
||||
`correction` inside `decision`. The schema requires a correction object for
|
||||
`revise` and `null` for `withdraw`, using a nested union compatible with strict
|
||||
structured outputs. Mismatched combinations enter PromptKit's configured
|
||||
structural-repair path before domain decoding. Audita retains its domain check
|
||||
and verifies the proposal reference. Operator replacement prompts must return
|
||||
this nested response format; repair request inputs retain their existing shape.
|
||||
|
||||
Glossary repair distinguishes the supplied protected spellings from eligible
|
||||
glossary correction targets; suspected mishearing does not override that protected
|
||||
list.
|
||||
|
||||
Examples contrast meaningful apparent filler with removable hesitation and show
|
||||
both revision and withdrawal. Treat their words as contextual illustrations,
|
||||
not unconditional triggers for deletion or replacement.
|
||||
|
||||
Reference in New Issue
Block a user