story-kit: create 332_story_bot_assign_command_to_assign_a_specific_agent_to_a_story

This commit is contained in:
Dave
2026-03-20 08:13:55 +00:00
parent 2ce0166ea8
commit 27b86da0aa

View File

@@ -0,0 +1,24 @@
---
name: "Bot assign command to assign a specific agent to a story"
---
# Story 332: Bot assign command to assign a specific agent to a story
## User Story
As a project owner in a chat room, I want to type "{bot_name} assign {story_number} {agent_name}" to assign a specific agent to a story, so that I can control which agent works on which story from chat.
## Acceptance Criteria
- [ ] '{bot_name} assign {number} {agent}' assigns the specified agent to the story (e.g. 'timmy assign 315 coder-opus')
- [ ] Stops any currently running agent on that story before assigning the new one
- [ ] Updates the story's front matter with agent: {agent_name}
- [ ] Starts the agent immediately
- [ ] Returns confirmation with agent name and story title
- [ ] Returns error if agent name is not valid or story not found
- [ ] Registered in the command registry so it appears in help output
- [ ] Handled at bot level without LLM invocation
## Out of Scope
- TBD