mirror of
https://github.com/openai/codex.git
synced 2026-10-25 07:55:34 +00:00
## Why Developer-message content and its positional `content_item_kinds` metadata must stay aligned when parent history is prepared for a spawned agent. ## What changed - Filter and rewrite developer-message content as annotated content so each retained item keeps its matching kind. - Rebuild both message content and annotation metadata together after removing parent-only instructions and multi-agent usage hints. ## Testing - Extend forked-history coverage to verify retained annotation kinds. - Assert that spawned child requests contain the same number of content items and annotation kinds. GitOrigin-RevId: 59748d9e8c4fc06ef8e5b90389bcf40465589f90