mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
## Why A summary-free parent context reset could reuse a Guardian review session and carry forward rationale from before the reset. ## What changed Track destructive history replacements with `reset_version` and include it in the Guardian session reuse key. Ordinary input and compaction preserve this version. ## Testing Update the review-session reuse test to require a new Guardian thread after a summary-free reset, with no prior review context or previous rationale. GitOrigin-RevId: bd05c149774839f68b75294751f7619ba7ce0bfe