mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
## What changed - Add the experimental `autoApprovalReview/strictReviewRequired` app-server notification with the review's `threadId`, `turnId`, and `startedAtMs`. - Emit it when Guardian v2 leaves an approval review in progress because the action risk is elevated or its score is stale. - Export the notification through the Rust, TypeScript, and JSON schema surfaces and route it to the associated thread. ## Testing - Cover strict-review reason tracking for elevated and stale risk scores. - Verify that high-risk approval routing emits one notification whose identifiers and timestamp match the review-started event. GitOrigin-RevId: e65352894520bfb756c75b2c95e2e149f9767bb2
23 lines
470 B
JSON
Generated
23 lines
470 B
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"startedAtMs": {
|
|
"description": "Unix timestamp (in milliseconds) when this review started.",
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"threadId": {
|
|
"type": "string"
|
|
},
|
|
"turnId": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"startedAtMs",
|
|
"threadId",
|
|
"turnId"
|
|
],
|
|
"title": "StrictReviewRequiredNotification",
|
|
"type": "object"
|
|
} |