From 551d3bcdf52e205075577ade8272c512b3c653e6 Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 25 Feb 2026 13:44:31 +0000 Subject: [PATCH] story-kit: create 184_story_stream_bot_responses_to_matrix_on_double_newline_boundaries --- ..._to_matrix_on_double_newline_boundaries.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .story_kit/work/1_upcoming/184_story_stream_bot_responses_to_matrix_on_double_newline_boundaries.md diff --git a/.story_kit/work/1_upcoming/184_story_stream_bot_responses_to_matrix_on_double_newline_boundaries.md b/.story_kit/work/1_upcoming/184_story_stream_bot_responses_to_matrix_on_double_newline_boundaries.md new file mode 100644 index 0000000..40f9b43 --- /dev/null +++ b/.story_kit/work/1_upcoming/184_story_stream_bot_responses_to_matrix_on_double_newline_boundaries.md @@ -0,0 +1,20 @@ +--- +name: "Stream bot responses to Matrix on double newline boundaries" +--- + +# Story 184: Stream bot responses to Matrix on double newline boundaries + +## User Story + +As a user chatting with the bot in Matrix, I want to see incremental responses as the bot generates them, so that I don't have to wait for the entire response to complete before seeing anything. + +## Acceptance Criteria + +- [ ] Bot sends partial responses to Matrix whenever a double newline (paragraph break) is encountered in the streamed output +- [ ] Remaining buffered text is flushed as a final message when the response completes +- [ ] Each Matrix message is a coherent chunk (no partial words or mid-line breaks) +- [ ] Bot still handles errors gracefully (error messages sent as single messages) + +## Out of Scope + +- TBD