mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
representing guardian review timeouts in protocol types (#17381)
## Summary - Add `TimedOut` to Guardian/review carrier types: - `ReviewDecision::TimedOut` - `GuardianAssessmentStatus::TimedOut` - app-server v2 `GuardianApprovalReviewStatus::TimedOut` - Regenerate app-server JSON/TypeScript schemas for the new wire shape. - Wire the new status through core/app-server/TUI mappings with conservative fail-closed handling. - Keep `TimedOut` non-user-selectable in the approval UI. **Does not change runtime behavior yet; emitting `TimeOut` and parent-model timeout messaging will come in followup PRs**
This commit is contained in:
1 parent
824ec94eab
commit
37aac89a6d
25 files changed
+85
-15
No files matched your search
@@ -6914,6 +6914,9 @@ impl ChatWidget {
|
||||
codex_app_server_protocol::GuardianApprovalReviewStatus::Denied => {
|
||||
GuardianAssessmentStatus::Denied
|
||||
}
|
||||
codex_app_server_protocol::GuardianApprovalReviewStatus::TimedOut => {
|
||||
GuardianAssessmentStatus::TimedOut
|
||||
}
|
||||
codex_app_server_protocol::GuardianApprovalReviewStatus::Aborted => {
|
||||
GuardianAssessmentStatus::Aborted
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user