Files
codex/codex-rs
Charlie Marsh 63598243af Limit guardian response resampling to one retry (#62852)
## Why

When the retried response also meets the guardian's resampling criteria,
it can trigger another model request and keep the turn from finishing.

## What changed

Consume the original prompt when scheduling the retry. The second
verdict stays buffered until completion and is replayed after usage
accounting, even if it also meets the resampling criteria. Usage from
the discarded first response still counts toward spending.

GitOrigin-RevId: f8ded8f31bd7d9e440c0c92a92a80480acec61d2
2026-11-20 22:24:30 +00:00
..
…
…
…