Repository navigation
fix: WebChat retries NO_REPLY into unwanted replies - #197544
Merged
Merged
Conversation
Accept explicit silence for human WebChat input without weakening empty-answer recovery or internal result obligations. Restore direct-conversation silence guidance and cover incidental mentions through authenticated chat.send. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 8bd3fa11-8b7a-4c18-9b8c-54ad35c18e47
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Regenerate canonical prompt fixtures for the reviewed silence guidance. The prior snapshot gate reproduced locally; canonical regeneration changes only the intended direct guidance and derived size/hash facts. Co-authored-by: vincentkoc <[email protected]>
Worked on by: - @vincentkoc Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 73b4692f-e9e5-49c7-bab9-c32a16c45f14
steipete
added a commit
that referenced
this pull request
Nov 12, 2026
Await catalog publishing price assertions, supply projection owner facts in maintained benchmarks, and wait for actual observer publication. Keep fingerprint tests independent of utility discovery. Align internal and browser fixtures with the WebChat policy introduced by #197544 while preserving terminal and custody assertions.
steipete
added a commit
that referenced
this pull request
Nov 12, 2026
…ps (#197599) * fix: prepare usage pricing before synchronous consumers Publish the model catalog owner’s local source or absence into the existing pricing projection and retain prepared prices through each operation. Serialize async source reads with the existing writer queue, remove synchronous pricing reads and migrate callers without changing cost precedence. Regression tests cover repeated absent-file formatting, retained prices after eviction, read/write publication order and consumer readiness. Owner counters show 66 warm lstatSync calls reduced to zero. Preserve the cold async scheduling tradeoff separately from warm timing gains. * test: complete async pricing consumer migration Await catalog publishing price assertions, supply projection owner facts in maintained benchmarks, and wait for actual observer publication. Keep fingerprint tests independent of utility discovery. Align internal and browser fixtures with the WebChat policy introduced by #197544 while preserving terminal and custody assertions. * test: remove superseded usage pricing line allocation * test: stop provider services before research fixture retirement * fix(gateway): regenerate inherited config hint validator * fix(usage): preserve lazy pricing and share cold source reads * fix(logging): keep catalog refresh working after logging starts * test(usage): select the recreation fixture agent explicitly
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 13, 2026
…ps (openclaw#197599) * fix: prepare usage pricing before synchronous consumers Publish the model catalog owner’s local source or absence into the existing pricing projection and retain prepared prices through each operation. Serialize async source reads with the existing writer queue, remove synchronous pricing reads and migrate callers without changing cost precedence. Regression tests cover repeated absent-file formatting, retained prices after eviction, read/write publication order and consumer readiness. Owner counters show 66 warm lstatSync calls reduced to zero. Preserve the cold async scheduling tradeoff separately from warm timing gains. * test: complete async pricing consumer migration Await catalog publishing price assertions, supply projection owner facts in maintained benchmarks, and wait for actual observer publication. Keep fingerprint tests independent of utility discovery. Align internal and browser fixtures with the WebChat policy introduced by openclaw#197544 while preserving terminal and custody assertions. * test: remove superseded usage pricing line allocation * test: stop provider services before research fixture retirement * fix(gateway): regenerate inherited config hint validator * fix(usage): preserve lazy pricing and share cold source reads * fix(logging): keep catalog refresh working after logging starts * test(usage): select the recreation fixture agent explicitly
This was referenced Nov 17, 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.
What Problem This Solves
Fixes: human WebChat turns retry an intentional
NO_REPLYinto an unwanted acknowledgment, including incidental conversations that mention another person.User Impact
The agent can remain silent when no response is useful, rather than manufacture a reply just to complete a model turn. Requests directed to the agent still run; selected human-only messages keep their existing no-agent-turn behavior. Empty answers still recover, and internal tasks and private/subagent runs still owe their required results. No configuration or data migration is needed. This PR does not deploy the running Team Gateway.
Why This Change Was Made
WebChat shares its channel name with the internal routing sentinel. The completion owner now distinguishes human input from internal provenance instead of requiring a visible result from every human WebChat turn. Direct-conversation guidance also explains when to stay silent and how to emit the exact control token, without adding per-turn state to stable prompts.
Evidence
NO_REPLYwas retried intoAcknowledged.; with the fix, the same flow completes without an assistant message or another model attempt.git diff --checkpass.pnpm prompt:snapshots:gen, and verifiedpnpm prompt:snapshots:checkpasses for all six files. The two changed artifacts contain only the reviewed direct-conversation guidance and derived size/hash facts; production source is unchanged from the tested/reviewed candidate.80827713e92cc8286228ef5c921ca61fd6d3e84d. Local ClawSweeper was unavailable because its existing checkout was dirty; hosted ClawSweeper remains the selected fallback review.The fixed-provider test proves OpenClaw's assembled guidance and completion/delivery behavior, not live-model intent accuracy. It does not exercise a deployed Gateway or live external channel.
Contributor credit
Requested and landing authorized by @vincentkoc, credited as co-author.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by