mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why Failed-review reports can include the reviewed thread's history, but they don't show how much evidence the reviewer lost to input limits. That makes it harder to tell whether missing context contributed to a denial. ## What changed Add a `truncated` field to opt-in failed-review reports. It reports bytes removed from the initial review input by evidence section, distinguishing per-item caps from cuts made to fit the overall budget. Carry those totals with the selected response through reconsideration, including when the original denial is restored. ## Testing Check that a denied review's report includes transcript bytes removed by a per-item cap. Cover rendered JSON byte counts, deduplicated instructions, and eviction of an already-capped tool result. GitOrigin-RevId: 817ca54ca27969e52cac50f7ff93816c773fcc15