Files
codex/codex-rs/core/src
felixxia-oai d52a39b307 Honor elastic budgets for attached Guardian reviews (#62489)
## Why

Attached reviews used fixed evidence limits even when elastic budgeting
was configured. This could reject a pending tool call whose exact
arguments would fit within the review request's input budget.

## What changed

Use the configured budgeting policy to prepare the pending action and
permissions for attached reviews. With elastic budgeting enabled, check
whether the exact call fits when enforcing the final request budget.

## Testing

Add a regression test for a tool call that exceeds the fixed evidence
limit. Elastic budgeting rejects it when the request budget is too small
and preserves the original call when it fits.

GitOrigin-RevId: 42cc4a8682a98badfe6be95434703500403e7118
2026-11-19 10:46:39 +00:00
..
…
…