docs(code-review): use variable reference for sprint-status path
This commit is contained in:
parent
3fc411d9c9
commit
551a2ccb53
|
|
@ -28,17 +28,14 @@ Ask user: "Which story would you like to review?"
|
|||
|
||||
**Try input as direct file path first:**
|
||||
If input resolves to an existing file:
|
||||
- Verify it's in `sprint_status` with status `review` or `done`
|
||||
- Verify it's in {implementation_artifacts}/sprint-status.yaml with status `review` or `done`
|
||||
- If verified → set `story_path` to that file path
|
||||
- If NOT verified → Warn user the file is not in sprint_status (or wrong status). Ask: "Continue anyway?"
|
||||
- If NOT verified → Warn user the file is not in {implementation_artifacts}/sprint-status.yaml (or wrong status). Ask: "Continue anyway?"
|
||||
- If yes → set `story_path`
|
||||
- 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):
|
||||
|
||||
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:
|
||||
**Search {implementation_artifacts}/sprint-status.yaml** (if input is not a direct file):
|
||||
Search 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue