@chris1807/claude-kit 2.1.15 → 2.1.16

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": "@chris1807/claude-kit",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "description": "Claude Code starter kit for Azure DevOps teams — agents, hooks, MCP servers, slash commands, and end-to-end work item → PR → release → deploy workflow automation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,7 +33,7 @@ Regardless of whether description/acceptance criteria changed, **always read the
33
33
 
34
34
  ## Step 3: Summarize Rework and Confirm
35
35
 
36
- Present a summary of the rework feedback to the user:
36
+ Present a summary of the rework feedback to the user. **Every feedback item must be mapped to an Acceptance Criterion** — if a feedback item doesn't map to any AC, flag it explicitly as either (a) implied by an AC that's worded too loosely or (b) scope-creep that should be a separate work item.
37
37
 
38
38
  ```
39
39
  ## Rework for AB#{id}: {title}
@@ -41,19 +41,25 @@ Present a summary of the rework feedback to the user:
41
41
  **Last PR:** #{pr_id} (created {date})
42
42
  **New comments:** {count}
43
43
 
44
- ### Rework Feedback
45
- {summarized feedback from new comments numbered list}
44
+ ### Current Acceptance Criteria
45
+ 1. {AC #1verbatim}
46
+ 2. {AC #2 — verbatim}
47
+ 3. ...
48
+
49
+ ### Rework Feedback → AC mapping
50
+ | # | Feedback (summarized) | Maps to AC | Status |
51
+ |---|----------------------|-----------|--------|
52
+ | 1 | {feedback item 1} | AC #2 | not met in last PR |
53
+ | 2 | {feedback item 2} | AC #4 | partially met — edge case missed |
54
+ | 3 | {feedback item 3} | (none) | ⚠ scope-creep — flag for separate item? |
46
55
 
47
56
  ### Requirement Changes (if any)
48
57
  {description/acceptance criteria changes since last PR, or "No changes to description or acceptance criteria since last PR"}
49
58
 
50
- ### Current Acceptance Criteria
51
- {full acceptance criteria — numbered list, highlight any that the feedback suggests are not yet met}
52
-
53
- Does this capture the rework correctly? Do you have any additional context?
59
+ Does this capture the rework correctly? Any feedback items that should be flagged as scope-creep (separate work item) instead of being addressed here?
54
60
  ```
55
61
 
56
- **Wait for the user to respond.** Do NOT proceed until the user confirms or provides additional context. If they add context, incorporate it into the plan.
62
+ **Wait for the user to respond.** Do NOT proceed until the user confirms the AC mapping. If they reclassify any item as scope-creep, drop it from the plan and note it in the final summary. If they add context, incorporate it.
57
63
 
58
64
  ## Step 4: Explore & Plan
59
65
 
@@ -85,6 +91,17 @@ Present the plan to the user:
85
91
 
86
92
  List every test file you will add or modify and the scenarios each covers. Rework feedback often reveals missing test coverage on the original implementation — add regression tests that would have caught the original issue. If a rework change in this plan has no test coverage, justify why here.
87
93
 
94
+ ### Acceptance Criteria Coverage
95
+ For every AC on the work item, state how this plan ensures it is met after rework. The rework is not complete until every row is "covered." Use this table — do not skip any AC, even ones the feedback didn't mention.
96
+
97
+ | AC # | Acceptance Criterion (short) | How this plan covers it |
98
+ |------|------------------------------|--------------------------|
99
+ | 1 | {AC #1 short form} | Already met by prior PR — verify via {test or manual check} |
100
+ | 2 | {AC #2 short form} | Addressed by {file/change} + {test} |
101
+ | 3 | {AC #3 short form} | ⚠ Not yet covered — {what needs to be added to this plan before approving} |
102
+
103
+ If any row reads "⚠ Not yet covered," fix the plan before presenting it — do not ask the user to approve an incomplete plan.
104
+
88
105
  ### Agents
89
106
  - **backend**: {what it will do}
90
107
  - **frontend**: {what it will do}
@@ -188,6 +205,14 @@ Run a build check **before** any other quality checks. Use the `build-validator`
188
205
  1. **Review** code for quality, security, and Clean Architecture compliance
189
206
  2. **Run the full test suite** — every unit test in the repo, plus integration tests. Not just the tests added in this rework. A failure in an unrelated test means this rework broke something else; treat it as a regression, fix it, and re-run until the entire suite is green
190
207
  3. **Run lint** — ESLint and dotnet format
208
+ 4. **Acceptance Criteria check** — re-read the work item's full Acceptance Criteria (the same list captured in Step 3). For each AC, identify the test or piece of code that proves it's met. If any AC has no covering test or visible code path, flag it before moving to the UAT gate:
209
+
210
+ ```
211
+ ⚠ AC #{n} ({short form}) has no covering test or clear code path.
212
+ Add coverage now, or call this out to the user before UAT.
213
+ ```
214
+
215
+ Do not advance to Step 10 with any AC unverified.
191
216
 
192
217
  ## Step 10: UAT Gate
193
218