cc-dev-template 0.1.87 → 0.1.88

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-dev-template",
3
- "version": "0.1.87",
3
+ "version": "0.1.88",
4
4
  "description": "Structured AI-assisted development framework for Claude Code",
5
5
  "bin": {
6
6
  "cc-dev-template": "./bin/install.js"
@@ -28,7 +28,10 @@ When prompted to review a spec:
28
28
  2. Run every check in the review checklist below
29
29
  3. Fix every issue found directly in spec.md — do not report issues, fix them
30
30
  4. After fixing, re-run the checklist to verify
31
- 5. Return APPROVED if all checks pass, or report remaining issues that could not be auto-fixed
31
+ 5. Return one of three verdicts:
32
+ - **APPROVED** — zero issues found on any check. The spec is clean.
33
+ - **APPROVED_WITH_FIXES** — issues were found and fixed. Another reviewer must verify the fixes.
34
+ - **ISSUES REMAINING** — unfixable issues exist (e.g., missing prerequisites that need user action).
32
35
 
33
36
  ## Spec Format
34
37
 
@@ -143,14 +146,24 @@ Sections:
143
146
  - Out of Scope: N exclusions
144
147
  ```
145
148
 
146
- **Review mode (all checks pass):**
149
+ **Review mode (zero issues found — clean pass):**
147
150
  ```
148
151
  APPROVED
149
152
 
150
- N issues found and fixed.
153
+ 0 issues found.
151
154
  All 12 checks passed.
152
155
  ```
153
156
 
157
+ **Review mode (issues found and fixed — needs re-review):**
158
+ ```
159
+ APPROVED_WITH_FIXES
160
+
161
+ N issues found and fixed:
162
+ - [Check Name]: what was fixed
163
+ ...
164
+ All 12 checks now pass, but fixes need verification by a fresh reviewer.
165
+ ```
166
+
154
167
  **Review mode (unfixable issues remain):**
155
168
  ```
156
169
  ISSUES REMAINING
@@ -28,7 +28,10 @@ When prompted to review a task breakdown:
28
28
  3. Run every check in the review checklist below
29
29
  4. Fix every issue found directly in the task files — do not report issues, fix them
30
30
  5. After fixing, re-run the checklist to verify
31
- 6. Return APPROVED if all checks pass, or report remaining issues that could not be auto-fixed
31
+ 6. Return one of three verdicts:
32
+ - **APPROVED** — zero issues found on any check. The breakdown is clean.
33
+ - **APPROVED_WITH_FIXES** — issues were found and fixed. Another reviewer must verify the fixes.
34
+ - **ISSUES REMAINING** — unfixable issues exist that need user action.
32
35
 
33
36
  ## Task File Format
34
37
 
@@ -112,15 +115,26 @@ Created N task files in {spec_dir}/tasks/:
112
115
  Dependency chain: T001 → T002 → T003
113
116
  ```
114
117
 
115
- **Review mode (all checks pass):**
118
+ **Review mode (zero issues found — clean pass):**
116
119
  ```
117
120
  APPROVED
118
121
 
119
122
  N tasks reviewed against M acceptance criteria.
120
- N issues found and fixed.
123
+ 0 issues found.
121
124
  All 9 checks passed.
122
125
  ```
123
126
 
127
+ **Review mode (issues found and fixed — needs re-review):**
128
+ ```
129
+ APPROVED_WITH_FIXES
130
+
131
+ N tasks reviewed against M acceptance criteria.
132
+ N issues found and fixed:
133
+ - [Check Name]: what was fixed
134
+ ...
135
+ All 9 checks now pass, but fixes need verification by a fresh reviewer.
136
+ ```
137
+
124
138
  **Review mode (unfixable issues remain):**
125
139
  ```
126
140
  ISSUES REMAINING
@@ -1,6 +1,6 @@
1
1
  # Spec Generation
2
2
 
3
- The orchestrator spawns a spec-writer agent to generate the spec, then spawns a fresh instance of the same agent to review and fix it. Each review is a clean context window — the reviewer didn't write the spec, so it reads with fresh eyes. Loop until the reviewer returns APPROVED.
3
+ The orchestrator spawns a spec-writer agent to generate the spec, then spawns a fresh instance of the same agent to review and fix it. Each review is a clean context window — the reviewer didn't write the spec, so it reads with fresh eyes. Loop until a reviewer finds zero issues — if a reviewer fixes issues, those fixes must be verified by another fresh reviewer.
4
4
 
5
5
  The spec is the last line of defense. Any error or ambiguity here multiplies through task breakdown and implementation.
6
6
 
@@ -43,14 +43,16 @@ Spawn a FRESH instance of spec-writer in review mode:
43
43
  ```
44
44
  Agent tool:
45
45
  subagent_type: "spec-writer"
46
- prompt: "Review the spec at {spec_dir}/spec.md against the upstream artifacts (intent.md, research.md, design.md). Run the full 12-point checklist. Fix every issue you find directly in spec.md. Return APPROVED if all checks pass, or ISSUES REMAINING for anything you cannot auto-fix."
46
+ prompt: "Review the spec at {spec_dir}/spec.md against the upstream artifacts (intent.md, research.md, design.md). Run the full 12-point checklist. Fix every issue you find directly in spec.md. Return APPROVED if zero issues found, APPROVED_WITH_FIXES if issues were found and fixed, or ISSUES REMAINING for anything you cannot auto-fix."
47
47
  ```
48
48
 
49
- **If APPROVED**: Move to Task 4.
49
+ **If APPROVED** (zero issues found): The spec is verified clean. Move to Task 4.
50
+
51
+ **If APPROVED_WITH_FIXES**: The reviewer fixed issues, but those fixes have not been verified. Spawn another fresh instance to review again. Continue until a reviewer returns APPROVED with zero issues.
50
52
 
51
53
  **If ISSUES REMAINING**: Spawn another fresh instance to review again. The previous reviewer already fixed what it could — the next reviewer may catch different things or resolve what the last one couldn't.
52
54
 
53
- If the loop runs more than 3 cycles without APPROVED, present the remaining issues to the user and ask how to proceed.
55
+ If the loop runs more than 5 cycles without a clean APPROVED, present the remaining issues to the user and ask how to proceed.
54
56
 
55
57
  ## Task 4: Review With User
56
58
 
@@ -1,6 +1,6 @@
1
1
  # Task Breakdown
2
2
 
3
- The orchestrator spawns a task-breakdown agent to generate task files, then spawns a fresh instance of the same agent to review and fix them. Each review is a clean context window — the reviewer didn't write the tasks, so it reads with fresh eyes. Loop until the reviewer returns APPROVED.
3
+ The orchestrator spawns a task-breakdown agent to generate task files, then spawns a fresh instance of the same agent to review and fix them. Each review is a clean context window — the reviewer didn't write the tasks, so it reads with fresh eyes. Loop until a reviewer finds zero issues — if a reviewer fixes issues, those fixes must be verified by another fresh reviewer.
4
4
 
5
5
  Read `{spec_dir}/spec.md` before proceeding.
6
6
 
@@ -30,14 +30,16 @@ Spawn a FRESH instance of task-breakdown in review mode:
30
30
  ```
31
31
  Agent tool:
32
32
  subagent_type: "task-breakdown"
33
- prompt: "Review the task breakdown at {spec_dir}. Read spec.md and all files in {spec_dir}/tasks/. Run the full 9-point checklist. Fix every issue you find directly in the task files. Return APPROVED if all checks pass, or ISSUES REMAINING for anything you cannot auto-fix."
33
+ prompt: "Review the task breakdown at {spec_dir}. Read spec.md and all files in {spec_dir}/tasks/. Run the full 9-point checklist. Fix every issue you find directly in the task files. Return APPROVED if zero issues found, APPROVED_WITH_FIXES if issues were found and fixed, or ISSUES REMAINING for anything you cannot auto-fix."
34
34
  ```
35
35
 
36
- **If APPROVED**: Move to Task 3.
36
+ **If APPROVED** (zero issues found): The breakdown is verified clean. Move to Task 3.
37
+
38
+ **If APPROVED_WITH_FIXES**: The reviewer fixed issues, but those fixes have not been verified. Spawn another fresh instance to review again. Continue until a reviewer returns APPROVED with zero issues.
37
39
 
38
40
  **If ISSUES REMAINING**: Spawn another fresh instance to review again. The previous reviewer already fixed what it could — the next reviewer may catch different things or resolve what the last one couldn't.
39
41
 
40
- If the loop runs more than 3 cycles without APPROVED, present the remaining issues to the user and ask how to proceed.
42
+ If the loop runs more than 5 cycles without a clean APPROVED, present the remaining issues to the user and ask how to proceed.
41
43
 
42
44
  ## Task 3: Review With User
43
45