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.
@@ -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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codingbuddy-rules",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "AI coding rules for consistent practices across AI assistants",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",