You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Conversation search: a pick says missing for a Codex prompt whose picture was paired after the search #3003
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.
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
fix(chat): a search pick reads back past a later answer that took a g…
fix(chat): a search pick finds a Codex prompt after its picture is pa…