feat: add Guardian denial semantics

Co-authored-by: Codex noreply@openai.com
This commit is contained in:
viyatb-oai
2026-06-04 00:07:25 -07:00
co-authored by Codex noreply@openai.com
parent a2a9e767f7
commit 3bd85a2bd6
34 changed files with 450 additions and 15 deletions
@@ -6018,6 +6018,16 @@
"GuardianApprovalReview": {
"description": "[UNSTABLE] Temporary approval auto-review payload used by `item/autoApprovalReview/*` notifications. This shape is expected to change soon.",
"properties": {
"denialKind": {
"anyOf": [
{
"$ref": "#/definitions/GuardianDenialKind"
},
{
"type": "null"
}
]
},
"rationale": {
"type": [
"string",
@@ -6267,6 +6277,14 @@
],
"type": "string"
},
"GuardianDenialKind": {
"description": "[UNSTABLE] Whether a denied action can be explicitly approved for one retry.",
"enum": [
"soft",
"denial"
],
"type": "string"
},
"GuardianRiskLevel": {
"description": "[UNSTABLE] Risk level assigned by approval auto-review.",
"enum": [