Files
codex/codex-rs/app-server/tests
felixxia-oai 081f205f42 Use Guardian V3 board evidence for synchronous approvals (#62310)
## Why

A pending action can reach approval review before Guardian V3 has routed
the latest user messages to the reviewer's subscribed channels. That
can leave a revocation or renewed approval out of the evidence used to
decide the action.

## What changed

Attach the Guardian V3 reviewer to the synchronous approval path when
available. Start evidence catch-up when the action requests review,
then deliver queued evidence before submitting it for a verdict. If
preparation fails, report the reason and block the action.

Request strict structured output for board routing. Represent channel
description updates as a list, reject duplicate descriptions and empty
routes, and write each source once per distinct destination.

## Testing

Add app-server coverage for subscribed revocation and reapproval,
unavailable evidence, routing failures, and native review when V3 is
disabled or the thread is ephemeral. Add routing tests for duplicate
descriptions, duplicate destinations, and empty routes.

GitOrigin-RevId: 193802d39c120fbad9d77544ab57f4b5d02576b0
2026-11-18 16:18:34 +00:00
..