storkit: create 365_story_surface_api_rate_limit_warnings_in_chat
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user