-
Notifications
You must be signed in to change notification settings - Fork 10.2k
resuming codex with <session-id> will lose some information #9198
Copy link
Copy link
Open
Labels
agentIssues related to the core agent loopIssues related to the core agent loopbugSomething isn't workingSomething isn't working
Description
What version of Codex is running?
codex-cli 0.80.0
What subscription do you have?
plus
Which model were you using?
gpt-5.2 xhigh
What platform is your computer?
Darwin 23.6.0 arm64 arm
What issue are you seeing?
resume operation contextmismatch with previous exit state; original session file inspection found no issues. After resuming, new codex session exit produced inconsistent session
What steps can reproduce the bug?
{"timestamp":"2026-01-13T15:04:57.524Z","type":"event_msg","payload":{"type":"token_count","info":{"total_token_usage":{"input_tokens":6198727,"cached_input_tokens":6005376,"output_tokens":60840,"reasoning_output_tokens":44372,"total_tokens":6259567},"last_token_usage":{"input_tokens":68364,"cached_input_tokens":68224,"output_tokens":241,"reasoning_output_tokens":0,"total_tokens":68605},"model_context_window":258400},"rate_limits":{"primary":{"used_percent":100.0,"window_minutes":300,"resets_at":1768328670},"secondary":{"used_percent":30.0,"window_minutes":10080,"resets_at":1768915470},"credits":{"has_credits":false,"unlimited":false,"balance":null},"plan_type":null}}}
What is the expected behavior?
Correctly resume to thespecified session and continue the conversation in the same context
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agentIssues related to the core agent loopIssues related to the core agent loopbugSomething isn't workingSomething isn't working