codex icon indicating copy to clipboard operation
codex copied to clipboard

[macOS][Work] Current DOCX attachment silently replaced by an unrelated document until screenshot-based correction

Open fakepooh opened this issue 21 hours ago • 2 comments

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

Desktop client version reported by the current session: 26.1120.50957 (macOS, arm64). The affected session's About dialog was not independently checked.

What subscription do you have?

Pro (Prolite).

What platform is your computer?

macOS, Apple Silicon.

What issue are you seeing?

Observed on December 1, 2026, in ChatGPT Work in the desktop app, using a custom resume-validation skill.

The user attached a DOCX resume for candidate A and requested validation against a target formatting template. Instead of using that attachment, the assistant selected an unrelated DOCX resume for candidate B from earlier context and issued a compliance assessment for the wrong document.

After the user attached candidate A's DOCX a second time and explicitly pointed out that it had already been supplied, the assistant continued to identify candidate B's document as the attachment. It claimed to have checked its text and requested another upload.

Only after the user sent a screenshot of the conversation showing the attachment filename and the conflicting assistant responses did the assistant acknowledge the substitution. Without another DOCX upload, it then reported findings for candidate A's document, including two substantive template violations. The earlier assessment of candidate B had reported no required structural corrections.

At this point, the assistant reported access to extracted text only and said it could not verify the original DOCX package or page layout.

In a subsequent turn in the same conversation, without another source upload, the user requested conversion of the intended document into the target template. The assistant returned a newly generated DOCX as a visible Word attachment. It reported preserving three roles, twelve experience bullets, and eight skill categories, applying the structural corrections, and checking the output package integrity and matching its non-main-document parts against the template. Visual page rendering and saving to Library still failed, according to the assistant.

This shows that the assistant reported using the intended content and returned a DOCX after the screenshot-based correction. Its checks have not been independently verified. Generating a new DOCX from extracted text and a separate template does not by itself prove access to the original uploaded DOCX binary or its original formatting.

What steps can reproduce the bug?

Observed sequence (not yet a controlled reproduction in a fresh chat):

  1. In a Work conversation with prior context about document B, attach a different DOCX document A directly to a new message.
  2. Ask a document-validation skill to check the attached document against a target template.
  3. Observe that the assistant selects document B and reports findings for it instead.
  4. Clarify the target template and observe that the assistant continues analyzing B.
  5. Attach A again and explicitly point out that this is the document to analyze.
  6. Observe that the assistant still claims B is the uploaded document and asks for another upload.
  7. Send a screenshot showing the mismatch between the actual attachment and the assistant's response.
  8. Observe that the assistant corrects the document selection and reports findings for A without requiring a third DOCX upload.
  9. In the same conversation, request conversion of A into the target template. Observe that the assistant returns a new DOCX attachment without another source upload, while reporting that page rendering and saving to Library failed.

What is the expected behavior?

  • An explicitly attached document in the current request must take precedence over unrelated documents in prior context or search results.
  • The assistant should verify the identity of the source actually being analyzed against the current attachment.
  • If the attachment is inaccessible or only partially readable, it must report that limitation accurately and must not silently substitute another document or issue a compliance verdict for it.
  • A repeated attachment and an explicit correction should resolve the document identity without requiring a screenshot of the conversation.
  • Text-only validation must be clearly distinguished from verification of the original DOCX formatting and internal structure.

Additional information

Partial workaround: Send a screenshot of the conversation that visibly demonstrates the mismatch. In this occurrence, that was sufficient to get the assistant to report findings from the intended document's extracted text without uploading it again. The assistant subsequently returned a converted DOCX attachment in the same conversation without another source upload. Access to the original DOCX binary and successful visual validation remain unverified. Distinguish source attachment identity/access from output artifact generation when investigating.

Impact: Incorrect source attribution can lead to false document-compliance decisions, especially in recruitment, legal, financial, and other document-review workflows. This is a result-integrity problem, not merely an upload failure.

Related reports:

  • #62667 — attached DOCX/PDF/TXT files unavailable in the macOS desktop app.
  • #58432, specifically https://github.com/openai/codex/issues/58432#issuecomment-6620010153 — a reported older-workbook substitution symptom in Work Cloud on Windows.

The root cause is not established. Possible explanations include attachment delivery or binding, stale-context retrieval, source prioritization, or model/tool behavior. No diagnostic traces or controlled file-ID checks have been collected. The exact model and execution backend of the affected session were not recorded.

The original screenshots and resumes contain third-party personal information and are intentionally not included in this public report. Candidate identities and company-specific filenames have been anonymized.

fakepooh avatar Dec 01 '26 16:12 fakepooh

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #64460
  • #64074

Powered by Codex Action

github-actions[bot] avatar Dec 01 '26 16:12 github-actions[bot]

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

Reviewed both suggested issues:

  • #64460 reports an unavailable DOCX attachment on Windows. In #65031, the assistant instead selects an unrelated earlier document and issues a compliance assessment for the wrong source, even after the intended DOCX is attached again.
  • #64074 reports intermittent resolution failures for automatically generated Pasted text.txt attachments in Work on the web, including the risk of stale-context analysis. This is closely related, but does not document the same observed DOCX substitution and screenshot-based recovery sequence.

In #65031, providing a screenshot of the conversation showing the mismatch was sufficient for the assistant to report findings for the intended document and subsequently return a converted DOCX, without another source upload. Access to the original DOCX binary remains unverified.

These reports may share an underlying attachment-resolution or source-selection defect, but that has not been established. Keeping #65031 open to track this distinct, observed result-integrity failure until the relationship is confirmed.

fakepooh avatar Dec 01 '26 16:12 fakepooh