Merge 5bd1e8a12b into 521f1e15ca
This commit is contained in:
commit
6a2ba31f97
|
|
@ -273,9 +273,17 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
||||||
<action>Review the current task/subtask from the story file - this is your authoritative implementation guide</action>
|
<action>Review the current task/subtask from the story file - this is your authoritative implementation guide</action>
|
||||||
<action>Plan implementation following red-green-refactor cycle</action>
|
<action>Plan implementation following red-green-refactor cycle</action>
|
||||||
|
|
||||||
<!-- RED PHASE -->
|
<!-- RED PHASE (ATDD-aware) -->
|
||||||
|
<check if="test files with test.fixme() or test.skip() exist for this story (check story Dev Notes for ATDD test file paths, or search project test directories for files referencing this story's acceptance criteria)">
|
||||||
|
<action>Identify test files containing test.fixme() or test.skip() that map to the current task/subtask</action>
|
||||||
|
<action>Convert matching test.fixme()/test.skip() calls to regular test() calls to activate them</action>
|
||||||
|
<action>Run activated tests to confirm they FAIL due to missing implementation (RED phase verified)</action>
|
||||||
|
<action>If a test passes unexpectedly before implementation, investigate — it may not be validating real behavior</action>
|
||||||
|
</check>
|
||||||
|
<check if="no pre-existing test.fixme()/test.skip() tests found for this task">
|
||||||
<action>Write FAILING tests first for the task/subtask functionality</action>
|
<action>Write FAILING tests first for the task/subtask functionality</action>
|
||||||
<action>Confirm tests fail before implementation - this validates test correctness</action>
|
<action>Confirm tests fail before implementation - this validates test correctness</action>
|
||||||
|
</check>
|
||||||
|
|
||||||
<!-- GREEN PHASE -->
|
<!-- GREEN PHASE -->
|
||||||
<action>Implement MINIMAL code to make tests pass</action>
|
<action>Implement MINIMAL code to make tests pass</action>
|
||||||
|
|
@ -386,6 +394,7 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
||||||
- Dev Agent Record contains implementation notes
|
- Dev Agent Record contains implementation notes
|
||||||
- Change Log includes summary of changes
|
- Change Log includes summary of changes
|
||||||
- Only permitted story sections were modified
|
- Only permitted story sections were modified
|
||||||
|
- No test.fixme() or test.skip() calls remain for completed tasks (all ATDD tests activated and passing)
|
||||||
</action>
|
</action>
|
||||||
|
|
||||||
<!-- Mark story ready for review - sprint status conditional -->
|
<!-- Mark story ready for review - sprint status conditional -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue