Files
codex/codex-rs
felixxia-oai 5716c2e228 Prewarm the Guardian v3 root reviewer for automatic approvals (#63514)
## Why

The first approval review can spend time starting the reviewer before it
can ask for a verdict. Starting the reviewer when the root thread becomes
ready lets that setup happen ahead of the first request.

## What changed

When the approval policy routes requests to Guardian, start the root
reviewer in the background without routing evidence or requesting a
verdict. The first approval uses the warmed conversation if it is live
and its configuration matches. Otherwise, the reviewer starts on demand.
The warmed conversation uses the first-review prompt on its first review.

## Testing

Add a WebSocket integration test that checks warmup disables generation
and that the first permission request receives a verdict on the same
reviewer connection with the planned action and no follow-up reminder.

GitOrigin-RevId: fa791404f6d000368c72bb2e437ad7be65626450
2026-11-24 03:12:46 +00:00
..
…
…
…