Codex Desktop: allow per-selection follow-up comments/questions for selected text

Open 💬 5 comments Opened May 14, 2026 by polina-raznitsyna

What variant of Codex are you using?

Codex Desktop App

What feature would you like to see?

Add a per-selection follow-up workflow for selected text in Codex Desktop.

Instead of only collecting multiple selected text snippets into one shared context bundle for the next chat message, allow the user to attach a short comment/question to each selected snippet individually.

A possible flow:

  1. Select a phrase or passage in a prior assistant/user message.
  2. A small contextual action appears, for example Follow-up or Add follow-up.
  3. Clicking it opens a compact popover anchored to the selection.
  4. The user types a question/comment specific to that selection, for example What does this mean? or Can you verify this step?.
  5. The follow-up is saved as a small chip/card that keeps the selected quote and its comment together.
  6. The user can repeat this for multiple selections before sending.
  7. The composer shows separate follow-up chips/cards, each with its own quote label and attached comment.

Why this would be useful

The current selected-text workflow is useful for attaching context, but it becomes hard to use when the user has several independent comments or questions about different snippets.

Today, the user often has to write one large chat message and manually explain which comment belongs to which selected snippet. That becomes ambiguous once there are multiple selections, especially when the snippets are similar or far apart in the transcript.

In practice, this pushes users toward copying text from the assistant response, pasting it into the chat manually, and writing comments inline. That defeats the purpose of having selected-text context in the UI.

Example use case

A user reads a long assistant answer and wants to ask about two different parts:

  • Selection 1: Test Run
  • Follow-up: What does this mean?
  • Selection 2: Login and install Olden Era
  • Follow-up: And what about this?

These should remain separate, visible, and auditable as two follow-up items, instead of being merged into one selected-text bundle with one free-form user message.

Expected behavior

Codex should preserve the association between each selected text snippet and the user's follow-up text:

[1] "Test Run" - What does this mean?
[2] "Login and install Olden Era" - And what about this?

This association should be visible before sending and ideally also visible in the sent message/history view.

Relationship to another issue

This complements #22670, which asks for selected text references to remain visible in sent user messages/history. This request is specifically about attaching a distinct user comment/question to each selected text snippet before sending.

Reference UX

A similar workflow exists in Craft Agents as a Follow-up action: selecting text shows a contextual follow-up action, then a small popover accepts the user's question/comment and attaches it directly to that quote. The resulting composer state shows numbered follow-up chips that each combine the selected quote and the user-entered follow-up text.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗