cd /news/developer-tools/codex-adds-experimental-thread-rever… · home topics developer-tools article
[ARTICLE · art-96021] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Codex adds experimental thread/revert support

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.

read2 min views1 publishedAug 13, 2026
Codex adds experimental thread/revert support
Image: source

Add app-server support for reverting paginated threads (

What changed #

  • 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.
  • Interrupt any active turn, reload the replacement history without un the thread, preserve mutable thread settings, and emit thread/reverted.
  • 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.

Testing #

  • Cover history replacement, pagination, stale paths, missing turns, subsequent turns, active-turn interruption, and preserved thread settings. GitOrigin-RevId: 435a8163ad4f310cc47219b436f6bdde21f2b83a#38440)
1 parent 1992f8c commit 4343b2bCopy full SHA for 4343b2b

24 files changed

Lines changed: 939 additions & 21 deletions

File tree #

  • codex-rs

  • app-server-protocol

  • schema

  • json

  • v2

  • precomputed

  • typescript

  • v2

  • src/protocol

  • v2

  • app-server

  • src

  • request_processors

  • tests/suite/v2

  • core/src

  • tui/src

  • app

  • tests

  • chatwidget

Lines changed: 31 additions & 0 deletions

Some generated files are not rendered by default. Learn more about

customizing how changed files appear on GitHub.Lines changed: 33 additions & 0 deletions

Some generated files are not rendered by default. Learn more about

customizing how changed files appear on GitHub.Lines changed: 33 additions & 0 deletions

Some generated files are not rendered by default. Learn more about

customizing how changed files appear on GitHub.Lines changed: 13 additions & 0 deletions

Some generated files are not rendered by default. Learn more about

customizing how changed files appear on GitHub.Binary file not shown.

Binary file not shown.

Lines changed: 2 additions & 1 deletion

Some generated files are not rendered by default. Learn more about

customizing how changed files appear on GitHub.## 0 commit comments

Comments

(0)

── more in #developer-tools 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/codex-adds-experimen…] indexed:0 read:2min 2026-08-13 ·