storkit: accept 366_story_bot_sends_shutdown_message_on_server_stop_or_rebuild

This commit is contained in:
dave
2026-03-22 23:11:51 +00:00
parent e3d7931f17
commit bb41f3951c

View File

@@ -1,20 +0,0 @@
---
name: "Bot sends shutdown message on server stop or rebuild"
---
# Story 366: Bot sends shutdown message on server stop or rebuild
## User Story
As a project owner in a chat room, I want the bot to send a message when the server is shutting down (via ctrl-c or rebuild_and_restart), so that I know the bot is going offline and won't wonder why it stopped responding.
## Acceptance Criteria
- [ ] Bot sends a shutdown message to active chat channels when the server receives SIGINT/SIGTERM (ctrl-c)
- [ ] Bot sends a shutdown message before rebuild_and_restart kills the current process
- [ ] Message indicates the reason (manual stop vs rebuild)
- [ ] Message is sent best-effort — shutdown is not blocked if the message fails to send
## Out of Scope
- TBD