mirror of
https://github.com/openai/codex.git
synced 2026-10-20 00:18:49 +00:00
## Why Full-transcript fallback can select encrypted agent messages already present in the reviewer's history. These duplicates should not consume the input budget or displace new evidence. ## What changed - Reconcile native agent messages with the effective reviewer history and earlier messages in the pending input before budgeting, including after compaction. - Deduplicate messages with nonempty IDs while preserving messages without IDs. Allow delivery again when the prior copy is absent from the current history. - Reject conflicting authors, recipients, or content under the same ID without modifying the pending context. ## Testing Add coverage for duplicate admission, conflicting payloads, redelivery after history removal, and retained reviewer requests. Extend the history eviction regression to verify that full-transcript fallback reuses the reviewer and preserves a single encrypted agent message. GitOrigin-RevId: 97e90f6359a7cf5a75d1c5967fc98cd885afb4e4