Repository navigation
fix(outbound): honor NO_REPLY in message tool sends - #92160
lanzhi-lee wants to merge 1 commit into
Conversation
…factor suppressed send payload (cherry picked from commit 8d4cbb113dd58780493184d458d3c94c855e6a6f)
|
Thanks for the contribution. This PR has been inactive for a while and still is not in a landable state. Close this draft PR as abandoned: it has had no new head commit since June 11, 2026, remains conflicted with current So I’m closing this as inactive for now. If you pick the work back up, push a rebased branch with green checks and reopen (or open a fresh PR) and it will be reviewed again. Review detailsBest possible solution: Keep the shared silent-token behavior narrowly scoped to contexts where Do we have a high-confidence way to reproduce the issue? No high-confidence live reproduction is available in this review. The branch and its focused tests establish the direct-send code path, but neither the PR nor its comments show a real after-fix channel delivery run. Is this the best way to solve the issue? No. The intended direct-send suppression is plausible, but the unchanged prior finding shows the implementation needs a safer context boundary so normal group/channel text containing Security review: Security review cleared: The proposed code changes reply-token handling only; the supplied diff adds no dependency, workflow, secret, permission, or package-resolution change. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against 9c3503a4437f. |
|
This pull request has been automatically marked as stale due to inactivity. |
|
ClawSweeper applied the proposed close for this PR.
|
Summary
NO_REPLYin outbound message-toolsendcalls so model-emitted silent-reply tokens are not delivered to users.NO_REPLYfrom direct-message sends while preserving the visible text.NO_REPLYstripping leaves no sendable text/media, so the model does not treat intentional silence as a tool failure.Verification
node scripts/run-vitest.mjs src/infra/outbound/message-action-runner.core-send.test.ts src/infra/outbound/message-action-runner.send-validation.test.ts— passed, 2 files / 35 tests