story-kit: done 293_story_register_all_bot_commands_in_the_command_registry
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
name: "Register all bot commands in the command registry"
|
||||||
|
review_hold: true
|
||||||
|
---
|
||||||
|
|
||||||
|
# Story 293: Register all bot commands in the command registry
|
||||||
|
|
||||||
|
## User Story
|
||||||
|
|
||||||
|
As a user, I want all bot commands (help, status, ambient on/off) to be registered in the command registry in commands.rs, so that the help command lists everything the bot can do and there's one consistent mechanism for handling bot-level commands.
|
||||||
|
|
||||||
|
## Acceptance Criteria
|
||||||
|
|
||||||
|
- [ ] Status command is moved from bot.rs into the command registry in commands.rs
|
||||||
|
- [ ] Ambient on/off command is moved from bot.rs into the command registry in commands.rs
|
||||||
|
- [ ] Help command output lists all registered commands including status and ambient
|
||||||
|
- [ ] No bot-level commands are handled outside of the registry (single mechanism)
|
||||||
|
- [ ] Existing behavior of all commands is preserved
|
||||||
|
- [ ] Registry handler functions receive enough context to perform their work (e.g. project_root for status, ambient_rooms for ambient)
|
||||||
|
|
||||||
|
## Out of Scope
|
||||||
|
|
||||||
|
- TBD
|
||||||
Reference in New Issue
Block a user