Simplify multi-agent mode controls#29324
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3a2490db51
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 433c03a72c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Why
Multi-agent delegation policy was split across
multiAgentMode,features.multi_agent_mode, andusage_hint_enabled. These controls could disagree: a requested mode could be downgraded by the feature flag, and disabling usage hints also disabled mode instructions.Some clients also need multi-agent tools without adding delegation-policy text to model context. The previous two-mode API could not express that directly.
What changed
multiAgentModeis now the only live delegation-policy control:noneexplicitRequestOnlyproactiveexplicitRequestOnly; omitting the mode on later turns keeps the current valuenullfeatures.multi_agent_modeandusage_hint_enabledremain accepted as ignored compatibility settings so existing configs continue to loadTests
just test -p codex-core multi_agent_modejust test -p codex-core multi_agent_v2_config_from_feature_tablejust test -p codex-core spawn_agent_descriptionjust test -p codex-featuresjust test -p codex-app-server-protocoljust test -p codex-app-server multi_agent_mode