From a79900972080e0105473c6ac5fafaf322f98d2b6 Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 18 Mar 2026 11:10:41 +0000 Subject: [PATCH] story-kit: done 279_story_auto_assign_should_respect_agent_stage_when_front_matter_specifies_agent --- ...stage_when_front_matter_specifies_agent.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .story_kit/work/5_done/279_story_auto_assign_should_respect_agent_stage_when_front_matter_specifies_agent.md diff --git a/.story_kit/work/5_done/279_story_auto_assign_should_respect_agent_stage_when_front_matter_specifies_agent.md b/.story_kit/work/5_done/279_story_auto_assign_should_respect_agent_stage_when_front_matter_specifies_agent.md new file mode 100644 index 0000000..6a5fe82 --- /dev/null +++ b/.story_kit/work/5_done/279_story_auto_assign_should_respect_agent_stage_when_front_matter_specifies_agent.md @@ -0,0 +1,20 @@ +--- +name: "Auto-assign should respect agent stage when front matter specifies agent" +--- + +# Story 279: Auto-assign should respect agent stage when front matter specifies agent + +## User Story + +As a project operator, I want auto-assign to respect the pipeline stage when a story's front matter specifies a preferred agent, so that a coder agent isn't assigned to do QA work just because the story originally requested that coder. + +## Acceptance Criteria + +- [ ] When a story in `3_qa/` has `agent: coder-opus` in front matter, auto-assign skips the preferred agent (stage mismatch) and assigns a free QA-stage agent instead +- [ ] When a story in `2_current/` has `agent: coder-opus` in front matter, auto-assign still respects the preference (stage matches) +- [ ] When the preferred agent's stage mismatches, auto-assign logs a message indicating the stage mismatch and fallback + +## Out of Scope + +- Changing the front matter `agent` field automatically when a story advances stages +- Adding per-stage agent preferences to front matter