Skip to content

Preserve authored commentary after tool activity; final answers can be less engaging than the interim prose they replace #42017

Open

Description

@mcqueary

Summary

During a single Codex Desktop turn, the assistant sometimes displays a polished, personable commentary message before performing a tool action. When the UI transitions into statuses such as “Planning” or “Reading,” that authored message is replaced or collapsed. The later final answer may preserve the operational result while losing the humor, phrasing, or personality that made the earlier message enjoyable.

This does not generally prevent task completion. It intermittently makes the completed interaction less engaging than what the user already saw during the turn.

Observed behavior

  1. The assistant emits a complete user-facing commentary message.
  2. The message is visible briefly and may contain useful context, humor, or distinctive phrasing.
  3. Tool activity begins and the same area changes to a planning, reading, or similar activity display.
  4. The final answer appears.
  5. The original commentary is no longer readily visible, while the final answer may be flatter or less memorable.

A sanitized local event inspection confirmed that the original prose remained persisted as a completed AgentMessage with phase: commentary, followed by tool activity and a separate final_answer. This suggests a presentation or transcript-retention issue rather than context compaction.

Expected behavior

Completed authored commentary should remain accessible after the turn, perhaps as an expandable progress item. Another possible solution would carry salient user-facing prose into the final answer before collapsing the interim display.

Ephemeral activity labels and intentionally authored commentary should receive different retention treatment.

Impact

  • Enjoyable or unusually apt language can disappear after the user has already read it.
  • The final transcript may underrepresent the quality and personality of the actual interaction.
  • Long-running specialist or personal-assistant workflows feel slightly less continuous.
  • Users may reasonably interpret the replacement as the assistant revising itself downward.

The user described this as an intermittent reduction in cleverness and entertainment value, rather than something that ruins the overall experience.

Environment

  • Codex Desktop 26.825.51511, build 7377
  • macOS 26.6.2, build 25G83

Privacy

No private transcript, health information, names, task identifiers, or local paths are included. Sanitized event-shape evidence can be supplied privately if requested.

Related

Related to phase handling, though distinct from the SDK-specific problem in #30190.

Activity

  1. added
    bug
    app
    session
    on Sep 1, 2026
  2. github-actions commented on Sep 1, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. emilfihlman commented on Sep 3, 2026

    @emilfihlman

    Confirmed on Linux with a more severe long-running steering/interleaving case.

    Environment

    • Codex Desktop 26.803.81509
    • Debian GNU/Linux 13, x86_64
    • One local task turn lasting approximately 46 minutes

    Observed behavior

    During the active turn, eight user follow-up messages were accepted. Seven complete assistant replies were emitted among them as AgentMessage records with phase: commentary and were visible during the live interaction.

    After the eventual final_answer and task_complete, the normal desktop transcript retained all eight user messages but displayed none of those seven assistant replies. The result is a visibly false chronology in which the user appears to send repeated corrections and instructions without receiving any responses.

    Read-only inspection confirms:

    • The raw rollout still contains all seven assistant messages.
    • The app’s thread reader returns all seven as phase: commentary.
    • The final answer remains present.
    • Two context compactions occurred later, but the missing messages remain intact in both retained sources.
    • The final answer was recorded at 18:54:22.702Z and task_complete at 18:54:22.888Z; no follow-up was submitted during that interval.

    This therefore does not appear to be model-generation failure, persisted-data deletion, or the final_answer → immediate-steer race documented in #39011. The evidence points to the completed-turn transcript projection or folding behavior omitting persisted commentary messages.

    This case also raises the impact beyond losing memorable phrasing. The hidden messages contained operational diagnoses, acknowledgements of corrections, safety constraints, and confirmations of requested actions. Their disappearance destroys the causal and audit trail of the conversation.

    Expected behavior

    Every user-visible commentary message should remain recoverable in chronological position after task completion. If commentary is collapsed, the UI should retain an expandable completed-turn element containing every authored message. It must not hide assistant replies while leaving the user messages that responded to or triggered them visible.

    Related: #39011 and #41729.

  4. emilfihlman commented on Sep 7, 2026

    @emilfihlman

    Root-cause analysis and candidate Linux desktop fix

    Following up on the Linux report above: I traced a reproducible message-hiding path in the installed renderer from Debian package chatgpt version 26.901.51231 and identified a candidate fix for completed-turn collapse.

    Source and proposed solution: chatgpt-message-visibility-patcher, including the one-line renderer change. Maintainers are welcome to use this as the source for the code and port the change into the desktop renderer.

    Located cause

    In webview/assets/subagent-activity-chip-group-f888d636e4fc.js, the minified KE function decides which standalone activity units remain visible when activity is collapsed. Its existing cases retain certain interactive tools and user messages with steering or hook metadata, but exclude assistant messages. GE partitions the units, $E allows automatic collapse after the final answer starts, and tD renders the persistent units outside the collapsed activity body.

    Earlier assistant replies can therefore remain in the renderer's input while disappearing from the normal collapsed transcript. Interleaved user follow-ups can stay visible, creating an apparently unanswered sequence of instructions.

    Minimal candidate change

    Preserve the existing tool cases and replace the classifier's final predicate:

    - i.type === `user-message` &&
    -   (i.steeringStatus != null || i.hookFeedback === true)
    + i.type === `assistant-message` || i.type === `user-message`

    This keeps standalone authored messages persistent, including commentary and earlier final answers. It deliberately favors keeping authored prose visible even when some text repeats. The change is limited to renderer visibility.

    Isolated reproduction and validation

    The synthetic sequence was: user U0, commentary A1, a tool row, accepted steering user U1, final F1, a second tool row, commentary A2, final F2.

    • Original collapsed view: U0, U1, F2. A1, F1, and A2 are hidden.
    • Patched collapsed view: all six authored messages, in source order; tools remain collapsible.
    • Expanded view: the same eight rows before and after the patch, each appearing once.

    The browser harness executed the shipped collapse component and decision functions with substitute providers, unit projection, message leaves, and animation wrappers. Live-to-final transitions, expand/re-collapse, and serialized fixture/browser reload checks passed. Separate renderer projection tests passed 577 assertions over 64 synthetic snapshots. Archive tests covered syntax, integrity hashes, unchanged offsets and unrelated bytes, idempotence, backups, rollback, and permissions; synthetic compatible-upgrade cases also passed.

    These are component and archive checks, not a full desktop end-to-end or app-server persistence test. Reconnect, history pagination, and mobile behavior remain outside the verified scope.

    The linked repository provides a reversible local installer with automatic reapplication after compatible APT updates. Unknown renderer structures are left untouched with a warning. The original one-line contribution is available under MIT OR CC0-1.0; original tooling is MIT, with Acorn's separate MIT notice retained.

    All original work on the patch project, including this investigation and report, was done with GPT-6 Astra Ultra.

    Related: #39011. Since the affected desktop source is absent from the public tree, this is offered as issue-based diagnosis and reusable solution code for maintainer adaptation.

  5. mcqueary commented on Sep 9, 2026

    @mcqueary
    Author

    Thanks, @emilfihlman — this analysis is highly consistent with the evidence behind my original macOS report. In my case, the missing commentary remained persisted as completed AgentMessage records with phase: commentary; it disappeared only from the normal completed-turn transcript after the surrounding activity collapsed.

    Your renderer-level finding therefore provides a plausible mechanism for the macOS symptom as well, although I understand that the candidate patch and component tests cover the Linux package only.

    I’d be happy to test an official macOS build containing the corresponding change, or to provide sanitized event-shape evidence if that would help. A useful cross-platform regression case would include interleaved user steering, multiple commentary messages, earlier final answers, tool rows, and an expand/re-collapse cycle.

  6. emilfihlman commented on Sep 9, 2026

    @emilfihlman

    @mcqueary I suspect that the linux and mac versions are basically identical, and you should be able to apply the patch (I also now include a version that doesn't collapse anything but makes them darker, though it's alpha software without warranties), with the difference really only being packaging for mac and deploying there. I'm quite confident you could easily have the patch apply directly, even if the automated apt hook doesn't work for you, by asking an assistant to do it for you.

    Pull requests are also very welcome if you task a suitable agent at fixing your mac one app using my code. I'll happily merge requests to enable support for other platforms.

  7. emilfihlman commented on Sep 21, 2026

    @emilfihlman

    Updated the patcher for Linux chatgpt 26.915.31945. The app update changed the renderer and broke the previous matches. The new patch targets the collapse decisions; all mode keeps messages and activity visible, with dimming for collapsed content.

    Fully quit and reopen ChatGPT after applying it. Details in #43618.

    Written by Codex at the user’s request to update this discussion.

  8. anrusina commented on Oct 1, 2026

    @anrusina

    Reporting another macOS desktop occurrence on 2026-10-01 (ChatGPT desktop app 26.928.20755, build 12246; macOS 26.5.1).

    During a long task, the assistant showed several substantive commentary messages while working. One contained a numbered, concrete proposed fix that the user needed to review. After the assistant sent its final answer, the completed chat showed only that last answer; the intermediate messages were no longer readily visible. The final answer said the finding remained open but did not repeat the detailed proposal. The user had to ask the assistant to reconstruct it.

    This is more than lost progress narration: the collapse hid a decision-relevant recommendation. Expected behavior is that authored assistant commentary remains accessible in chronological order after completion, even if tool activity collapses. I have not inspected this session's persisted event records, so this report is based on the user's immediate observation in the desktop UI. No private transcript or project details are included.
    -- Written by Codex at the user’s request

    Note from user : For that specific occurrence there were no "Worked for XXX" collapsible section visible at all, in other cases I see collapsible item - but on click it doesn't show all reconstruction only version of a different also collapsed message. I find it useful to read working notes, especially while I am actively working on LLDs ( Low level documentation from which development will be mainly automated).
    -- Written by user as she still reviews AIs work ;)_

  9. blucca commented on Nov 29, 2026

    @blucca

    @anrusina, your numbered LLD proposal is the kind of working note worth reviewing in its original wording rather than asking for a reconstruction.

    If you can open that local Codex thread in CLI, /export → Save to file with a new Markdown filename gives you an editor-searchable transcript. If it was ordinary ChatGPT Chat, the same conversation in Web is worth checking first; DashiHan recovered completed replies that way.

    Is there an LLD you are reviewing now where one of those earlier proposals still matters, and does your usual transcript or documentation contain it? I maintain free Codex Desk and can help locate that one original passage if it is still missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions