fix: v4.46.0 — clarify SendMessage is teammate-only (Mode A), not subagent dispatch#32
Merged
Merged
Conversation
…agent dispatch Mode B (Subagent Fan-Out) docs told the coordinator to 'Use SendMessage to resume subagents', but plain subagents (dispatched by subagent_type with no name) are not addressable. Following that guidance nudges an agent to attach a name, which converts the target into a teammate — and a coordinator already running as a teammate then trips 'Teammates cannot spawn other teammates — the team roster is flat'. - coordinator.md: replace the misleading Mode B Communication line with the correct one-shot-subagent semantics + explicit flat-roster warning - build.md: drop SendMessage from the SUBAGENT MODE tool list - SKILL.md: tag Communication Channels 1-2 as Mode A / teammate-only Prose-only; no dispatch call changed. Version 4.43.0 -> 4.46.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mode B (Subagent Fan-Out) docs told the coordinator to "Use SendMessage to resume subagents" — but plain subagents (dispatched by `subagent_type` with no `name`) are not addressable. Following that guidance nudges an agent to attach a `name`, which converts the target into a teammate — and a coordinator already running as a teammate then trips "Teammates cannot spawn other teammates — the team roster is flat".
Prose-only clarification across the three dispatch-doc sources. No actual dispatch call changed (they were already correct —
subagent_typeonly, noname).Changes
agents/coordinator.md— Mode B "Communication:" line rewritten: subagents are one-shot (collect return value; dispatch fresh to continue), with an explicit flat-roster warning. Removed "Use SendMessage to resume subagents".commands/build.md— droppedSendMessagefrom the SUBAGENT MODE tool list ("plain subagents only").skills/dev-squad/SKILL.md— tagged Communication Channels 1–2 (SendMessage) as Mode A / teammate-only + added a caveat note.4.43.0→4.46.0(both manifests).Versioning
Sits above the in-testing PRs #30 (4.44.0) and #31 (4.45.0) so this release does not force those to renumber. Both remain open/unmerged.
Verification