mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
## Why Only catalog role instructions carried the `<multi_agent_role>` tag, so the same guidance appeared in different formats depending on its source. ## What changed Render bundled, catalog, and configured root and subagent guidance as `multi_agent.role_instructions` developer messages. Wrap the guidance in `<multi_agent_role>` tags and preserve configured text that's already tagged. Match untagged parent guidance by its body when filtering forked history. ## Testing Update prompt and session assertions for tagged role instructions, and keep the cold-resume test exercising a rollout with legacy untagged guidance. GitOrigin-RevId: 60c55b5d7227811b92bd1bf125f1cd3a965720fd