[[NO_REPLY]] marker leaks into Slack replies
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend
Hướng nghiên cứu
Bắt đầu từ packages/junior/src/chat/no-reply.ts, sau đó lần theo cách xử lý marker hỗn hợp qua packages/junior/src/chat/services/assistant-reply.ts và packages/junior/src/chat/services/turn-result.ts. Thêm hoặc cập nhật độ bao phủ cho các phản hồi chỉ có marker và các phản hồi kết hợp marker với văn xuôi, đồng thời xác minh rằng Slack nhận được phần văn xuôi không có marker dành riêng, trong khi các tin nhắn chính xác chỉ gồm marker vẫn bị loại bỏ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When a terminal assistant message mixes normal prose with [[NO_REPLY]], Junior posts the full text to Slack, including the reserved marker.
Observed in production: a task turn that intended silence ended with prose plus a trailing [[NO_REPLY]], and Slack received that combined message. Session: https://junior-prod.sentry.dev/conversations/slack%3AC0BSRCZ1F9T%3A1788188446.835629
Verified behavior
- Prompt/task contract: intentional silence requires the final message to be exactly
[[NO_REPLY]]. isNoReplyMarker()only matches whole-message equality (packages/junior/src/chat/no-reply.ts).- After #1714,
decideReply()suppresses only exact marker-only text and delivers any mixed marker+prose unchanged (packages/junior/src/chat/services/assistant-reply.ts). buildTurnResult()logsai.no_reply_marker.mixed_textfor mixed cases but still returns deliverable text that retains the marker (packages/junior/src/chat/services/turn-result.ts).no-reply.tscomments thatcontainsNoReplyMarkerexists to detect leaks "before publication strips or rejects them," but delivery does not strip.- PR #1714 description said mixed text would strip the marker and post the rest; current code and tests deliver the marker inline.
Evidence
- Thread example above (assistant reply ended with visible
[[NO_REPLY]]). - Repeated production warnings:
ai.no_reply_marker.mixed_texton projectsentry/junior(for example around2026-08-31T15:03Z–15:08Z, including traces such asff5484791527491f82bba63e031e6c83).
Related
- #1714 changed mixed mentions from silence to delivery.
- #1030 is a different no-reply terminalization bug (timeout resume).
Reported by Matt Quinn.
Requested by Matt Quinn.
--
- Ngôn ngữ chính
- TypeScript
- Star
- 397
- Fork
- 43
- Merge trung bình
- 7 giờ 55 phút
- Pull request đã merge (30 ngày)
- 661
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/junior
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
getsentry/junior#335 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/junior
Issue tương tự
-
status: needs triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
mastra-ai/mastra#29706 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
lingdojo/kana-dojo#33802 · 1 bình luận · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cloudflare/workerd#8290 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: build-and-ci possible-duplicate S3: minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
manaflow-ai/cmux#38889 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
ValentinH/react-easy-crop#670 ·