mirror of
https://github.com/openai/codex.git
synced 2026-09-28 08:43:01 +08:00
## What changed - Make `LocalThreadStore` default to paginated history while retaining explicit legacy mode. - Explicitly use paginated history for Guardian review sessions and allow in-memory stores to create paginated threads. - Rename full-history resume, fork, and subagent helpers to identify them as legacy APIs, and document the paginated alternatives. - Reject `thread/revert` for ephemeral threads and prevent the TUI from replaying or attaching to ephemeral agent threads. ## Testing Add coverage for preserving the default and explicitly selected history modes and conversation context across restart, and for retaining context after rejected ephemeral reverts. Extend Guardian checkpoint coverage across both history modes and verify that saved reviews use paginated history. GitOrigin-RevId: 870239eb3757018159ee4f230a009c97d38ac5b7