Skip to content

Add subagent parent mailbox messaging - #18400

Closed
starr-openai wants to merge 1 commit into
mainfrom
subagent-parent-mailbox
Closed

starr-openai wants to merge 1 commit into
mainfrom
subagent-parent-mailbox

Conversation

@starr-openai

Copy link
Copy Markdown
Contributor

Summary

  • add a send_parent_message MultiAgentV2 tool exposed to spawned subagents
  • split mailbox delivery semantics into mode (queue/enqueue vs interrupt) and trigger_turn
  • wake parent wait_agent calls or start/defer parent turns without duplicate mailbox delivery

Validation

  • cd /Users/starr/code/codex-worktrees/subagent-parent-mailbox/codex-rs && just fmt
  • remote devbox: bazel test --bes_backend= --bes_results_url= --test_arg=parent_message //codex-rs/core:core-unit-tests-bin //codex-rs/tools:tools-unit-tests-bin
  • remote devbox: bazel build --bes_backend= --bes_results_url= //codex-rs/app-server:codex-app-server //codex-rs/cli:codex
  • remote app-server smoke: /tmp/subagent_parent_busy_interrupt_smoke.js
  • remote app-server smoke: /tmp/subagent_parent_queue_trigger_smoke.js

Notes

  • A full remote //codex-rs/core:core-unit-tests-bin run compiled this branch but hit existing ARC/MCP mock-env interference in five unrelated tests (arc_monitor / mcp_tool_call); the new multi-agent parent-message tests passed in that run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant