{"slug": "codex-adds-experimental-thread-revert-support", "title": "Codex adds experimental thread/revert support", "summary": "OpenAI's Codex commit 4343b2b adds experimental thread/revert support, enabling replacement of a loaded paginated thread's durable history with the prefix before a specified turn while preserving the thread ID. The change includes interrupting active turns, reloading replacement history, preserving thread settings, and emitting a 'thread/reverted' event, with 939 additions and 21 deletions across 24 files.", "body_md": "# Commit 4343b2b\n\nAdd app-server support for reverting paginated threads (\n\n## What changed\n- Add the experimental `thread/revert` request, which replaces a loaded paginated thread's durable history with the prefix before `beforeTurnId` while preserving the thread ID.\n- Interrupt any active turn, reload the replacement history without unloading the thread, preserve mutable thread settings, and emit `thread/reverted`.\n- Return backward pagination cursors for the retained turns and items, reject stale rollout paths after a revert, and document that local file changes are unaffected.\n## Testing\n- Cover history replacement, pagination, stale paths, missing turns, subsequent turns, active-turn interruption, and preserved thread settings.\nGitOrigin-RevId: 435a8163ad4f310cc47219b436f6bdde21f2b83a[#38440](https://github.com/openai/codex/pull/38440))\n\n```\n1 parent 1992f8c commit 4343b2bCopy full SHA for 4343b2b\n```\n\n24 files changed\n\nLines changed: 939 additions & 21 deletions\n\n## File tree\n\n- codex-rs\n- app-server-protocol\n- schema\n- json\n- v2\n\n- precomputed\n- typescript\n- v2\n\n- src/protocol\n- v2\n\n- app-server\n- src\n- request_processors\n\n- tests/suite/v2\n\n- core/src\n- tui/src\n- app\n- tests\n\n- chatwidget\n\nLines changed: 31 additions & 0 deletions\n\nSome generated files are not rendered by default. Learn more about\n\n[customizing how changed files appear on GitHub.](https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github)Lines changed: 33 additions & 0 deletions\n\nSome generated files are not rendered by default. Learn more about\n\n[customizing how changed files appear on GitHub.](https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github)Lines changed: 33 additions & 0 deletions\n\nSome generated files are not rendered by default. Learn more about\n\n[customizing how changed files appear on GitHub.](https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github)Lines changed: 13 additions & 0 deletions\n\nSome generated files are not rendered by default. Learn more about\n\n[customizing how changed files appear on GitHub.](https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github)Binary file not shown.\n\nBinary file not shown.\n\nLines changed: 2 additions & 1 deletion\n\nSome generated files are not rendered by default. Learn more about\n\n[customizing how changed files appear on GitHub.](https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github)## 0 commit comments\n\nComments\n\n(0)", "url": "https://wpnews.pro/news/codex-adds-experimental-thread-revert-support", "canonical_source": "https://github.com/openai/codex/commit/4343b2bdc4e7eb95880a230e588bd07d9f181c2f", "published_at": "2026-08-13 21:58:21+00:00", "updated_at": "2026-08-13 22:12:27.541776+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["OpenAI", "Codex"], "alternates": {"html": "https://wpnews.pro/news/codex-adds-experimental-thread-revert-support", "markdown": "https://wpnews.pro/news/codex-adds-experimental-thread-revert-support.md", "text": "https://wpnews.pro/news/codex-adds-experimental-thread-revert-support.txt", "jsonld": "https://wpnews.pro/news/codex-adds-experimental-thread-revert-support.jsonld"}}