tdd-ai 0.4.1 → 0.4.2

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -47,7 +47,12 @@ tdd-ai guide --format json
47
47
  # 6. After implementation passes all tests, advance
48
48
  tdd-ai phase next --test-result pass
49
49
 
50
- # 7. Refactor, then finish the cycle
50
+ # 7. In refactor phase, answer reflection questions
51
+ tdd-ai refactor status
52
+ tdd-ai refactor reflect 1 --answer "Tests are already descriptive and clear enough"
53
+ # ... answer all 6 questions ...
54
+
55
+ # 8. Finish the cycle
51
56
  tdd-ai complete
52
57
  ```
53
58
 
@@ -180,6 +185,9 @@ tdd-ai init --retrofit
180
185
  | `tdd-ai guide` | Get phase-appropriate instructions |
181
186
  | `tdd-ai phase next` | Advance to next phase |
182
187
  | `tdd-ai test` | Run configured test command |
188
+ | `tdd-ai refactor` | Show refactor reflection status |
189
+ | `tdd-ai refactor reflect <n> --answer "..."` | Answer a reflection question |
190
+ | `tdd-ai refactor status` | Show all reflection questions with status |
183
191
  | `tdd-ai complete` | Finish TDD cycle |
184
192
  | `tdd-ai status` | Full session overview |
185
193
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tdd-ai",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Enforce test-driven development for AI coding agents — works with Cursor, GitHub Copilot, Claude Code, Windsurf, and any LLM with terminal access",
5
5
  "keywords": [
6
6
  "tdd",