codex icon indicating copy to clipboard operation
codex copied to clipboard

[Windows App] read_thread returns only chatgpt-content-reference for completed ChatGPT replies

Open minying1999 opened this issue 1 month ago • 39 comments

What version of the Codex App are you using (From “About Codex” dialog)?

Windows MSIX package OpenAI.Codex 26.928.3736.0, verified on October 2, 2026 through Get-AppxPackage. The running ChatGPT.exe belongs to that package. This is package/process-path evidence, not an About-dialog screenshot.

What subscription do you have?

Signed in with a ChatGPT account; the exact subscription tier was not independently captured for this report.

What platform is your computer?

Windows 10 Home, version 10.0.19045 (build 19045); x64 application package.

What issue are you seeing?

The official desktop mcp__codex_app__read_thread call succeeds for an existing ChatGPT conversation, but every returned assistant message contains only a ::chatgpt-content-reference{...} directive in agentMessage.text. No actual assistant body is available to the calling agent.

This is a body-availability / reference-resolution problem, not a missing tool, invocation failure, or observed crash.

Controlled read-only retest on October 2, 2026 (Asia/Shanghai):

  • Target returned as kind: "chatgpt", with thread status idle.
  • Five agentMessage items returned; all enclosing turns had status completed.
  • All five agentMessage.text values were strings of 95 characters consisting only of the directive.
  • The page returned hasMore: false and nextCursor: null.
  • One official read, zero sends. The test directly invoked the official tool, bypassing our local bridge controller/parser. No new conversation or message was created.

Sanitized excerpt of the actual result after unwrapping its JSON tool envelope (identifiers consistently redacted; unrelated fields and other turns omitted):

{
  "thread": {
    "id": "<chatgpt-conversation-id>",
    "kind": "chatgpt",
    "status": {
      "type": "idle"
    }
  },
  "page": {
    "order": "newest_first",
    "limit": 10,
    "nextCursor": null,
    "hasMore": false
  },
  "turns": [
    {
      "id": "<turn-id>",
      "status": "completed",
      "items": [
        {
          "type": "agentMessage",
          "id": "<assistant-message-id>",
          "text": "::chatgpt-content-reference{index=\"1\" source_message_id=\"<assistant-message-id>\"}"
        }
      ]
    }
  ]
}

What steps can reproduce the bug?

On the affected Windows Desktop session:

  1. Use an existing ChatGPT conversation containing completed assistant replies.
  2. Invoke the official mcp__codex_app__read_thread tool with the following arguments:
{
  "threadId": "<chatgpt-conversation-id>",
  "turnLimit": 10,
  "includeOutputs": true,
  "maxOutputCharsPerItem": 20000
}
  1. Inspect the returned assistant items' original agentMessage.text, rather than thread.preview or the user messages.
  2. Observe that the assistant items contain only content-reference directives, despite the completed turn statuses.

This was reproduced on the existing affected conversation. We are not claiming that every account, conversation, or desktop build is affected.

What is the expected behavior?

A supported way for the calling agent to obtain the readable content of the referenced assistant message: either resolved text in the read result or a documented public resolver.

If reference-only or summary-only output is intentional, please clarify that contract and the supported way to retrieve the underlying message content. A successful read returning only an opaque reference is insufficient for a workflow that must inspect the actual answer.

Additional information

Historical comparison: A retained September 12, 2026 result for the same ChatGPT conversation and the same read parameters contains ordinary assistant text and stable message IDs. September 26 checks returned references, and the October 2 direct retest above still does. The exact first failing release/date is unknown; the earlier desktop package version was not independently established here.

Related external evidence, not a confirmed shared root cause: Another browser integration reported the identical directive while its ChatGPT tab displayed normal replies: chat-on-steroids #574. Its PR #579 uses a complete, resolved page capture for model-facing text readers; the change appears in v2.1.20. That is a separate browser-based path and does not establish how the official desktop tool should resolve the reference.

We have not completed a same-time browser/DOM comparison in our own environment. No private endpoints, content-reference dereferencing, browser cookies, or session-database edits were used in the direct test.

Questions for maintainers:

  1. Is this expected representation, or a regression in ChatGPT-backed read_thread content resolution?
  2. Does read_thread support resolved assistant content for these messages? If so, what supported call or option should be used?
  3. If it does not, is there a public resolver for source_message_id, or another supported first-party retrieval path?

Existing issue #40300 concerns a ChatGPT-backed read causing a crash; this report concerns successful calls returning reference-only bodies.

Conversation titles, real conversation/message IDs, private message bodies, local paths, credentials, and full session logs are omitted. Codex assisted with the investigation and this report; the user explicitly authorized submission.

minying1999 avatar Oct 02 '26 14:10 minying1999

Additional reproduction and historical success comparison (2026-10-08)

I can reproduce the same issue on Codex Desktop for Windows, installed app version 26.1002.52244, build 13536, production channel. This is a report of observed tool outputs, not a claim about the root cause.

Current failing read (2026-10-08, ~13:07 UTC):

{
  "threadId": "<redacted ChatGPT conversation ID>",
  "turnLimit": 10,
  "includeOutputs": true,
  "maxOutputCharsPerItem": 20000
}
  • The official mcp__codex_app__read_thread call returns isError: false, schemaVersion: 1, and the correct thread.id / kind: "chatgpt".
  • The response contains two completed turns. Both userMessage bodies are readable, but 2/2 agentMessage.text values contain only ::chatgpt-content-reference{index="…" source_message_id="…"}, with no assistant prose.
  • source_message_id equals the corresponding assistant item ID. page.hasMore: false and nextCursor: null do not establish body completeness.
  • A separate request using maxOutputCharsPerItem: 120000 was rejected with the documented <=20000 validation error; this is not the body-read failure.

Historical working evidence (2026-10-05, retained original Codex tool logs):

  • The same named native mcp__codex_app__read_thread tool did successfully return full ChatGPT agentMessage.text bodies for another conversation: a ~6,316-character instruction and a ~10,505-character decision.
  • Successful calls used maxOutputCharsPerItem: 20000, turnLimit: 1; both includeOutputs: false without hostId, and includeOutputs: true with hostId: "local" were observed.
  • The historical session metadata shows codex-cli 0.160.0; the historical Desktop App build is unknown. The successful and failing reads were not a controlled same-message comparison, so I cannot attribute the change to a particular app update, model, or parameter.

Expected: A supported, identity-preserving way for Codex's native ChatGPT thread reader to obtain the completed assistant's full text instead of an opaque content pointer.

Could maintainers clarify whether reference-only assistant bodies are intentional, whether read_thread is expected to resolve them, and whether there is a supported first-party message-body retrieval/replacement interface? Please also clarify whether a fix is planned.

No private conversation IDs, message IDs, user prompts/decisions, repository paths, or session logs are included here.

O1dFish avatar Oct 08 '26 14:10 O1dFish

Additional reproduction on Linux, verified October 9, 2026.

Environment: Codex Desktop installed version 26.930.51102, build 13100, production channel (prod). These installed-version fields were returned by the desktop's check_app_update tool. Update availability was not checked remotely on Linux.

Reproduction:

  1. Create a ChatGPT conversation and ask it to generate a random number.
  2. Reference that conversation in a Codex chat and ask for the generated number.
  3. Invoke the official desktop tool directly:
{
  "threadId": "<redacted ChatGPT conversation ID>",
  "turnLimit": 10,
  "includeOutputs": true,
  "maxOutputCharsPerItem": 20000
}

Observed: The call succeeds (isError: false). It returns kind: "chatgpt", status idle, two completed turns, and readable user messages. Both assistant messages contain only chatgpt-content-reference directives. The original random-number response's returned agentMessage.text, with its message ID redacted, is:

::chatgpt-content-reference{index="0" source_message_id="<redacted assistant message ID>"}

The source_message_id matches the corresponding assistant item ID. No number or assistant prose is present in that field. The caller could only obtain the intended number after the user supplied it directly; the referenced response body was not independently recovered.

Repeating the read with hostId: "local" produces the same result. Reading one turn at a time and following the returned cursor through the original response also returns only the directive. The full read ends with hasMore: false and nextCursor: null.

This reproduces the reference-only assistant-body behavior on Linux as well as the Windows reports above. It does not establish the root cause or first affected release.

Expected: Resolved assistant text, or a documented supported tool to retrieve the content behind source_message_id.

Private conversation/message IDs and local paths are omitted.

simas-dev-machine avatar Oct 09 '26 09:10 simas-dev-machine

Additional reproduction on Windows on October 9, 2026, submitted with the affected user's explicit authorization.

  • The official read_thread tool returns user messages in full, but completed assistant replies from ChatGPT-backed chats appear solely as ::chatgpt-content-reference{index="1" source_message_id="<redacted>"}. The owner can see the answer in the chat UI.
  • The owner moved the planning conversation to a new ChatGPT chat. Its owner-pasted handoff was readable, but its assistant reply again returned only the reference.
  • A full computer restart did not repair retrieval.
  • A read-only comparison with a second ChatGPT-backed chat reproduced the same reference-only assistant response. Codex-backed chat text was readable. This does not establish that all chats/accounts are affected.
  • No supported reference-resolution tool was exposed to the calling execution chat. A private Page fallback has not been verified and is not claimed as a workaround.

Impact: a previously useful planner/executor workflow now requires the owner to manually copy complete assistant prompts, disrupting timing-sensitive diagnostic work.

Separate dispatch observation, not a proven common cause: a subsequent send_message_to_thread call returned success and its exact user message was visible on readback in the intended ChatGPT chat. At 23:12:58.111Z the desktop log recorded send success; at 23:13:15.308Z the ChatGPT conversation refetch completed with statusAfter=idle. No assistant response to that request was available in subsequent reads. This should not be conflated with the completed-reply body-loss bug.

Local logs also contain internal thread/read "thread not loaded" and unsupported placement errors for ChatGPT IDs. These may be fallback-routing probes; they are NOT established as the cause of either symptom.

No client package, settings, caches, credentials or session database was modified. Exact current app version was not independently verified for this follow-up. Private chat names, IDs, message contents, local paths and raw logs are omitted.

Please clarify the supported method for retrieving the actual completed assistant text, or fix the model-facing serialization to preserve it. The observations here independently reproduce the user-visible effect in #50329; the client-code mechanism in #52559 was not independently inspected in this session.

ondesic avatar Oct 09 '26 23:10 ondesic

Additional reproduction — October 10, 2026

Environment:

  • Platform: Codex Desktop, Windows
  • App version: 26.1007.21434
  • Build: 13901
  • Channel: prod
  • Update status: up_to_date

Reproduction:

  1. Created a new ChatGPT conversation with the prompt: "Reply with TEST123 only."
  2. Confirmed the assistant's response was visible in the ChatGPT UI.
  3. Referenced the conversation in Codex.
  4. Inspected the returned agentMessage.text.
  5. Fully restarted Codex and repeated the test.

Actual result:

The tool returned only:

``

The actual assistant response ("TEST123") was unavailable.

Additional observations:

  • The issue also affects multiple recent ChatGPT conversations.
  • User messages are readable, but completed assistant replies frequently return reference-only content.
  • Updating and restarting the application did not resolve the issue.
  • The problem is reproducible even with a one-word assistant response, without tables or attachments.

Expected behavior:

The official conversation reader should return the actual assistant response or provide a supported mechanism to resolve the content reference.

Could maintainers confirm whether this is a known regression, whether a fix is planned, and whether any officially supported workaround exists?

This regression disrupts existing ChatGPT-to-Codex workflows that depend on reading completed assistant responses.

ike785297-bit avatar Oct 10 '26 08:10 ike785297-bit

The desktop app has now confirmed that the in-app feedback was submitted for this report.

Feedback ID: 01a08fe4-ea36-7de1-9847-7ce652427401

Please associate this feedback and its diagnostic information with issue #50329. The app's submission confirmation instructed us to include this ID in the existing issue.

This adds a diagnostic reference; it is not a new retrieval test or a claim that the problem has been fixed.

minying1999 avatar Oct 10 '26 11:10 minying1999

Additional controlled reproduction and message-format diagnosis (2026-10-11)

Submitted with the affected user's explicit authorization. Related mechanism report: #52559.

Direct native-tool observations

On Windows, the official mcp__codex_app__read_thread was called with:

{
  "threadId": "<redacted ChatGPT conversation ID>",
  "turnLimit": 10,
  "includeOutputs": true,
  "maxOutputCharsPerItem": 20000
}

A controlled sample on October 9 included 6 ChatGPT conversations / 13 completed assistant replies:

Sample Replies Reference-only replies
A 4 4
B 1 1
C 2 0
D 4 0
E 1 0
F 1 0

All 5 affected replies returned only a 95-character ::chatgpt-content-reference{index="…" source_message_id="…"} directive. The 8 controls returned readable bodies, including some with code blocks. Thus this is neither limited to one conversation nor triggered simply by the presence of code.

Latest retest, October 11: A still returned 4/4 reference-only replies; B still returned 1/1; C still returned 2 readable replies (2,549 and 3,108 characters). Native calls succeeded; all three pages had hasMore: false, nextCursor: null. A previous full app restart did not resolve the failure.

Real-message format comparison

Read-only examination of the existing local cached responses for these exact six conversations found:

  • All 5 affected assistant messages had non-null metadata.model_dil_v2.
  • All 8 normal assistant messages lacked model_dil_v2 and legacy whole-message DIL metadata.
  • The affected messages still contained original text in content.parts: 3,666; 8,124; 542; 6,969; and 97 characters. One affected reply had no code block.
  • These cached responses were used only to inspect the underlying format. Retrieving cached text is not counted as successful native read_thread behavior.

Inspected client conversion path

The package inspected on October 9 was OpenAI.Codex_26.1002.7124.0_x64__2p2nqsd0c76g0; the then-reported desktop release was 26.1002.52244, build 13536, prod. These are historical inspected-version fields, not a claim that the current October 11 app version was reverified.

In webview/assets/app-initial-25361a10f2bf.js (minified names specific to this build):

  1. z8t recognizes metadata.model_dil_v2 and creates a whole-message rendering reference.
  2. R8t retains that reference in contentReferences, but replaces markdown with UXt(referenceIndex, message.id), producing the directive.
  3. y7i exports the assistant as {role: r.role, text: r.markdown}, omitting the reference data and original text.
  4. Consequently, model-facing reads receive the display directive rather than the completed assistant body.

This matches the mechanism described in #52559 and adds a comparison against actual affected/working message metadata.

Isolated branch validation and limits

The actual installed y7i, R8t, z8t, UXt, a8t, and D8t functions were exercised in an isolated Node VM using the real cached messages; unrelated attachment/citation helpers were stubbed. Keeping each message ID and text unchanged:

  • Removing only model_dil_v2 from the 5 affected messages changed the result from a reference to their source text.
  • Adding synthetic model_dil_v2 to the 8 controls changed their result from text to a reference.

This validates the inspected conversion branch, not an end-to-end applied fix. No installed application package was modified, and no patch has been applied or verified in the running client.

Expected correction

Use a model-facing body extraction/resolution path for ChatGPT-backed reads rather than exporting display-only markdown. Preserve usable original text or validated fallback Markdown; explicitly report unresolved structured content when neither is available. Please cover plain text, whole-message DIL, legacy DIL, inline citations, empty/invalid fallback, pagination and truncation, and rerun native reads on affected conversations.

Private conversation titles, real conversation/message IDs, message bodies, user paths, credentials, raw cache files and full logs are omitted. Only sanitized diagnostic observations are submitted.

auxh42 avatar Oct 11 '26 06:10 auxh42

Additional Windows reproduction and candidate fix boundary (observed October 13, 2026)

This affects a ChatGPT-web brainstorming → reference the conversation with @ in Codex → review/execute workflow. The Codex agent cannot evaluate the source assistant's plan because only the user's messages are readable.

Environment recorded on October 13

  • Windows x64, Codex Desktop.
  • check_app_update: installedVersion 26.1007.21434, installedBuildVersion 13901, channel prod, status up_to_date.
  • Separately, the running application process path identified MSIX package OpenAI.Codex_26.1007.2314.0_x64__2p2nqsd0c76g0. This package version is distinct from the desktop release version above.
  • Bundled codex-app-tools inspected: 0.1.6.

Direct native read

{
  "threadId": "<redacted ChatGPT conversation ID>",
  "turnLimit": 10,
  "maxOutputCharsPerItem": 1000
}

The call succeeded with isError: false; it returned kind: "chatgpt", four completed turns, hasMore: false, and nextCursor: null. All 4/4 assistant messages contained only a rendering directive, for example:

::chatgpt-content-reference{index="7" source_message_id="<redacted assistant message ID>"}

The directive is shorter than the requested character limit. In the affected Codex chat, earlier reads with limits of 20,000 and 10,000 characters also produced reference-only assistant replies. This report does not claim that all conversations/accounts are affected.

Read-only inspection of this newer installed bundle

Resource: webview/assets/app-initial-b8e1c8014bb4.js. Minified names below are specific to this bundle.

  • s9t recognizes whole-message DIL content through c9t, retains the content in contentReferences, sets wholeMessageDilContentReferenceIndex, and uses IQt to put a rendering directive in markdown.
  • oNi exports the assistant as {role: r.role, text: r.markdown}, without resolving the retained content.
  • lNi / uNi serialize that text into the model-facing read result.
  • Existing helpers T7t and w7t can read validated version-1 metadata.model_dil_v2.fallbackMarkdown and message text.
  • The bundled MCP server forwards the application's already-serialized result over a local pipe. It does not receive the original message metadata needed to recover the discarded body.

This matches the mechanism reported in #52559 and the October 11 comment here.

Candidate correction, not an installed workaround

A narrowly scoped candidate change to oNi was tested: for whole-message DIL assistant replies, prefer validated fallback Markdown, otherwise use original message text; explicitly report unavailable content if neither supplies a readable body. Preserve the existing ordinary-message path, user-message handling, and reasoning exclusions.

Syntax validation and five isolated regression tests passed, covering a reference-only fixture with fallback text, raw-text recovery, ordinary Markdown/inline-reference preservation, user messages/reasoning exclusion, and an explicit unavailable-body indication.

Limits: The renderer and metadata dependencies were supplied as synthetic fixtures. The actual affected messages' raw metadata was not obtained. These tests therefore do not establish whether all four real bodies can be recovered, do not validate structured media resolution, and are not an end-to-end fix. No installed application package, plugin cache, settings, or conversation record was modified.

Could maintainers confirm the supported way to retrieve these completed assistant bodies and whether a model-facing extraction fix is planned? The existing reports provide a concrete fix direction, but we have not found a maintainer-provided, verified workaround in this issue.

Private conversation titles, real conversation/message IDs, message bodies, user paths, credentials, and full logs are omitted. Codex assisted with the investigation; the affected user explicitly authorized this submission.

yeeus avatar Oct 14 '26 01:10 yeeus

Additional reproduction on Windows desktop, October 14, 2026 (Asia/Singapore). Submitted with the affected user's explicit authorization.

  • App update check: installedVersion 26.1007.71326, installedBuildVersion 20398, channel prod, status up_to_date.
  • mcp__codex_app__read_thread on an existing ChatGPT conversation succeeds with turnLimit: 10, includeOutputs: true, and maxOutputCharsPerItem: 10000. The returned thread is kind: "chatgpt"; all five returned completed assistant messages have agentMessage.text consisting solely of a ::chatgpt-content-reference{...} directive. The user can see the actual reply in the ChatGPT UI and supplied its instructions manually.
  • Retrying with includeOutputs: false produced the same reference-only assistant bodies.
  • Control: the same tool reads ordinary assistant text from this Codex-backed chat.
  • The installed codex-app-tools 0.1.5 server forwards dynamic tool calls/results to the desktop host; no content-reference resolver is exposed in the available tool catalog. This narrows the observed failure to the ChatGPT-backed read path, without claiming the exact upstream root cause.

No private conversation/message IDs, titles, reply text, local paths, screenshots, credentials, or logs are included.

darvenQ avatar Oct 14 '26 15:10 darvenQ

Windows follow-up: reference-only reads persist in package 26.1007.9446.0

Submitted with the affected user's explicit authorization on October 15, 2026. Related mechanism report: #52559.

Current direct observation

  • Running process path identifies MSIX package OpenAI.Codex_26.1007.9446.0_x64. This is package/process evidence, not an About-dialog release version.
  • A direct official read_thread request used turnLimit: 1, includeOutputs: false, maxOutputCharsPerItem: 4000 on an existing affected ChatGPT conversation.
  • The first attempt returned ChatGPT conversation load timed out. A retry on the same conversation succeeded, returned an idle thread and completed turn, but the assistant's text was still only ::chatgpt-content-reference{index="0" source_message_id="<redacted>"}. The timeout and successful reference-only result are separate observations.

Read-only inspection of this current bundle

  • Asset: webview/assets/app-initial-102e45562729.js.
  • SHA256: c59b2a0be6c13496b30ebda167925cdccab26799cae350c62d2b37afe3589b57.
  • In this build, reader function tNi calls renderer h9t and returns the assistant's r.markdown; its returned object does not retain contentReferences.
  • In the previously inspected package 26.1007.2314.0, the corresponding s9t/oNi path was exercised using extracted actual functions with stubbed unrelated dependencies: a synthetic structured reply retained its body in display references but lost it in reader text; a plain-text control retained its body. That synthetic execution was not rerun on the 9446 package, and no end-to-end patch has been applied.

Working recovery boundary

In the earlier session, the supported browser UI exposed readable bodies for four real assistant groups. The latest group contained a single assistant message ID matching a native reference-only result. Two consecutive DOM reads matched. An ordinary page reload cleared an initial rendering error. This recovered the needed text through the UI; it did not repair read_thread, and current-session browser recovery was not retested in the 9446 check. Groups containing multiple message IDs were kept as group-level evidence, without inventing individual message attribution.

Could maintainers provide resolved model-facing text or a supported resolver for whole-message structured replies, and clarify whether a fix is planned? Missing bodies should be explicit rather than represented as successful opaque rendering directives. Please cover raw text, validated fallback Markdown, legacy DIL, missing/invalid fallback, inline references, pagination and truncation.

No private conversation titles/IDs, message IDs, answer prose, local usernames/paths, raw logs, credentials or screenshots are included. No installed application package, security setting or conversation record was modified. Codex assisted with this investigation and report.

h87d5r6trf-jpg avatar Oct 15 '26 00:10 h87d5r6trf-jpg

Additional reproduction on Windows, October 15, 2026 (Asia/Shanghai), submitted at the affected user's request.

The user-authorized ChatGPT planning conversation has three completed assistant replies. A direct mcp__codex_app__read_thread call with turnLimit: 10, includeOutputs: true, and maxOutputCharsPerItem: 20000 succeeds and returns the correct kind: "chatgpt", idle status, completed turns, readable user messages, hasMore: false, and nextCursor: null. All three assistant agentMessage.text values are solely ::chatgpt-content-reference{...} directives. Repeating the read did not expose their bodies. A control read of a Codex-backed conversation on the same machine returns readable assistant text.

The workflow impact is concrete: a Codex implementation chat cannot inspect decisions from the linked ChatGPT planning chat. Sending a message to that ChatGPT conversation has succeeded in a separate authorized chat, so dispatch and readback are distinct. The local project server and repository are not involved in the failing tool response.

Platform observed: Windows 10 build 19045. The current desktop app version was not independently verified in this reproduction. This report narrows the issue to the ChatGPT-backed read path; it does not establish an exact root cause or claim all conversations are affected.

Please provide a supported way to obtain resolved assistant bodies from read_thread, or expose an explicit unresolved-content status. No private conversation or message IDs, titles, message bodies, local paths, credentials, screenshots, or raw logs are included.

Saguinusimperator avatar Oct 15 '26 07:10 Saguinusimperator

Additional reproduction: six conversations, with voice and older-chat controls

We tested six ChatGPT conversations using Codex’s native read_thread tool. Four returned only reference placeholders for assistant replies; two returned readable text. The two readable conversations were a voice conversation and a conversation from October 5, 2026, at 01:45 UTC, as identified by the user.

All reads used turnLimit: 10, includeOutputs: true, and maxOutputCharsPerItem: 20000.

Sample Conversation characteristics Assistant replies returned Reference-only Readable
A Existing conversation 3 3 0
B Existing conversation 3 3 0
C Voice conversation 5 0 5
D Existing conversation 5 5 0
E Conversation from October 5, 2026, at 01:45 UTC 3 0 3
F Newly created minimal test requesting a plain response without enhanced UI 1 1 0
Total 20 12 8

In the four affected samples, user text was readable, but every returned assistant reply consisted solely of ::chatgpt-content-reference{...}. The calls succeeded and the returned turns were marked completed.

The successful controls provide useful comparisons:

  • Sample C: All five returned assistant replies from the voice conversation were readable.
  • Sample E: The conversation started on October 5, 2026, at 01:45 UTC. All three returned assistant replies were readable, including a long answer containing inline citation-reference markers. Inline references therefore can coexist with readable prose; the failure replaces the entire answer with a reference.
  • Sample F: Asking for a plain response without enhanced UI still produced a reference-only result. Prompt wording alone did not prevent the failure.

These results suggest comparing the stored message formats of voice replies, older replies, and affected replies—particularly whether they take different paths through the whole-message structured-content conversion described in this issue. Conversation mode and age are useful diagnostic leads; inspecting the underlying metadata would distinguish their roles.

Please preserve readable assistant text when exporting conversations to Codex, or resolve whole-message references before returning them from read_thread.

SeanX16 avatar Oct 15 '26 07:10 SeanX16

Additional Windows reproduction with matching raw-message evidence — October 17, 2026

Submitted at the affected user's explicit request. Related mechanism report: #52559.

Environment and version provenance

  • Windows x64 desktop.
  • MSIX package OpenAI.Codex 26.930.2377.0, verified through Get-AppxPackage; the running ChatGPT.exe path points into that same package.
  • This is the MSIX package version, not an independently captured About-dialog release/build number.
  • Bundled codex-app-tools inspected: 0.1.5.

Direct first-party read

An existing ChatGPT conversation was referenced in Codex, with priorConversation: null. The official mcp__codex_app__read_thread was called with:

{
  "threadId": "<redacted ChatGPT conversation ID>",
  "turnLimit": 10,
  "includeOutputs": true,
  "maxOutputCharsPerItem": 20000
}

The valid call succeeds (isError: false), returning kind: "chatgpt", idle status, three completed turns, and readable user messages. All 3/3 completed assistant replies contain only a directive such as:

::chatgpt-content-reference{index="0" source_message_id="<redacted assistant message ID>"}

The page has hasMore: false and nextCursor: null. A default-argument read of the same conversation also returned only references for these replies.

Matching real-message evidence

Read-only inspection of an existing locally cached conversation response confirmed the conversation ID and each of the three assistant message IDs against the native read. All three affected messages:

  • have content.content_type: "text";
  • retain nonempty original text in content.parts;
  • have non-null metadata.model_dil_v2;
  • lack legacy model_dil and chatgpt_sdk.dil in the inspected response.

The respective original text lengths are 8,402; 2,355; and 1,173 Unicode characters. Thus the completed reply bodies exist in the response, while the model-facing tool output contains only rendering directives. Cache recovery is not counted as successful native-tool retrieval or a fix.

Read-only installed-code inspection

Resource: webview/assets/app-initial-1da99842592d.js inside the package's app.asar. These minified names are specific to this inspected build:

  1. X2t recognizes whole-message metadata.model_dil_v2 and builds a rendering reference retaining that metadata and the source message ID.
  2. Y2t retains the reference in contentReferences, sets wholeMessageDilContentReferenceIndex, and replaces markdown with MGt(referenceIndex, message.id).
  3. Reader converter Xga calls Y2t and exports the assistant as { role: r.role, text: r.markdown }, without the corresponding contentReferences.
  4. $ga / e_a serialize that text into agentMessage.text.
  5. The bundled MCP server forwards the desktop host's serialized result over a local pipe; it is not supplied the discarded original message metadata.

This independently matches the conversion mechanism previously reported here and in #52559, and ties it to the raw metadata of these three actual affected replies.

Expected correction and limits

Please use a model-facing body extraction/resolution path for ChatGPT-backed reads, preserving readable source text or validated fallback Markdown, and explicitly identify unavailable structured content rather than returning an opaque directive as a successful body. Preserve existing authorization/message filtering, normal Markdown and inline references, and pagination/truncation behavior.

The code inspection is static; no patched-client end-to-end test was performed, and this report does not establish the first affected release or that every conversation/account is affected. No installed package, plugin, settings, credentials, or conversation record was modified.

No private conversation titles, actual conversation/message IDs, reply text, personal filesystem paths, credentials, raw cache files, screenshots, or session logs are included.

Allserial avatar Oct 16 '26 16:10 Allserial

Additional Windows observation from October 17, 2026 (Asia/Shanghai), submitted with the affected user's authorization.

The official mcp__codex_app__read_thread was called once for an existing ChatGPT conversation with turnLimit: 1, includeOutputs: true, maxOutputCharsPerItem: 20000, and hostId omitted. It returned isError: false, kind: "chatgpt", an idle thread, and a completed turn with error: null. The selected assistant item still contained only: ::chatgpt-content-reference{index="0" source_message_id="<redacted-message-id>"} No readable assistant body or separate structuredContent payload was returned.

A new diagnostic clue in ordinary desktop logs: thread/read requests for that same conversation ID produced code -32600 ("thread not loaded"), followed by code -32602 / grpcStatusCode 3 ("post-cutover thread ID has unsupported placement region 10"). The latest observed pair was at 20:04 UTC on October 16; earlier pairs had the same pattern. We independently checked those log lines. We cannot map these internal requests to the successful tool response or prove that these errors cause the content-reference result. We do not interpret "region 10" as evidence of a geographic or network restriction; the component and meaning behind this diagnostic have not been independently established.

Could maintainers provide (1) a supported identity-preserving body resolver or fixed read_thread path, and (2) a content-free diagnostic to correlate conversation-kind routing/fallback with the final tool response? An explicit unresolved-body status would also prevent successful metadata from being mistaken for a complete answer.

This is not a new client patch or a claim that #52559's proposed mechanism is confirmed in this installation. The active desktop/helper build was not independently established in this observation. No installed package, private conversation cache/database, permission, or network setting was modified. Real conversation/message/request IDs, titles, reply bodies, local paths, credentials, screenshots and raw logs are omitted.

Update, October 19, 2026 (Asia/Shanghai): a later completed assistant reply in the same authorized original ChatGPT conversation was returned by the formal read_thread tool as a full agentMessage.text string, and was verified locally as readable complete text. This is a new-reply observation only: older content-reference replies have not been re-tested, and we do not claim that all messages or the separate application integration are repaired. The installed package query remains 26.1013.4894.0. No installed package, private data store, permissions or network setting was changed. No private reply text or identifiers are included in this update.

li948872431-prog avatar Oct 16 '26 20:10 li948872431-prog

Nueva comprobación en Windows del 18 de octubre de 2026.

La herramienta oficial check_app_update informa release 26.1013.40934, build 20770, canal prod, estado up_to_date. La consulta de paquete identifica OpenAI.Codex 26.1013.4894.0; son identificadores distintos. El lector oficial todavía devuelve una referencia de pantalla como todo el texto de respuestas completadas de un chat ChatGPT autorizado.

Inspección de sólo lectura del paquete instalado: en app-initial-5851df3f6cb1.js, la secuencia Wfo → Nfo → Afo llama KFr. Para contenido whole-message DIL, KFr conserva contentReferences y wholeMessageDilContentReferenceIndex, pero markdown pasa a ser una directiva. Afo devuelve ese markdown y omite la representación que conserva el cuerpo. Esto coincide con el mecanismo de #52559.

Preparé una corrección candidata únicamente para la proyección del lector: cuando wholeMessageDilContentReferenceIndex existe, usar las partes de texto originales o el fallbackMarkdown compatible con fallbackMarkdownVersion 1 mediante el helper existente; si ninguno está disponible, devolver un estado de cuerpo no disponible explícito. Mantener los filtros existentes de razonamiento, mensajes ocultos y herramientas, y las reglas actuales de usuario, paginación y truncado.

Ocho casos locales pasaron usando las funciones realmente extraídas del paquete y dependencias sintéticas explícitas para partes ajenas al lector: reproducción del marcador original, recuperación del fallback, prioridad del texto fuente existente, mensaje normal, anotaciones de adjuntos del usuario, exclusión de razonamiento/ocultos, fallback ausente o incompatible, e identidad/paginación/truncado. Son pruebas aisladas; no un arreglo aplicado ni una integración end to end.

No se modificó el paquete instalado ni se obtuvo el payload crudo de las respuestas reales. La lectura real sigue fallando. No se usaron Computer Use, DOM, endpoints privados, cookies o credenciales. El informe no contiene nombres, IDs o cuerpos de conversaciones privadas, rutas personales, datos del proyecto ni logs completos.

¿Pueden incorporar una extracción de texto orientada al modelo o indicar una vía oficial de resolución? La pérdida se puede reproducir en la conversión del cliente; pedir una respuesta simple no restauró el cuerpo en el lector.

pablomainieri avatar Oct 18 '26 03:10 pablomainieri

macOS read-only retest — October 19, 2026, approximately 23:56 PDT

Environment: ChatGPT Desktop 26.1013.40934, build 20770.

The official mcp__codex_app__read_thread tool was used with turnLimit: 10, includeOutputs: true, and maxOutputCharsPerItem: 20000.

  • Affected ChatGPT thread: all 4/4 completed assistant responses consisted solely of 95-character chatgpt-content-reference directives. No original assistant prose or additional structured body was returned.
  • Independent ChatGPT control: one readable 8,088-character assistant answer with three inline references.
  • Local Codex control: two readable final answers and three readable progress messages.
  • No supported resolver for source_message_id or chatgpt-content-reference, or supported alternative full-body retrieval operation, was identified in the exposed tool catalog.

These results reproduce the selective reference-only assistant-body symptom reported in #50329. They are consistent with the serialization explanation discussed in #52559, but this retest did not inspect raw message metadata or client internals and does not independently establish that mechanism or prove stored-content loss.

This update supersedes the earlier summary in this comment. No values are asserted here for isError, hasMore, or nextCursor.

The retest was read-only: no files, settings, or conversations were modified. Private thread, message and session identifiers, conversation content, and raw logs are omitted.

Could maintainers confirm a supported readable-body resolution path or a planned fix?

jbarberomoran avatar Oct 20 '26 06:10 jbarberomoran

Additional reproduction on Windows (2026-10-20, Europe/Paris), submitted at the affected user's request.

  • Installed MSIX package: OpenAI.Codex 26.915.4065.0, checked with Get-AppxPackage.
  • For a ChatGPT-backed conversation (kind: "chatgpt"), the official mcp__codex_app__read_thread call succeeded and returned readable user messages and completed turns, but assistant agentMessage.text contained only ::chatgpt-content-reference{index="2"} (other turns used index="0"). The owner could see the full assistant replies in the ChatGPT UI.
  • Reproduced with turnLimit: 10, includeOutputs: true, maxOutputCharsPerItem: 20000, and again with turnLimit: 1 using both default and expanded output settings. The result was not a truncation or pagination effect. No crash occurred.
  • Impact: the Codex task could not use a completed planning conversation to create the requested presentation.

I also sent the details through OpenAI Support chat. Its AI assistant said it could not create an internal ticket and requested an in-app feedback session ID, which is not available from this agent environment. Private conversation and message IDs, email address, and content are omitted here.

Qinghuan09 avatar Oct 20 '26 16:10 Qinghuan09

Additional read-only reproduction — October 21, 2026

Environment

  • Windows 11 x64, OS build 26200.
  • Running Codex MSIX package: OpenAI.Codex 26.1013.4894.0 (the running ChatGPT.exe process was verified to belong to this package).
  • Connected workspace shell: WSL2 Ubuntu 24.04.2 LTS; codex-cli 0.163.0. This is the CLI version, not the desktop app's About version; the desktop About release/build was not exposed to this reporting session.

Reproduction

  • Tested a separate ChatGPT-backed conversation using the official read_thread tool with turnLimit: 10, includeOutputs: true, and maxOutputCharsPerItem: 20000.

Observed

  • The read succeeded and returned readable user messages.
  • Four completed assistant replies contained only chatgpt-content-reference directives; their assistant bodies were not available.
  • The page reported hasMore: false and nextCursor: null.
  • Conversation title, IDs, and message content are omitted.

Mxyloto avatar Oct 21 '26 04:10 Mxyloto

Confirmed on macOS after updating to the latest production desktop build available to this installation.

Environment (verified October 21, 2026, Asia/Singapore)

  • macOS 27.0.1, arm64.
  • Desktop app 26.1016.51333, build 21161, prod. The app's update-check tool reports up_to_date.
  • The symptom was also observed before updating, on 26.1013.40934, build 20770.
  • Signed in with a ChatGPT account; subscription tier was not collected.

Observed first-party tool behavior A local Work/Codex conversation successfully sends material to an existing ordinary ChatGPT Chat conversation using mcp__codex_app__send_message_to_thread. The Chat conversation receives the input and its assistant turns complete. The user reports that the actual review text is visible in Chat and has manually copied it back.

Reading those completed assistant replies via the official mcp__codex_app__read_thread returns only a content-reference directive in agentMessage.text, not readable review content. Multiple completed replies exhibit this. Increasing maxOutputCharsPerItem to 16000 does not restore the body. After the client update, we re-read a previously affected reply and reproduced the same result: the original assistant text field is 95 characters long and consists entirely of the directive.

Sanitized response excerpt:

{
  "thread": {
    "kind": "chatgpt",
    "status": { "type": "idle" }
  },
  "turns": [
    {
      "status": "completed",
      "items": [
        {
          "type": "agentMessage",
          "text": "::chatgpt-content-reference{index=\"0\" source_message_id=\"<redacted>\"}"
        }
      ]
    }
  ]
}

The recheck used turnLimit: 1, includeOutputs: true, and maxOutputCharsPerItem: 16000, with pagination to the same existing affected reply. An earlier read of recent turns also showed the same representation.

Impact / expected behavior The outgoing prompt works, but the calling Work/Codex task cannot inspect Chat's completed review, forcing manual copying to complete a cross-conversation review workflow. Please return readable assistant content (or a useful readable summary if that is the intended contract), or provide a supported resolver and an explicit unresolved-content indication. A successful read containing only the rendering directive is not usable for checking the review.

The user also reports that mentioning the Chat conversation does not provide the missing body. We have not separately traced the mention implementation.

Timeline and scope The user reports this workflow worked on October 19 and began failing on October 20. This is this user's observation window, not a claim about the first globally affected version or date. Updating the client did not fix the reproduced read. We have not established whether the change is client-side, server-side, or a content-format rollout, and have not traced the current macOS bundle's conversion code.

Related: #52559 describes a potentially relevant reference/serialization mechanism on Windows; that analysis has not been independently verified on this macOS build.

No private conversation titles, conversation/message IDs, business content, local paths, credentials, screenshots, or raw logs are included. Codex assisted with this read-only verification and report; the user explicitly requested submission.

kim1st0913 avatar Oct 21 '26 07:10 kim1st0913

macOS 补充复现:本地读取两条已完成的 ChatGPT 助手消息,每条均只返回95字符正文引用,没有对应正文。安装包代码检查及隔离样例表明:格式化函数保留正文引用数据,但读取适配函数只返回 markdown,丢失对应数据。建议读取原始文字或经过版本校验的 fallbackMarkdown,并明确报告未解析正文。原型验证通过,尚未应用到客户端,真实消息尚未恢复。云端调用失败另行排查。

JamesYing1994 avatar Oct 21 '26 08:10 JamesYing1994

Additional macOS reproduction — October 22, 2026 (Asia/Shanghai)

Submitted at the affected user's explicit request. This adds a direct native-tool reproduction and the limits of our browser fallback to the existing issue.

Environment

  • macOS 26.6.2, build 25G83 (verified with sw_vers).
  • Installed desktop bundle identifier: com.openai.codex; version 26.1013.40934, build 20770 (read from the installed application's Info.plist, not an About-dialog screenshot or a claim that this is the newest available release).

Fresh direct reproduction Called the built-in mcp__codex_app__read_thread once on the existing affected ChatGPT-backed conversation:

{
  "threadId": "<redacted-chatgpt-conversation-id>",
  "turnLimit": 1,
  "includeOutputs": false,
  "maxOutputCharsPerItem": 20000
}

The call succeeded with isError=false, schemaVersion=1, kind="chatgpt", thread status idle, and one returned turn with status="completed" and error=null. The user message is readable. All three returned agentMessage.text values consist solely of a content-reference directive, with no readable assistant prose and no explicit truncation marker. The latest assistant item's shape is:

::chatgpt-content-reference{index="1" source_message_id="<redacted-assistant-message-id>"}

The source_message_id matches the corresponding assistant item ID. page.hasMore=true refers to older history; it does not supply the body missing from these already-returned messages. This direct call does not go through our local collection program.

Fallback observations from earlier collection attempts On October 21, the built-in browser rendered the affected assistant reply and its matching message ID, allowing a complete DOM-text recovery despite reference-only native output. On October 22, the built-in browser remained on a "Just a moment…" page; Chrome displayed "This response couldn't load" for the exact assistant message identified by the native read. These browser observations are separate from the fresh native reproduction above. They do not prove a shared root cause, but show why UI recovery is not a dependable unattended workaround.

Our workflow first observed the native symptom on October 20; this is not a claim about the first affected release or global onset.

Requested resolution Please provide resolved model-readable assistant text or a documented supported resolver, and distinguish unresolved bodies from successful readable content. The currently exposed tool schema offers no expand option, read_message, or get_message_detail operation. The conversion/serialization mechanism described in #52559 appears relevant, but we have not independently traced it in this installed macOS bundle.

Impact: a read-only daily-report collection workflow cannot verify the completed reply's contents. Replacing the whole answer with an opaque directive prevents validation even though the native call succeeds.

No private conversation titles, real conversation/message/session IDs, report or user-message text, local paths, credentials, screenshots, or raw logs are included. No application package, security setting, or cloud task was modified.

gaorunning avatar Oct 22 '26 00:10 gaorunning