fix: correct status terminology to match story template

Fixes agents setting invalid status values that don't match the
story-tmpl.yaml choices.

**Problem:**
- story-tmpl.yaml defines valid status choices as:
  [Draft, Approved, InProgress, Review, Done]
- dev.md completion instructed to set status: 'Ready for Review'
- apply-qa-fixes.md instructed to set status: 'Ready for Done' or 'Ready for Review'
- These values don't match the valid choices, causing errors

**Solution:**
- dev.md: 'Ready for Review' → 'Review'
- apply-qa-fixes.md: 'Ready for Done' → 'Done', 'Ready for Review' → 'Review'

This ensures agents only set valid status values defined in the story template.
This commit is contained in:
Mark Pundsack 2025-10-01 12:08:38 -05:00
parent 458704f82b
commit d0cf44ad6b
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ commands:
- CRITICAL: DO NOT modify Status, Story, Acceptance Criteria, Dev Notes, Testing sections, or any other sections not listed above - CRITICAL: DO NOT modify Status, Story, Acceptance Criteria, Dev Notes, Testing sections, or any other sections not listed above
- blocking: 'HALT for: Unapproved deps needed, confirm with user | Ambiguous after story check | 3 failures attempting to implement or fix something repeatedly | Missing config | Failing regression' - blocking: 'HALT for: Unapproved deps needed, confirm with user | Ambiguous after story check | 3 failures attempting to implement or fix something repeatedly | Missing config | Failing regression'
- ready-for-review: 'Code matches requirements + All validations pass + Follows standards + File List complete' - ready-for-review: 'Code matches requirements + All validations pass + Follows standards + File List complete'
- completion: "All Tasks and Subtasks marked [x] and have tests→Validations and full regression passes (DON'T BE LAZY, EXECUTE ALL TESTS and CONFIRM)→Ensure File List is Complete→run the task execute-checklist for the checklist story-dod-checklist→set story status: 'Ready for Review'→HALT" - completion: "All Tasks and Subtasks marked [x] and have tests→Validations and full regression passes (DON'T BE LAZY, EXECUTE ALL TESTS and CONFIRM)→Ensure File List is Complete→run the task execute-checklist for the checklist story-dod-checklist→set story status: 'Review'→HALT"
- explain: teach me what and why you did whatever you just did in detail so I can learn. Explain to me as if you were training a junior engineer. - explain: teach me what and why you did whatever you just did in detail so I can learn. Explain to me as if you were training a junior engineer.
- review-qa: run task `apply-qa-fixes.md' - review-qa: run task `apply-qa-fixes.md'
- run-tests: Execute linting and tests - run-tests: Execute linting and tests

View File

@ -104,8 +104,8 @@ CRITICAL: Dev agent is ONLY authorized to update these sections of the story fil
Status Rule: Status Rule:
- If gate was PASS and all identified gaps are closed → set `Status: Ready for Done` - If gate was PASS and all identified gaps are closed → set `Status: Done`
- Otherwise → set `Status: Ready for Review` and notify QA to re-run the review - Otherwise → set `Status: Review` and notify QA to re-run the review
### 6) Do NOT Edit Gate Files ### 6) Do NOT Edit Gate Files