diff --git a/.storkit/work/1_backlog/365_story_surface_api_rate_limit_warnings_in_chat.md b/.storkit/work/1_backlog/365_story_surface_api_rate_limit_warnings_in_chat.md new file mode 100644 index 0000000..cf10764 --- /dev/null +++ b/.storkit/work/1_backlog/365_story_surface_api_rate_limit_warnings_in_chat.md @@ -0,0 +1,20 @@ +--- +name: "Surface API rate limit warnings in chat" +--- + +# Story 365: Surface API rate limit warnings in chat + +## User Story + +As a project owner watching the chat, I want to see rate limit warnings surfaced directly in the conversation when they appear in the agent's PTY output, so that I know immediately when an agent is being throttled without having to watch server logs. + +## Acceptance Criteria + +- [ ] Server detects rate limit warnings in pty-debug output lines +- [ ] When a rate limit warning is detected, a notification is sent to the active chat (Matrix/Slack/WhatsApp) +- [ ] The notification includes which agent/story triggered the rate limit +- [ ] Rate limit notifications are debounced to avoid spamming the chat with repeated warnings + +## Out of Scope + +- TBD