Skip to content

fix(events): Post Watch replies that must reach a person, fold silent Event Turns - #2875

Merged
BYK merged 1 commit into
mainfrom
fix/quiet-reply-follow-up
Nov 7, 2026
Merged

BYK merged 1 commit into
mainfrom
fix/quiet-reply-follow-up

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Follow-up to #2659.

Quiet replies that had to reach a person. In prod, Junior marked some merge and review notices quiet even when the Watch said to mention the person who asked. Those notices never reached Slack. This happened in Slack threads, web Conversations, and child agents, and also to some replies that asked a question. The quiet rule in the Event reply contract now excludes replies that the instructions send to a person and replies that ask a question. The fix is prompt-only: deciding what counts as a notice is a semantic choice, so core does not check for mentions.

New eval in evals/coding/subscriptions.eval.ts: a pull_request.merged delivery on the Watch that Junior adds after it opens a PR. The reply must post, mention the person who asked, and not be quiet.

Silent Event Turns in the web view. An Event Turn that ends with [[NO_REPLY]] stores no reply, so its Event message stayed visible unless a quiet reply came after it. The transcript now reads turn_lifecycle no_reply and folds that Event message into the activity row. The API already sends this state, so the API and schema do not change.

Screenshots

The screenshots come from mock dashboard data with a temporary Watch conversation (not committed): one bot comment with no reply, a check failure fixed with a quiet reply, a second bot comment with no reply, then a merge notice.

Before: the second bot comment stays visible because no quiet reply follows it.
before

After, collapsed:
after collapsed

After, expanded:
after expanded

Verification

  • task-input unit tests, dashboard tests (393), eval harness tests, typecheck, lint, file-length all pass locally.
  • The new eval did not run locally because the sandbox has no model credentials. It runs in CI.

via @BYK.

--

View Session in Sentry

… Event Turns

Junior marked merge and review notices quiet even when the Watch said to
mention the person who asked, so they never reached Slack. The quiet rule
now excludes replies the instructions send to a person and replies that
ask a question.

The web transcript now also folds an Event message whose Turn ended
without a reply, so silent Watch events stop filling the transcript.

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

vercel Bot commented Nov 7, 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 7, 2026 12:34pm UTC

Request Review

@BYK
BYK marked this pull request as ready for review November 7, 2026 12:38
@BYK
BYK enabled auto-merge (squash) November 7, 2026 12:38
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 7, 2026
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

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

Review screenshots in Frameshift

Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Captured Memories Popover · Mobile
Conversation Captured Memories Popover · Mobile
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Details Watched Linked Work · Mobile
Conversation Details Watched Linked Work · Mobile
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed
Show 1 more changed screenshot
System Cache Tokens · Desktop
System Cache Tokens · Desktop
Changed

@BYK
BYK merged commit 949a41a into main Nov 7, 2026
48 checks passed
@BYK
BYK deleted the fix/quiet-reply-follow-up branch November 7, 2026 12:41
BYK added a commit that referenced this pull request Nov 9, 2026
…rns (#3033)

Push notifications did not follow the quiet rules from #2659 and #2875.

`notifyReply` took the last assistant text from the run transcript. That
is the raw model text, so:

- A Turn that ended with `[[NO_REPLY]]` pushed a notification with that
marker as its preview.
- A quiet Watch reply still pushed. Slack delivery and the unread count
already skip it.

A probe test on `main` confirmed both: each of these Turns sent one
push.

`notifyReply` now reads the Message that the Turn stored
(`<turnId>:assistant:N`), which is the text that the person sees. When
the Turn stored no Message, it skips with `no_reply`. When the Message
is quiet, it skips with the new `quiet` skip reason. The preview now
uses the stored text, so it never shows a marker.

The owning test in `reply-notification-task.test.ts` now stores the
Message like a real Turn and checks that a no-reply Turn and a quiet
Turn send nothing.

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

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

--

[View Session in
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 — 411fb2f1 Deployed Nov 7, 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