Repository navigation
fix(auto-reply): stop treating wait as abort trigger - #98639
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 1, 2026, 9:48 AM ET / 13:48 UTC. Summary PR surface: Source -1, Tests +3. Total +2 across 2 files. Reproducibility: yes. from source inspection: current Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge the narrow shared-predicate fix once the contributor adds redacted real behavior proof for the Telegram-visible false-abort path and required checks are green. Do we have a high-confidence way to reproduce the issue? Yes from source inspection: current Is this the best way to solve the issue? Yes: the shared abort predicate is the best fix boundary because fast abort, Telegram control-lane, and reply-fence detection all consume it; a Telegram-only exception would leave inconsistent behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f936c6b49504. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source -1, Tests +3. Total +2 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
6df16f9 to
49fc6a6
Compare
|
@clawsweeper re-review Updated the PR body with the required Current validation:
|
|
🦞🧹 I asked ClawSweeper to review this item again. |
49fc6a6 to
75f804b
Compare
|
Land-ready maintainer pass complete on exact head
No blocking findings remain. Ready to merge. |
|
Merged via squash.
|
* fix(auto-reply): stop treating wait as abort trigger * test(channels): treat wait as debounced text * docs: remove wait from abort phrases --------- Co-authored-by: Ian Chen <[email protected]> Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Fixes an issue where Telegram group users sending the normal coordination word
waitcould cause OpenClaw to treat the message as an abort request and reply⚙️ Agent was aborted.instead of continuing the upstream workflow.Why This Change Was Made
waitis no longer part of the shared natural-language abort trigger set. Explicit stop commands such asstop,abort, andinterruptstill dispatch immediately, whilewaitnow follows the normal inbound text path, including channel debounce handling.User Impact
Operators can use
waitin Telegram coordination threads without accidentally cancelling an active OpenClaw run. Existing explicit abort/stop controls continue to work.Evidence
pnpm test src/auto-reply/reply/abort.test.ts src/channels/inbound-debounce-policy.test.tssrc/auto-reply/reply/abort.test.ts: 30 tests passed.src/channels/inbound-debounce-policy.test.ts: 3 tests passed.isAbortTrigger("wait"),isAbortRequestText("wait"), andisAbortRequestText("please wait")are false.waitis treated as normal debounced text, whilestopandabortstill bypass debounce as control messages.waitwas followed by the visible OpenClaw reply⚙️ Agent was aborted.on 2026-07-01 around 20:57 Asia/Taipei.