mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
## Why Agent roles should customize a child agent without expanding the authority or changing the provider configuration inherited from its parent session. ## What changed - Apply only supported role overrides for model behavior, developer instructions, personality, service tier, and capability reductions. - Preserve parent-owned permissions, model providers, endpoints, MCP servers, notifications, and other unrestricted configuration. - Keep managed feature requirements effective when a role disables capabilities, and reject symlinked user role files. - Use the same bounded role application path for both multi-agent implementations and resumed agents. ## Testing Add coverage for authority preservation, managed feature requirements, symlink rejection, provider inheritance, and provider routing after resume. GitOrigin-RevId: c528d615b691f9c02bfbc21154d514ea07743010