Skip to content

[codex] Rename multi-agent v2 assign_task to followup_task#25636

Merged
jif-oai merged 1 commit into
mainfrom
jif/rename-assign-task-followup-task
Jun 1, 2026
Merged

[codex] Rename multi-agent v2 assign_task to followup_task#25636
jif-oai merged 1 commit into
mainfrom
jif/rename-assign-task-followup-task

Conversation

@jif-oai
Copy link
Copy Markdown
Collaborator

@jif-oai jif-oai commented Jun 1, 2026

Summary

Renames the MultiAgentV2 turn-triggering tool from assign_task to followup_task so the exposed tool name better describes sending an additional task to an existing agent.

This updates the tool spec, handler/module names, registry wiring, default multi-agent v2 usage hints, and tests. Rollout trace classification keeps accepting legacy assign_task events so older traces still reduce correctly, while docs show the new tool name.

Test plan

  • just test -p codex-core followup_task
  • just test -p codex-core -E 'test(multi_agent_feature_selects_one_agent_tool_family) | test(multi_agent_v2_can_use_configured_tool_namespace) | test(code_mode_only_can_expose_namespaced_multi_agent_v2_as_normal_tools)'
  • just test -p codex-rollout-trace
  • just fix -p codex-core
  • just fix -p codex-rollout-trace

Notes: just fmt ran cargo fmt but failed in the Python ruff phase because the local environment could not resolve hatchling>=1.27.0 from the configured internal registry. A full just test -p codex-core also hit unrelated environment-sensitive integration failures involving missing spawned test binaries/sandbox behavior; the changed multi-agent spec/handler tests passed in the filtered runs above.

@jif-oai
Copy link
Copy Markdown
Collaborator Author

jif-oai commented Jun 1, 2026

@codex review

@jif-oai jif-oai marked this pull request as ready for review June 1, 2026 17:50
@jif-oai jif-oai requested a review from a team as a code owner June 1, 2026 17:50
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c9bdb5255b

ℹ️ 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".

Comment thread codex-rs/core/src/config/mod.rs
Comment thread codex-rs/core/src/tools/handlers/multi_agents_v2/followup_task.rs
Comment thread codex-rs/core/src/tools/handlers/multi_agents_v2/followup_task.rs
@jif-oai
Copy link
Copy Markdown
Collaborator Author

jif-oai commented Jun 1, 2026

For the record, we don't care about legacy

@jif-oai jif-oai merged commit 6ddb747 into main Jun 1, 2026
31 checks passed
@jif-oai jif-oai deleted the jif/rename-assign-task-followup-task branch June 1, 2026 17:57
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants