mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why A board post that exceeds the reviewer's tool output budget on its own can fail inbox delivery. The reviewer still needs access to the original because the omitted text may contain restrictions. ## What changed Keep delivering whole posts in order when they fit on their own. For a post that exceeds the budget, trim the largest text fields first to preserve the structure of chat and tool records where possible. Fall back to a text excerpt if the structured record still cannot fit. Mark shortened notifications with `truncated: true` and include the `message_id` so the reviewer can retrieve the original with `guardian_board.read_post`. ## Testing Add coverage for preserving smaller fields in oversized tool calls and results, and for retrieving a deployment restriction omitted from a shortened inbox notification. GitOrigin-RevId: 4442c153bc401ea25ce465f52ed42deaea8b9106