GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(opencode): coordinator-messaging — sibling/coordinator subagent communication by iceteaSA · Pull Request #38943 · anomalyco/opencode Conversation
|
| Scenario | Exercises | Result |
|---|---|---|
| 1→1 sibling send | basic enqueue → drain → deliver | pass |
| N→1 fan-in (hub) | concurrent enqueue (race-free), batched drain, per-sender attribution | pass |
| N→coordinator→parent→coordinator→N | full round-trip incl. the parent-decision step | pass |
| Full mesh (every edge) | deadlock-freedom under simultaneous A↔B 2-cycles | pass |
| Allow-list denial | unauthorized sibling target rejected | pass |
| Unspawned target | allow-listed-but-not-spawned → has not spawned yet |
pass |
expect_reply on a peer |
rejected at the tool boundary (fire-and-forget only) | pass |
| Outbound budget | 21st send → per-agent outbound budget (20) reached |
pass |
| Dedup | identical (sender, body) ×2 → recipient receives one |
pass |
task_steer during messaging |
interrupt (#32425) + inbox drain coexist at the same boundary | pass |
UI surface is small and reuses #38942's marker render path: inbox deliveries show a muted ✉ Inbox from <slug> row in the recipient's transcript (same mechanism/styling as ✉ Message from subagent). No new components.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found The searches show that PR #38943 (current PR) is properly declared as stacked on its dependencies (#38942 and #32425) and related to the agent-team coordination feature (#19215). The only related open PR found is #38944 (session-to-session messaging), which addresses a different layer of communication. All other results are either the current PR itself or its explicitly declared dependencies/references. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
c78a116 to
890d43f
Compare
890d43f to
ba58f63
Compare
ba58f63 to
dfb0f7a
Compare
dfb0f7a to
4528186
Compare
4528186 to
d1b1960
Compare
Lets a subagent message the agent that spawned it — ask a question and block for the answer, or send a fire-and-forget update — instead of only being able to ask the human. The parent replies with the same tool. A send wakes the parent's parked task wait through a background-job channel and parks on a reply Deferred held by a per-instance Messaging service, so no new session state is needed. Replies are bounded by a timeout, the channel is separate from the promotion channel, and a missing parent fails fast. Off by default behind OPENCODE_EXPERIMENTAL_AGENT_MESSAGING. Injected parent messages carry the parent session model and variant explicitly, so an injected message cannot fall through to the agent default and switch the session model.
Lets a parent agent (via tools) or the human (via TUI esc) steer, gracefully cancel, or hard-abort a single running Task subagent mid-run, without affecting the parent or sibling subagents. A per-instance Interrupt service holds one pending interrupt per child plus a terminal record; the child consumes it at its own runLoop turn boundary. Steer injects a frame and the child adapts and continues; cancel injects a frame, records a terminal, and force-breaks within a grace window; abort cancels the BackgroundJob immediately. Interrupt tools reach any descendant through a bounded ancestry walk that fails closed off the caller's subtree. Off by default behind OPENCODE_EXPERIMENTAL_SUBAGENT_INTERRUPT.
…communication Lets the sibling subagents one parent spawns message each other directly instead of routing everything through the parent. The surface is one composable primitive — a per-child allow-list (`message_allow`) — so the parent builds whatever graph it wants: hub, mesh, or chain. Peer sends are fire-and-forget; the synchronous round-trip stays parent-only, which is what keeps siblings deadlock-free. Slugs are parent-owned handles resolved through a registry, authorized at send time against both the allow-list and true sibling-hood. Recipients drain a FIFO inbox at their own turn boundary, batched so an M-member graph costs O(1) turns per drain. The interrupt tools also accept a slug task_id, resolved through the same registry and still subject to the full ancestry check. Off by default behind OPENCODE_EXPERIMENTAL_AGENT_MESSAGING.
d1b1960 to
13af75e
Compare
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[FEATURE]: Sibling subagents cannot talk to each other without routing through the parent
There was an error while loading. Please reload this page.