Repository navigation
Transcript: a Codex turn header reads N previous messages over a mix, Worked for over one stretch - #31825
Conversation
Codex folds a turn with the agent messages between its work under N previous messages, and one stretch of work under Worked for. Claude turns keep their per-run folding (#30176). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-e9d08b9237cbd1067052
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-e9d08b9237cbd1067052
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Gallery before/after for
States
Pick other states with a Shipped in:
|
|
Owned by an agent session · session |
…1825 fix forward) (#31902) Agent-Session: https://cmux.com/deeplink/agent?id=aid-e9d08b9237cbd1067052 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Reply footer, part 3 of 3: Codex's turn header.
Leo, 2026-11-02: "compared to claude code our bottom thing looks bad ... i assume the x previous messages are when there's a mix and the worked for is if it's one contiguous thing. notice how on hover it reveals the exact timestamp. let's follow those."
A finished Codex turn's header now follows Codex:
The chevron and hairline rule are the existing
.cv-workeddisclosure, unchanged. Theturn.previous.one/otherstrings were already translated in Localizable.xcstrings, though nothing had setrow.previoussince turns without a summary stopped folding.Codex turns only. Claude turns keep their per-run folding from #30176 and draw no header. #30176 is not reversed.
Code. turns.ts
foldMixesMessages/foldedMessagessetpreviouson the WORKED row, andworkedLabelalready reads it. The model.ts comment is updated.Tests
conversation/codexHeader.test.ts: one stretch reads "Worked for 1m"; a mix of 5 calls and 1 note reads "6 previous messages"; a Claude turn draws no header.codex-turn-headers(a Codex chat). In Chromium the labels read["5 previous messages", "Worked for 54s"]. Invariant and shift baselines were added for it.Viewed after image: yes. 2x captures of the new gallery variant in light and dark show "5 previous messages ›" over the first turn and "Worked for 54s ›" over the second, each with its hairline rule, and the answer below.
Agent session: agent session
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Finished Codex turns now draw a turn header that matches Codex's own: "N previous messages" when the fold mixes the agent's messages with its work, "Worked for 1m" when the fold is one contiguous stretch of work.
codexHeader.test.tscovering the mixed, contiguous, and Claude cases, plus acodex-turn-headersgallery variant with baselines.Written for commit bba7ba2. Summary will update on new commits.