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