codingbuddy-rules 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ai-rules/rules/core.md +4 -0
- package/package.json +1 -1
package/.ai-rules/rules/core.md
CHANGED
|
@@ -410,8 +410,12 @@ Execute implementation following TDD cycle, augmented coding principles, and qua
|
|
|
410
410
|
1. **Execute TDD Cycle** (via Primary Developer Agent)
|
|
411
411
|
- 🔴 For core logic: Red → Green → Refactor cycle
|
|
412
412
|
- Write failing test first
|
|
413
|
+
- Run test to confirm it fails (this is **expected** — do NOT stop here)
|
|
413
414
|
- Implement minimal code to pass
|
|
415
|
+
- Run test to confirm it passes
|
|
414
416
|
- Refactor only after tests pass
|
|
417
|
+
- 🔴 **Required**: Treat RED→GREEN→REFACTOR as ONE atomic operation
|
|
418
|
+
- 🔴 **Required**: Only stop on UNEXPECTED test failures (GREEN phase failures)
|
|
415
419
|
- 🔴 **Required**: Follow Primary Developer Agent's TDD cycle
|
|
416
420
|
|
|
417
421
|
2. **Implement Components** (via Primary Developer Agent)
|