fix: gate Telegram exec tool warnings behind verbose mode#20560
Merged
Conversation
obviyus
added a commit
that referenced
this pull request
Feb 19, 2026
a68b696 to
27ac038
Compare
27ac038 to
7ce9493
Compare
Contributor
Author
xinhuagu
added a commit
to xinhuagu/openclaw
that referenced
this pull request
Feb 19, 2026
…sion Add test cases for the exact scenario described in openclaw#17837: exec tool fails but agent falls back to an alternative tool and produces a correct answer. The exec failure notification should not surface to the user in Telegram. The underlying fix was implemented in openclaw#20560 (gating exec/bash warnings behind verbose mode). These tests verify the fallback scenario specifically. Closes openclaw#17837
1 task
This was referenced Feb 22, 2026
6 tasks
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 1, 2026
…0560) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 7ce9493 Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com> Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com> Reviewed-by: @obviyus (cherry picked from commit 6b05916) # Conflicts: # CHANGELOG.md # src/agents/pi-embedded-runner/run/payloads.test.ts # src/agents/pi-embedded-runner/run/payloads.ts # src/agents/pi-embedded-subscribe.tools.test.ts
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 3, 2026
…0560) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 7ce9493 Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com> Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com> Reviewed-by: @obviyus (cherry picked from commit 6b05916) # Conflicts: # CHANGELOG.md # src/agents/pi-embedded-runner/run/payloads.test.ts # src/agents/pi-embedded-runner/run/payloads.ts # src/agents/pi-embedded-subscribe.tools.test.ts
18 tasks
25 tasks
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
May 9, 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.
Summary
exec/bashtool-error warnings behind verbose mode (on|full) and ignore non-error status values like0/ok/completed/runningwhen extracting tool error text.write) still surface as before.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
verbose=off):exec/bashfailure warnings are suppressed from user-visible payloads.verbose=on|full):exec/bashfailure warnings remain visible.0,ok,completed,running) as error text.Security Impact (required)
No)No)No)No)No)Yes, explain risk + mitigation:Repro + Verification
Environment
offvsonSteps
lastToolError.toolName="exec", verboseoff.on.{ details: { status: "0" } }and from{ details: { status: "failed" } }.Expected
"0"ignored,"failed"preserved.Actual
Evidence
Human Verification (required)
write) still visible; status-based false-positive error text removed.Compatibility / Migration
Yes)No)No)Failure Recovery (if this breaks)
src/agents/pi-embedded-runner/run/payloads.ts,src/agents/pi-embedded-subscribe.tools.ts.failed: 0style warnings returning.Risks and Mitigations
Greptile Summary
Gated
exec/bashtool warnings behind verbose mode to prevent leaking internal command details to Telegram users, while filtering out false-positive error statuses like0orcompleted.Key changes:
execandbashtool errors now suppressed in default mode, visible only whenverbose=on|fullwrite) continue showing warnings regardless of verbose mode0,ok,success,completed,runningno longer treated as errorsConfidence Score: 5/5
Last reviewed commit: a68b696