diff --git a/src/modules/bmm/workflows/4-implementation/code-review/steps/step-01-load-story.md b/src/modules/bmm/workflows/4-implementation/code-review/steps/step-01-load-story.md index 61f65dce..951471e2 100644 --- a/src/modules/bmm/workflows/4-implementation/code-review/steps/step-01-load-story.md +++ b/src/modules/bmm/workflows/4-implementation/code-review/steps/step-01-load-story.md @@ -35,7 +35,10 @@ If input resolves to an existing file: - If no → return to user prompt (ask "Which story would you like to review?" again) **Search sprint_status** (if input is not a direct file): -Search for stories with status `review` or `done`. Match by priority: + +The `sprint_status` file (`{implementation_artifacts}/sprint-status.yaml`) is generated by the sprint-planning workflow and contains the development_status map with all epics and stories, along with their current status (backlog, ready-for-dev, in-progress, review, done). + +Search this file for stories with status `review` or `done`. Match by priority: 1. Story number resembles input closely enough (e.g., "1-2" matches "1 2", "1.2", "one dash two", "one two"; "1-32" matches "one thirty two"). Do NOT match if numbers differ (e.g., "1-33" does not match "1-32") 2. Exact story name/key (e.g., "1-2-user-auth-api") 3. Story name/title resembles input closely enough