fix(gateway): add trusted sender envelope for shared sessions - #69963
Closed
xiaoyaner0201 wants to merge 1 commit into
Closed
fix(gateway): add trusted sender envelope for shared sessions#69963xiaoyaner0201 wants to merge 1 commit into
xiaoyaner0201 wants to merge 1 commit into
Conversation
Collaborator
Related: #13939 is the broader all-chat-context sender-attribution proposal. This PR limits the authenticated envelope and aggregation protection to shared sessions; please choose the desired contract or consolidate the approaches. |
xiaoyaner0201
force-pushed
the
fix/shared-session-trusted-sender-uid
branch
from
July 23, 2026 08:19
39d3e3e to
a09e6db
Compare
Author
|
Superseded by #69980. Reason: after this branch advanced past |
Author
|
Closing in favor of #69980 so the open PR points at the synchronized final branch/head. |
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
source.user_id/source.user_id_alt<@UID>mention target while extending trusted sender IDs to Discord/Telegram-style shared sessionsTest Plan
scripts/run_tests.sh tests/gateway/test_image_input_routing_runtime.py tests/gateway/test_active_session_text_merge.py -qscripts/run_tests.sh tests/gateway/test_image_input_routing_runtime.py tests/gateway/test_active_session_text_merge.py tests/gateway/test_session.py tests/gateway/test_discord_missed_message_backfill.py tests/gateway/test_telegram_text_batching.py -qpython -m ruff check gateway/run.py gateway/platforms/base.py tests/gateway/test_active_session_text_merge.py tests/gateway/test_image_input_routing_runtime.pypython -m compileall -q gateway/run.py gateway/platforms/base.pygit diff --checkRefs #69961