diff --git a/.storkit/work/5_done/380_story_assign_command_restarts_coder_when_story_is_already_in_progress.md b/.storkit/work/5_done/380_story_assign_command_restarts_coder_when_story_is_already_in_progress.md new file mode 100644 index 0000000..86720b7 --- /dev/null +++ b/.storkit/work/5_done/380_story_assign_command_restarts_coder_when_story_is_already_in_progress.md @@ -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