mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## What changed - Model collaboration mode as a world-state section whose persisted snapshot is the active mode. - Emit collaboration instructions when the mode changes, while ignoring instruction text changes within the same mode. - Restore persisted collaboration instructions when they are missing from retained history, including after a fork. ## Testing - Add snapshot coverage for initial, unchanged, changed, and unknown mode state. - Cover retained-history restoration and same-mode instruction changes. GitOrigin-RevId: ffd1683499f09acef6516b0bfcb5bcb4d3f28df4