feat(delegation): let agents spawn sub-agents without an @ mention - #478
Open
Adam-Dalloul wants to merge 1 commit into
Open
feat(delegation): let agents spawn sub-agents without an @ mention#478Adam-Dalloul wants to merge 1 commit into
Adam-Dalloul wants to merge 1 commit into
Conversation
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.
Merge order
#478)#480(Settings toggle for the same spawn-without-@behavior)#480includes this commit. Merge this on its own; do not squash#480first.The
delegate_to_agenttool already runs for every agent when delegation is enabled. The tool description told models that an@Agent/codeg://agent/mention is the trigger, so they waited for one.This updates the description (and the
agent_typefield) so a parent may spawn a listed agent on its own when a sub-task is independent and another listed slug is a better fit. An@mention must still be honored. Slugs stay the advertised enum (built-ins pluscustom:). The child still starts cold; this is not a whole-conversation fan-out, and it is not Grok's nativespawn_subagent.Tests
tools_list_returns_three_delegation_toolsnow asserts the self-initiate wording and that the old "mention IS the trigger" copy is gone.No UI change. No secrets. One concern.