Auto-reply: normalize stop matching and add multilingual triggers#25103
Merged
vincentkoc merged 10 commits intomainfrom Feb 24, 2026
Merged
Auto-reply: normalize stop matching and add multilingual triggers#25103vincentkoc merged 10 commits intomainfrom
vincentkoc merged 10 commits intomainfrom
Conversation
54a10df to
5604255
Compare
SamuelHinestrosa
suggested changes
Feb 24, 2026
SamuelHinestrosa
left a comment
There was a problem hiding this comment.
Revisión automática: Cambios revisados. Por favor asegurar que los tests pasan.
3 tasks
3 tasks
plgs2005
pushed a commit
to plgs2005/openclaw
that referenced
this pull request
Feb 24, 2026
…enclaw#25103) * Auto-reply tests: cover multilingual abort triggers * Auto-reply: normalize multilingual abort triggers * Gateway: route chat stop matching through abort parser * Gateway tests: cover chat stop parsing variants * Auto-reply tests: cover Russian and German stop words * Auto-reply: add Russian and German abort triggers * Gateway tests: include Russian and German stop forms * Telegram tests: route Russian and German stop forms to control lane * Changelog: note multilingual abort stop coverage * Changelog: add shared credit for abort shortcut update
abdelkadermeflahi6-web
referenced
this pull request
Feb 24, 2026
abdelkadermeflahi6-web
referenced
this pull request
Feb 24, 2026
18 tasks
jh280722
added a commit
to jh280722/openclaw
that referenced
this pull request
Feb 25, 2026
Add Korean (KO) stop keywords to the multilingual abort trigger set: 멈춰, 중지, 그만, 중단, 취소, 정지, 그만해, 멈춰줘, 중지해, 그만 해 Follows the same pattern established in openclaw#25103 for ES/FR/ZH/HI/AR/JP/DE/PT/RU. Includes test coverage for auto-reply abort detection, gateway chat-stop parsing, and Telegram sequential key routing.
3 tasks
margulans
pushed a commit
to margulans/Neiron-AI-assistant
that referenced
this pull request
Feb 25, 2026
…enclaw#25103) * Auto-reply tests: cover multilingual abort triggers * Auto-reply: normalize multilingual abort triggers * Gateway: route chat stop matching through abort parser * Gateway tests: cover chat stop parsing variants * Auto-reply tests: cover Russian and German stop words * Auto-reply: add Russian and German abort triggers * Gateway tests: include Russian and German stop forms * Telegram tests: route Russian and German stop forms to control lane * Changelog: note multilingual abort stop coverage * Changelog: add shared credit for abort shortcut update
This was referenced Feb 26, 2026
brianleach
pushed a commit
to brianleach/openclaw
that referenced
this pull request
Feb 26, 2026
…enclaw#25103) * Auto-reply tests: cover multilingual abort triggers * Auto-reply: normalize multilingual abort triggers * Gateway: route chat stop matching through abort parser * Gateway tests: cover chat stop parsing variants * Auto-reply tests: cover Russian and German stop words * Auto-reply: add Russian and German abort triggers * Gateway tests: include Russian and German stop forms * Telegram tests: route Russian and German stop forms to control lane * Changelog: note multilingual abort stop coverage * Changelog: add shared credit for abort shortcut update
2 tasks
mylukin
pushed a commit
to mylukin/openclaw
that referenced
this pull request
Feb 26, 2026
…enclaw#25103) * Auto-reply tests: cover multilingual abort triggers * Auto-reply: normalize multilingual abort triggers * Gateway: route chat stop matching through abort parser * Gateway tests: cover chat stop parsing variants * Auto-reply tests: cover Russian and German stop words * Auto-reply: add Russian and German abort triggers * Gateway tests: include Russian and German stop forms * Telegram tests: route Russian and German stop forms to control lane * Changelog: note multilingual abort stop coverage * Changelog: add shared credit for abort shortcut update
Get-windy
pushed a commit
to Get-windy/JieZi-ai-PS
that referenced
this pull request
Feb 28, 2026
更新内容: - fix(ui): prevent tabnabbing in chat images (openclaw#18685) - fix(cli): replace stale doctor/restart command hints (openclaw#24485) - Auto-reply: normalize stop matching + multilingual triggers (openclaw#25103) - docs: fix broken links, add maintainer
r4jiv007
pushed a commit
to r4jiv007/openclaw
that referenced
this pull request
Feb 28, 2026
…enclaw#25103) * Auto-reply tests: cover multilingual abort triggers * Auto-reply: normalize multilingual abort triggers * Gateway: route chat stop matching through abort parser * Gateway tests: cover chat stop parsing variants * Auto-reply tests: cover Russian and German stop words * Auto-reply: add Russian and German abort triggers * Gateway tests: include Russian and German stop forms * Telegram tests: route Russian and German stop forms to control lane * Changelog: note multilingual abort stop coverage * Changelog: add shared credit for abort shortcut update
AytuncYildizli
added a commit
to AytuncYildizli/openclaw
that referenced
this pull request
Feb 28, 2026
Add missing language coverage to the ABORT_TRIGGERS set: - Turkish (tr): 'dur', 'iptal' - Korean (ko): '멈춰' - Italian (it): 'fermati' These languages were omitted from the multilingual expansion in openclaw#25103. Follows the same conservative pattern: 1-2 entries per language, matching the baseline established for Arabic (1), Hindi (1), Chinese (1), and Portuguese (1). Relates to openclaw#26113 (configurable abort triggers) — this is a stopgap fix for the most-requested missing languages. A proper config-driven solution is tracked in that issue. Tests: extended isAbortTrigger and isAbortRequestText coverage for all three new locales.
AytuncYildizli
added a commit
to AytuncYildizli/openclaw
that referenced
this pull request
Feb 28, 2026
…hrases Implements openclaw#26113: users can now extend the built-in ABORT_TRIGGERS set with their own language-specific or workflow-specific stop phrases via openclaw.json, without waiting for a release. { "session": { "abortTriggers": ["dur", "yeter", "그만", "custom-stop"] } } Changes: - abort.ts: isAbortTrigger() and isAbortRequestText() accept optional extraTriggers param; normalization pipeline (lowercase, trim, punctuation strip) applies to extra triggers consistently - command-detection.ts: passes cfg.session?.abortTriggers through isControlCommandMessage for the main detection path - get-reply-inline-actions.ts: passes cfg.session?.abortTriggers into isAbortRequestText for the inline abort path - types.base.ts: SessionConfig gains optional abortTriggers field - zod-schema.session.ts: SessionSchema gains optional abortTriggers string array - schema.labels.ts + schema.help.ts: documentation for the new field The built-in ABORT_TRIGGERS set is preserved as-is and remains the baseline. extraTriggers augments it — no existing behaviour changes for users who do not set the new config field. Closes openclaw#26113 Related: openclaw#25103, openclaw#30102
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…enclaw#25103) * Auto-reply tests: cover multilingual abort triggers * Auto-reply: normalize multilingual abort triggers * Gateway: route chat stop matching through abort parser * Gateway tests: cover chat stop parsing variants * Auto-reply tests: cover Russian and German stop words * Auto-reply: add Russian and German abort triggers * Gateway tests: include Russian and German stop forms * Telegram tests: route Russian and German stop forms to control lane * Changelog: note multilingual abort stop coverage * Changelog: add shared credit for abort shortcut update
jh280722
added a commit
to jh280722/openclaw
that referenced
this pull request
Mar 7, 2026
Add Korean (KO) stop keywords to the multilingual abort trigger set: 멈춰, 중지, 그만, 중단, 취소, 정지, 그만해, 멈춰줘, 중지해, 그만 해 Follows the same pattern established in openclaw#25103 for ES/FR/ZH/HI/AR/JP/DE/PT/RU. Includes test coverage for auto-reply abort detection, gateway chat-stop parsing, and Telegram sequential key routing.
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.
Summary
Describe the problem and fix in 2–5 bullets:
stop pleaseor/stop!!!) could fail to trigger fast abort/stop paths.trim+ lowercase + punctuation/whitespace normalization), added common stop words (EN/ES/FR/ZH/HI/AR/JP/DE/PT), and aligned gateway chat-stop parsing to reuse the same matcher.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
/STOP!!!).stop pleasenow routes through stop handling paths.Security Impact (required)
Yes/No) NoYes/No) NoYes/No) NoYes/No) NoYes/No) NoYes, explain risk + mitigation:Repro + Verification
Environment
Steps
stop please,/STOP!!!,停止,توقف,やめて,stopp,pare./statusare unaffected.Expected
Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
pnpm checkand full repository test suite.Compatibility / Migration
Yes/No) YesYes/No) NoYes/No) NoFailure Recovery (if this breaks)
src/auto-reply/reply/abort.tsand dependent tests.Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.Greptile Summary
This PR centralizes and enhances stop/abort text matching to support multilingual triggers and common punctuation variants. The changes successfully normalize user input through
trim,lowercase, and punctuation removal inabort.ts:67-75, then route both slash commands (/stop) and standalone phrases through a unified matcher.Key improvements:
ABORT_TRIGGERS"stop please"and"stop openclaw"toABORT_TRIGGER_PHRASESchat-abort.tsnow delegates toisAbortRequestTextinstead of duplicating logic:controllane for sequential processingIssue found:
abort.tscontains duplicate entry"stop don't do anything"(already present on line 56)Confidence Score: 4/5
ABORT_TRIGGER_PHRASESsrc/auto-reply/reply/abort.tshas a duplicate entry on line 60 that should be removedLast reviewed commit: 54a10df