fix(buzz): reply in-thread instead of flat channel posts - #86232
Open
nanakoice wants to merge 1 commit into
Open
fix(buzz): reply in-thread instead of flat channel posts#86232nanakoice wants to merge 1 commit into
nanakoice wants to merge 1 commit into
Conversation
Buzz has no native thread_id; channel threading is entirely --reply-to on the triggering event. Interim commentary and progress bubbles only passed the anchor via metadata.reply_to_message_id (or not at all), so most Kathy posts landed as new top-level messages and cluttered channels. - Honor metadata.reply_to_message_id in BuzzAdapter.send - Pass reply_to on stream commentary sends - Treat buzz like slack/mattermost for progress thread resolution - Set _progress_reply_to to the trigger event for buzz - Add unit tests for adapter metadata and progress routing
Collaborator
Contributor
fix(buzz): reply in-thread instead of flat channel posts
|
This was referenced Aug 19, 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
Buzz channel threading depends on
buzz messages send --reply-to <event-id>. Hermes was dropping the reply anchor for most mid-turn and progress sends, so agents (e.g. Kathy) flooded channels with top-level posts instead of nesting under the triggering message.Changes
plugins/platforms/buzz/adapter.py— honormetadata.reply_to_message_id(gateway stream/progress path), not onlythread_id.gateway/stream_consumer.py— passreply_to=self._initial_reply_to_idon interim commentary sends.gateway/run.py— treatbuzzlike slack/mattermost for progress thread resolution; set_progress_reply_toto the trigger event id for buzz.Tests
test_send_uses_metadata_reply_to_message_id(buzz adapter)test_buzz_uses_event_message_id_as_progress_thread(progress routing)Config note (optional hygiene)
For Buzz, official docs still recommend:
This PR fixes threading even if those remain on; suppressing interim traffic further reduces noise.
Motivation
Live deploy: one agent produced ~65 channel posts with only ~8 threaded. After these fixes + display hygiene, new replies nest under the user message.