Skip to content

Conversation search: a pick says missing for a Codex prompt whose picture was paired after the search #3003

Closed

Description

@devswha

Split out of #2993 (second case in its comments); #3001 fixes the first case only.

What happens

Codex can record a user prompt with an inline picture first (response_item) and pair it with the user_message event carrying the picture's local path a moment later (server/codex.ts prefers the event's picture). A conversation search that lands between the two records names the turn by the inline picture (conversationTurnAnchor). Once the records are paired, the first part's name changes, and picking that result says the message is no longer in the conversation. It never opens a wrong turn.

Why #3001 does not fix it

Both pictures are named by a hash (codex-<sha256> of the data URL or of the path), so the client cannot tell "the inline copy became its local path" from "another picture of the same time and words". A rule accepting any picture first was tried in #3001 and reverted: a review reproduced it opening a different prompt (red.png searched, blue.png opened).

Direction

A per-turn identity that survives the pairing (for example, the reader keeps the first record's picture ref, or marks which ref is an inline copy), so the pick can prove it is the same prompt.

Activity

  1. added a commit that references this issue on Nov 5, 2026
    6a4d93a
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions