mirror of
https://github.com/openai/codex.git
synced 2026-11-06 20:20:34 +00:00
## Why A message's model-visible item ID may be unknown until the recipient records it. Message lifecycle observers need to capture publication state before that point. ## What changed Remove `message_id` from `MessageLifecycleInput` and give each publication's `ExtensionData` a fresh UUID key. Stop assigning an item ID when publishing messages for lifecycle observers. ## Testing Update the agent mailbox test to store a contributor-specific token in `ExtensionData` at publication and retrieve it at consumption, verifying that publication state survives queued delivery and recipient eviction. GitOrigin-RevId: e254f94994d0976e61cb46ee23297f3248b9a389