mirror of
https://github.com/openai/codex.git
synced 2026-10-25 15:56:38 +00:00
## Why Compaction removes the original `request_user_input` tool call from model-visible history, causing its trusted user answer to be omitted from subsequent Guardian reviews. ## What changed Match recorded user answers against retained review history so they remain available through compaction and review-history eviction. Explicit rollback still removes the associated answer. ## Testing Extend the Guardian history integration test to verify trusted user answers survive compaction and eviction but not rollback. GitOrigin-RevId: 00681ee8df51cf36421b6fdc5446565dff3776fe