mirror of
https://github.com/openai/codex.git
synced 2026-11-13 21:30:47 +00:00
## Why Plan items used a single ID derived from the turn ID, so multiple completed plans within one turn shared an ID across retries or tool continuations. ## What changed Generate UUIDv7 plan item IDs and carry an unfinished plan's ID across model requests within a turn. Once a plan completes, assign a fresh ID to the next plan. ## Testing Add unit and integration coverage for unfinished retries, retries after plan completion, and tool continuations, including matching streamed events to saved completions. Update the app-server test to check plan IDs against the start notification. GitOrigin-RevId: 87b4b3e6bd74224ea96f4308f739bcd2efb62299