Skip to content

fix(agents): Call noReply instead of a status after delegating - #3187

Merged
BYK merged 1 commit into
mainfrom
fix/silent-delegation
Nov 11, 2026
Merged

BYK merged 1 commit into
mainfrom
fix/silent-delegation

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

When a person asks for work and Junior hands it to a child agent, Junior posts a message a few seconds later that repeats the request ("I passed these to Cody…"). The message also sends a push notification. The child's result posts when it arrives, so this message adds nothing.

The cause is one sentence in the spawnAgent description: "End your turn with a short status." It now tells Junior to call noReply when the reply posts to people and only says the work started. A reply with an answer, a question, or a Thread's dashboard_url still posts. A child agent's final response goes to its parent, not to people, so the new rule does not apply to it.

This uses the noReply tool that is already on main. It changes no runtime code. #3040 tried this with the old [[NO_REPLY]] marker and was closed for the tool-based rewrite.

Tests

evals/integration/conversation/subagents.eval.ts: the owning delegation case now also checks that the first Turn posts nothing. The prompt in that case does not ask for silence.

Draft until the integration evals pass. I could not run them here because the new description has no Roach recording yet. The child-agent and tool adapter integration tests pass, and so do typecheck and lint.

via @BYK.

--

View Session in Sentry

The spawnAgent description told Junior to end the Turn with a short
status. In a person's Turn, that status repeats the task, posts a new
message, and sends a push notification seconds after the person wrote.
The child's result posts when it arrives, so the status adds nothing.

The description now says to call noReply when the reply posts to people
and only says the work started. A reply with an answer, a question, or a
Thread link still posts. A child agent's own final response, which goes
to its parent, does not change.

Co-Authored-By: BYK <[email protected]>
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 11, 2026 3:29pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

14 screenshot changes — 14 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Skill Editor · Desktop
Automation Skill Editor · Desktop
Changed
Automation Skill Editor · Mobile
Automation Skill Editor · Mobile
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Memory List Jump · Desktop
Conversation Memory List Jump · Desktop
Changed
Show 8 more changed screenshots
Conversation Question Picks And Text · Desktop
Conversation Question Picks And Text · Desktop
Changed
Conversation Question Stepper · Desktop
Conversation Question Stepper · Desktop
Changed
Conversation Share Details · Desktop
Conversation Share Details · Desktop
Changed
Conversation Stop Active · Mobile
Conversation Stop Active · Mobile
Changed
Conversation Text Attachment · Desktop
Conversation Text Attachment · Desktop
Changed
Conversations Sections Collapsed · Desktop
Conversations Sections Collapsed · Desktop
Changed
Push Notifications Tip · Desktop
Push Notifications Tip · Desktop
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed

@BYK
BYK marked this pull request as ready for review November 11, 2026 15:44
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 11, 2026
@BYK
BYK merged commit 6ca795d into main Nov 11, 2026
46 of 48 checks passed
@BYK
BYK deleted the fix/silent-delegation branch November 11, 2026 15:50
BYK added a commit that referenced this pull request Nov 12, 2026
…#3272)

Closes #3031.

#3187 stopped the status that Junior posted after `spawnAgent`. When a
person sends more work to an existing child agent through
`messageAgent`, 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 `messageAgent` description now has the same rule as `spawnAgent`:
after a message to a child agent, when the reply posts to people and
only says the message was sent, call `noReply`. 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 the `messageAgent` Turn 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.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:local%3Aweb%3A22ee8ffd3d20fc5c02b510ca -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/local%3Aweb%3A22ee8ffd3d20fc5c02b510ca)
[[Sentry]](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A22ee8ffd3d20fc5c02b510ca/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 62a6b5ab Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant