GPT-5.6 Sol: apparent prior-turn context loss before compaction in Codex Desktop
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the multi-part follow-up scenario in Codex Desktop with gpt-5.6-sol while recording the context indicator and session log. Inspect the context assembly, telemetry, and compaction reporting paths to determine whether prior-thread content is truncated, summarized, routed, or reconstructed before compaction. Done means documenting the responsible behavior and whether effective per-turn context can be exposed without private prompt content.
Written by the indexing model from the issue text.
Description
What version of Codex are you using?
Codex Desktop via ChatGPT; bundled CLI reports codex-cli 0.145.0-alpha.18.
What subscription do you have?
ChatGPT-authenticated Codex session. Plan details omitted.
What platform are you using?
macOS.
Which model?
gpt-5.6-sol
What issue are you seeing?
In a continuing Codex thread, a follow-up that refers to a recently discussed item can appear to lose the semantic state of the immediately preceding turn. The agent may return to an earlier item instead of the item named or implied by the follow-up, despite that item having been addressed in the preceding exchange.
Tool/skill information sometimes appears to be re-read as well. I do not treat re-exposure to those instructions alone as proof of a defect; the reported issue is loss of task-relevant prior-turn detail.
Sanitized telemetry from an affected thread reports:
model_context_window: 258400
latest recorded input tokens: 152977
latest recorded output tokens: 142
The session log contains no explicit compaction event type. This is approximately 59% of the reported effective window, so the observed loss occurs before any recorded automatic-compaction event. This does not prove exactly what the model request retained; it is a request to investigate whether there is another per-turn truncation, summarization, routing, or state-reconstruction step.
Steps to reproduce
- Start a new Codex Desktop thread using
gpt-5.6-sol. - Give the agent a multi-part task with clearly distinct items (for example, A, B, and C).
- Have the agent acknowledge or address more than one item.
- Send a concise follow-up that focuses on B, using its terms or an unambiguous reference to the preceding discussion.
- Repeat with several turns while the context indicator remains materially below the reported window and no compaction notice is shown.
- Observe whether the agent responds to B or instead restarts/repeats an earlier item.
Expected behavior
Until a visible compaction or other context-management event occurs, the model should retain the task-relevant details of the immediately preceding turns and apply a focused follow-up to the intended item.
If Codex deliberately summarizes, omits, or reconstructs prior content before auto-compaction, that behavior should be observable in telemetry or the UI.
Actual behavior
Some focused follow-ups appear to be interpreted against incomplete or stale earlier context. This looks like loss of prior-turn state rather than ordinary disagreement or a single incorrect answer.
Related reports
This is related to, but distinct from, the documented GPT-5.6 Sol window-cap reports:
- #32806: 372,000 raw / 353,400 effective reportedly changed to 272,000 raw / 258,400 effective.
- #31860: GPT-5.6 Sol catalog cap versus the public API model specification.
The API comparison page currently lists GPT-5.6 Sol with a 1,050,000-token context window and a 128,000-token maximum output:
https://developers.openai.com/api/docs/models/compare
Request
Please investigate and clarify:
- Whether a Codex Desktop turn can receive less prior-thread content than the reported
model_context_windowbefore automatic compaction. - Whether an internal summarization, truncation, routing, or state-reconstruction step can happen without a recorded compaction event.
- Whether there is a supported way to inspect the effective context supplied to each turn without exposing private prompt content.
- Whether this behavior is expected for
gpt-5.6-solunder ChatGPT authentication.
Exact model name and public context claim
Codex Desktop offered and the active thread identifies the selected model as gpt-5.6-sol. This is the same canonical model named GPT-5.6 Sol on OpenAI's official API comparison page, which currently states:
Context window: 1,050,000
Max output tokens: 128,000
Source: https://developers.openai.com/api/docs/models/compare
The concern is therefore not a comparison between different model names or variants: Codex offered gpt-5.6-sol, while the official OpenAI page for GPT-5.6 Sol advertises a 1.05M-token window.
I recognize that the cited page is API documentation and may not by itself establish that every ChatGPT/Codex surface must expose the full API capacity. If Codex intentionally has a smaller product-specific window, it should be clearly disclosed in the Codex model picker, plan information, or model documentation before selection. The current server-reported effective window of 258,400 is only about 24.6% of the publicly stated 1.05M context window.
Practical user impact
After Codex reported the active effective window as 258400, I asked an AI assistant within the affected Codex thread which coding agent to use for a large, tightly connected codebase if the context limit is imposed server-side. It recommended using Claude Code as the primary agent because Anthropic documents 1M-context support in Claude Code for specified paid-plan models:
https://support.claude.com/en/articles/8606394-how-large-is-the-context-window-on-paid-claude-plans
This is not an official OpenAI or Codex position, endorsement, or admission. It is a practical user-impact observation: when the Codex product exposes only 258,400 effective tokens for a model publicly documented with a 1.05M-token window, generic tool-selection advice may rationally direct context-sensitive large-codebase work to a competing service. Clear Codex-specific disclosure and an explanation of the lower server-side limit would allow users to make that decision before selecting the model.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·