Repository navigation
fix(agents): Call noReply instead of a status after messaging a child - #3272
Merged
Merged
Conversation
#3187 stopped the status after spawnAgent. A message to an existing child agent through messageAgent still ended with a status, such as "I passed these to Cody". It posted and sent a push notification, though the child's reply posts when it arrives. The messageAgent description now has the same rule: when the reply posts to people and only says the message was sent, call noReply. Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BYK
approved these changes
Nov 12, 2026
BYK
marked this pull request as ready for review
November 12, 2026 15:05
BYK
enabled auto-merge (squash)
November 12, 2026 15:05
23 tasks done
This branch was successfully deployed
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.
Closes #3031.
#3187 stopped the status that Junior posted after
spawnAgent. When a person sends more work to an existing child agent throughmessageAgent, Junior still posts a status such as "I passed these to Cody". It marks the conversation unread and sends a push notification, though the child's reply posts when it arrives.The
messageAgentdescription now has the same rule asspawnAgent: after a message to a child agent, when the reply posts to people and only says the message was sent, callnoReply. A message to the parent agent or to a top-level agent does not change.With this rule and #3187, a status that only says work went to a child agent no longer posts. So #3031 does not need the separate "deliver without notifying" path that #3044 built.
Tests
evals/integration/conversation/subagents.eval.ts: the owning child agent case now continues with a person's follow-up that sends the named child more work. It checks that themessageAgentTurn posts nothing and the child's reply posts.Draft until the integration evals pass. The new prompt has no Roach recording yet, so I could not run it here. Typecheck, lint, and the tool adapter and child agent approval integration tests pass.
via @BYK.
--
View Session [Sentry]