mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
## What changed - Treat a surviving full world-state snapshot as a context baseline when a fork removes the associated user message. - Restore the previous turn settings and reference context from that baseline, without treating the segment as a user turn for rollback. - Ignore partial snapshots and full snapshots superseded by compaction. ## Testing - Cover resumed rollout reconstruction with removed task messages, partial snapshots, and compaction. - Verify nested agents inherit developer instructions and environment context exactly once across history modes and compacted histories. GitOrigin-RevId: 9f9f6992d7ea8cff9ac82a7fcdf0c8fb764db81c