Files
codex/codex-rs/rollout-trace/src
cassirer-openai db72403243 Distinguish conversation item IDs from Responses IDs in traces (#62898)
## Why

The rollout trace reducer assigns ordinal IDs to reduced transcript nodes
and uses Responses item IDs to match wire items to those nodes. Using
strings for both lets callers mix up the two kinds of IDs.

## What changed

Make `ConversationItemId` a Rust newtype for transcript nodes and use
`ResponseItemId` for receipt and agent delivery lookups. Carry the typed
transcript IDs through snapshot reconciliation, compaction, and links to
tool calls, code cells, and agent interactions. Continue serializing
transcript IDs as strings such as `conversation_item:9`.

GitOrigin-RevId: 28a36266bc88e1cbc036d99a90b3f88e6966d328
2026-11-21 04:35:37 +00:00
..