story-kit: create 203_story_move_story_to_current_before_checking_agent_availability_in_start_agent

This commit is contained in:
Dave
2026-02-26 10:46:01 +00:00
parent e2e977e06d
commit d9bbbe9b58

View File

@@ -0,0 +1,21 @@
---
name: "Move story to current before checking agent availability in start_agent"
---
# Story 203: Move story to current before checking agent availability in start_agent
## User Story
As an agent operator, I want start_agent to move a story to 2_current/ even when all coders are busy, so that auto-assign picks it up when one becomes available — matching the promise in the error message.
## Acceptance Criteria
- [ ] start_agent moves the story from 1_upcoming/ to 2_current/ before checking agent availability
- [ ] When all coders are busy, start_agent returns a message indicating the story is queued in current and will be auto-assigned
- [ ] auto_assign_available_work picks up the story when a coder finishes
- [ ] If the story is already in 2_current/ or later, the move is a no-op (no error)
- [ ] Existing tests pass and new tests cover the queued-in-current scenario
## Out of Scope
- TBD