mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
## Why Collaboration guidance can change without changing the active mode or model, such as after a model catalog refresh. Tracking only the mode and model leaves the earlier guidance in retained history. ## What changed - Include a hash of the rendered collaboration instructions in the world-state snapshot so changed guidance is appended to retained history once. - Emit one empty collaboration fragment when guidance is removed, preventing stale instructions from remaining active without repeatedly clearing them. - Refresh legacy snapshots that lack an instruction hash once on resume. ## Testing Cover same-mode catalog updates, clearing missing or explicitly empty guidance, retained-history behavior, and cold resume from legacy snapshots. GitOrigin-RevId: 69f690adeccd1fb9794a6b15647e6efae3fec4f6