mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
Skip Guardian scoring in User approval mode (#42256)
## What changed - Skip Guardian prewarming and asynchronous scoring when `approvalsReviewer` is `"user"`, including when the reviewer changes during an active turn. - Automatically accept ordinary `node_repl.js` execution confirmations in this mode while continuing to surface sensitive-action checks and requests for user input. - Cover transitions between User approval, automatic review, and Full Access in the app-server integration tests. GitOrigin-RevId: 599c8ebb672728b9bf3d64c34377ddec230325f8
This commit is contained in:
@@ -1923,6 +1923,11 @@ persisted rollout errors, so unavailable details after a restart remain a termin
|
||||
|
||||
## Approvals
|
||||
|
||||
In User approval mode (`approvalsReviewer: "user"`), async Guardian scoring and
|
||||
prewarming are skipped, and ordinary `node_repl.js` execution confirmations are
|
||||
accepted automatically. Separate sensitive-action checks and requests for user
|
||||
input keep their existing behavior. Approve for me and Full Access are unchanged.
|
||||
|
||||
Full Access (`approvalPolicy: "never"` with unrestricted selected environments)
|
||||
skips Guardian, including background scoring. Confirmation-only MCP approvals,
|
||||
including strict or sensitive CUA requests, are accepted. Strict responses retain
|
||||
|
||||
Reference in New Issue
Block a user