Repository navigation
fix(sessions): return direct-agent replies to their active session - #115756
Merged
Merged
Conversation
Co-authored-by: 程科0668000771 <[email protected]>
Contributor
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 29, 2026
…ft-ingestion * origin/main: fix(feishu): reject unsupported initial document content (#115697) feat(media): probe duration and dimensions for playback metadata (#115728) fix(sandbox): scope runtimes by workspace (#115766) fix(ui): guide users through missing or broken AI setup (#115716) fix(sessions): return direct-agent replies to their active session (#115756) fix(zalo): stop provider startup after gateway shutdown (#115763) fix(agents): bound completed background process retention (#115760) fix(plugins): bound hook execution and retire stale registrations (#115695) fix(ui): collapse custodian startup error gap (#115720) fix(gateway): reload edited hook transforms (#107875) refactor: centralize channel streaming config hints (#115739)
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 2026
…penclaw#115756) Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: 程科0668000771 <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 2026
…ft-ingestion * origin/main: fix(feishu): reject unsupported initial document content (openclaw#115697) feat(media): probe duration and dimensions for playback metadata (openclaw#115728) fix(sandbox): scope runtimes by workspace (openclaw#115766) fix(ui): guide users through missing or broken AI setup (openclaw#115716) fix(sessions): return direct-agent replies to their active session (openclaw#115756) fix(zalo): stop provider startup after gateway shutdown (openclaw#115763) fix(agents): bound completed background process retention (openclaw#115760) fix(plugins): bound hook execution and retire stale registrations (openclaw#115695) fix(ui): collapse custodian startup error gap (openclaw#115720) fix(gateway): reload edited hook transforms (openclaw#107875) refactor: centralize channel streaming config hints (openclaw#115739)
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.
Closes #107399
Related: #107469
What Problem This Solves
Fixes an issue where users delegating a task from a legacy direct-message session would receive the delegated agent's completion in an unmonitored session instead of their active conversation.
Why This Change Was Made
Canonicalize only the reply address for structurally valid, unthreaded direct-message and DM session keys when the established route safely resolves to the agent's main session. Preserve the exact authenticated requester identity for visibility, ownership, sandbox, synchronous self-send, and session creation; conservatively preserve account-, peer-, team-, role-, binding-, owner-, and thread-isolated routes.
User Impact
Delegated cross-agent replies return to the user's active direct conversation, while isolated, foreign-agent, threaded, and group conversations remain separated.
Evidence
Thanks to @ChengKe771 for identifying the issue and proposing #107469. The final maintainer-owned implementation preserves the original contribution through its Co-authored-by commit trailer while additionally protecting structural DM routing, authenticated requester identity, and private binding scopes.