storkit: accept 380_story_assign_command_restarts_coder_when_story_is_already_in_progress

This commit is contained in:
dave
2026-03-24 19:02:42 +00:00
parent bac53ac09a
commit 752c3904bf

View File

@@ -0,0 +1,20 @@
---
name: "Assign command restarts coder when story is already in progress"
---
# Story 380: Assign command restarts coder when story is already in progress
## User Story
As a user, I want `assign X opus` on a running story to stop the current coder, update the front matter, and start the newly assigned agent, so that I can switch models mid-flight without manually stopping and restarting.
## Acceptance Criteria
- [ ] When assign is called on a story with a running coder, the current coder agent is stopped
- [ ] The story's front matter `agent` field is updated to the new agent name
- [ ] The newly assigned agent is started on the story automatically
- [ ] When assign is called on a story with no running coder, it behaves as before (just updates front matter)
## Out of Scope
- TBD