Repository navigation
fix(chat): silence trailing [[NO_REPLY]] per message - #1761
Merged
Merged
Conversation
Models often append prose then [[NO_REPLY]] on silent task runs. After #1714 those mixed replies posted to Slack instead of staying silent. Treat text that ends with the marker as intentional silence, and strip any remaining marker leaks from delivered answers. Evidence: https://sentry.slack.com/archives/C0AHB7N2JCR/p1788348647293299 Co-Authored-By: Bojan Oro <[email protected]>
Models often put reasoning before the silence marker. Treat the last terminal assistant unit as intentional silence when it is exactly the marker or ends with a marker-only line, and drop earlier reasoning in that block. Hold progressive tool-free delivery one step so a following marker can cancel prior text. Evidence: https://sentry.slack.com/archives/C0AHB7N2JCR/p1788348647293299 Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
marked this pull request as ready for review
September 2, 2026 13:48
Contributor
|
8 screenshot changes — 8 changed · 0 added · 0 removed Review screenshots in Frameshift
|
Only suppress the assistant message that is the marker (or ends with a marker-only line). Do not hold earlier tool-free replies. Strengthen the shared task reply contract so silent automation turns ask for exactly [[NO_REPLY]] and nothing else. Co-Authored-By: David Cramer <[email protected]>
When the last terminal assistant unit is the silence marker (or ends with a marker-only line), clear the whole terminal block outcome. Do not hold progressive delivery, and do not let an earlier marker silence a later normal reply after tools. Co-Authored-By: David Cramer <[email protected]>
Use one endsWith check for silence. Document the cases we care about. Keep Slack integration coverage for trailing-marker silence and mid-sentence marker mentions. Co-Authored-By: David Cramer <[email protected]>
Do not blank the whole terminal assistant block from the last marker. Each assistant message is delivered or suppressed on its own; endsWith still silences one message that trails with [[NO_REPLY]]. Co-Authored-By: David Cramer <[email protected]>
Drop the separate terminalTexts path and containsNoReplyMarker includes check. Marker silence is endsWith via isNoReplyMarker, returned as no_reply from decideReply; turn success uses those decisions alone. Co-Authored-By: David Cramer <[email protected]>
Shorten marker docs, keep ReplyDecision private, and drop unit cases that duplicate decideReply / Slack delivery coverage of the same silence rule. Co-Authored-By: David Cramer <[email protected]>
dcramer
reviewed
Sep 2, 2026
Marker silence and tool-call tails both suppress delivery. Keep intentional turn silence on isNoReplyMarker text checks instead of a second kind.
dcramer
approved these changes
Sep 2, 2026
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.
Silent task runs were posting reasoning +
[[NO_REPLY]]to Slack.Cause: After #1714, only an exact marker-only reply was silent. Models often put reasoning first, then the marker in the same message.
Fix:
decideReply(suppress).isNoReplyMarkermatches when one message ends with[[NO_REPLY]].[[NO_REPLY]]when silence is intended.containsNoReplyMarkerand whole-block blanking.Requested by Junior system actor
resource-event.--
View Junior Session [Sentry]