Files
codex/codex-rs/app-server-protocol/schema/json/v2/CommandExecutionGuardianApprovalReviewStartedNotification.json
Charles Cunningham adcbd4549e Remove guardian review change-soon wording
Strip 'This shape is expected to change soon.' from the guardian approval review protocol docs and regenerated schema fixtures, while keeping the affected APIs marked unstable or deprecated as appropriate.

Co-authored-by: Codex <noreply@openai.com>
2026-03-20 17:46:29 -07:00

84 lines
1.9 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"GuardianApprovalReview": {
"description": "[UNSTABLE] Temporary guardian approval review payload used by guardian approval review notifications.",
"properties": {
"rationale": {
"type": [
"string",
"null"
]
},
"riskLevel": {
"anyOf": [
{
"$ref": "#/definitions/GuardianRiskLevel"
},
{
"type": "null"
}
]
},
"riskScore": {
"format": "uint8",
"minimum": 0.0,
"type": [
"integer",
"null"
]
},
"status": {
"$ref": "#/definitions/GuardianApprovalReviewStatus"
}
},
"required": [
"status"
],
"type": "object"
},
"GuardianApprovalReviewStatus": {
"description": "[UNSTABLE] Lifecycle state for a guardian approval review.",
"enum": [
"inProgress",
"approved",
"denied",
"aborted"
],
"type": "string"
},
"GuardianRiskLevel": {
"description": "[UNSTABLE] Risk level assigned by guardian approval review.",
"enum": [
"low",
"medium",
"high"
],
"type": "string"
}
},
"description": "[UNSTABLE] Temporary notification payload for guardian approval review on a command execution item.",
"properties": {
"action": true,
"itemId": {
"type": "string"
},
"review": {
"$ref": "#/definitions/GuardianApprovalReview"
},
"threadId": {
"type": "string"
},
"turnId": {
"type": "string"
}
},
"required": [
"itemId",
"review",
"threadId",
"turnId"
],
"title": "CommandExecutionGuardianApprovalReviewStartedNotification",
"type": "object"
}