[Fix] Slack block context appears in task messages - #1417
Merged
Conversation
Contributor
|
No new code issues found. See task
Reviewed 0296005 |
daniel-lxs
marked this pull request as ready for review
August 16, 2026 22:31
daniel-lxs
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
August 16, 2026 22:31
Contributor
Author
|
Fixed the failing Test check in c458aab. Ordinary |
daniel-lxs
approved these changes
Aug 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 changed
Inbound Slack messages now keep their existing attachment and structured-block enrichment separate from authored text. Prompt assembly injects that extra information in a dedicated
<slack_message_context>sibling while<slack_message>keeps the normal user turn.Standard and Fast Slack entry paths both pass the same enrichment through the agent-only context boundary. Transcript parsing recognizes the explicit wrapper grammar, renders only the authored message in the task UI, and leaves malformed input untouched.
Why this change was made
Slack can provide useful information outside its top-level text. Appending that enrichment directly to the message preserved context for the agent but exposed internal labels such as
Slack block text:in the user-visible transcript.Impact
Roomote handles Slack enrichment like other injected context: the agent receives it, but task message bubbles show only the authored Slack text. Existing stored transcripts remain unchanged.
Screenshots