mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
## Why Async classifications need to account for the complete request, including parent compaction checkpoints and images, before sending it to the classifier. ## What changed - Resolve the input allowance from the classifier's model metadata, independently of parent-model context-window overrides. - Reject requests whose estimated input exceeds that allowance minus a 256-token reserve. Record `input_too_large` and defer to synchronous review without sending the oversized request or dropping evidence to make it fit. ## Testing Add integration coverage for checkpoint and image budgets, verifying that oversized inputs defer to synchronous review and inputs that fit retain their evidence. Update Guardian context-budget tests to exercise V2 remote compaction. GitOrigin-RevId: 765060e08d2d5f3028ef5207508d256d4bf8d856