You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Continue threads after restarts does not preserve Codex reasoning effort #10928
Confirmed on current main (not only v0.0.40). Automatic continue-after-restart still drops Codex reasoning effort.
What happens
reconcileProviderSessions resumes opted-in threads with providerService.sendTurn, but only sends threadId, continuation (Codex) or the fixed continue prompt, and interactionMode. It never forwards modelSelection, even though the thread shell has it.
ProviderService.sendTurn does not backfill model/effort. Session recovery does pass the persisted selection into startSession, but Codex startSession only applies model and service tier — not reasoningEffort.
CodexAdapter.sendTurn then reads effort only from the sendTurn modelSelection. Restart always includes interactionMode, so buildCodexCollaborationMode runs and falls back to effort ?? "medium". Collaboration settings and developer instructions both become medium.
Reconcile tests currently assert that Codex continuation payload (continuation: true, interactionMode: "default", no modelSelection).
Pass thread.modelSelection (or the session-directory persisted selection) on the restart sendTurn. Add a reconcile test that a non-medium reasoningEffort is forwarded, plus coverage that buildTurnStartParams does not write medium when High/xhigh is supplied.
Claude/Grok apply effort at session start from the recovered selection, so they are less exposed. The omitted modelSelection is still a general gap.
Severity
Minor. Opt-in setting; the thread does resume; effort can change without a user action.
Activity
juliusmarminge commentedon Sep 9, 2026
Triage
Confirmed on current
main(not only v0.0.40). Automatic continue-after-restart still drops Codex reasoning effort.What happens
reconcileProviderSessionsresumes opted-in threads withproviderService.sendTurn, but only sendsthreadId,continuation(Codex) or the fixed continue prompt, andinteractionMode. It never forwardsmodelSelection, even though the thread shell has it.ProviderService.sendTurndoes not backfill model/effort. Session recovery does pass the persisted selection intostartSession, but CodexstartSessiononly applies model and service tier — notreasoningEffort.CodexAdapter.sendTurnthen reads effort only from the sendTurnmodelSelection. Restart always includesinteractionMode, sobuildCodexCollaborationModeruns and falls back toeffort ?? "medium". Collaboration settings and developer instructions both become medium.Reconcile tests currently assert that Codex continuation payload (
continuation: true,interactionMode: "default", nomodelSelection).Not a duplicate
Suggested fix
Pass
thread.modelSelection(or the session-directory persisted selection) on the restartsendTurn. Add a reconcile test that a non-mediumreasoningEffortis forwarded, plus coverage thatbuildTurnStartParamsdoes not write medium when High/xhigh is supplied.Claude/Grok apply effort at session start from the recovered selection, so they are less exposed. The omitted
modelSelectionis still a general gap.Severity
Minor. Opt-in setting; the thread does resume; effort can change without a user action.
Labels:
bug,accepted,via-triage(removeneeds-triage)