claude-dev-env 1.50.3 → 1.50.4

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": "claude-dev-env",
3
- "version": "1.50.3",
3
+ "version": "1.50.4",
4
4
  "description": "Claude Code development standards — rules, hooks, agents, commands, and skills",
5
5
  "type": "module",
6
6
  "bin": {
@@ -105,6 +105,15 @@ For each unresolved thread, verify the concern against current HEAD;
105
105
  either fix-and-resolve, or reply-with-note-and-resolve when the concern
106
106
  no longer applies.
107
107
 
108
+ **Full-PR-diff rule: every CODE-REVIEW round (Step 5) and every BUGTEAM
109
+ round (Step 6) covers the FULL `origin/main...HEAD` diff — every file
110
+ the PR touches.** A round that scopes to a subset — only the last commit,
111
+ only files touched since the prior clean SHA, only bugbot-flagged paths,
112
+ or any other delta cut — does not satisfy the gate, and a "clean" verdict
113
+ against a partial diff is not a valid clean. Re-run the round against the
114
+ full diff before recording `code_review_clean_at` or treating the bugteam
115
+ round as converged. This rule holds every tick, every loop, every PR.
116
+
108
117
  - [ ] **Step 0: Grant project permissions**
109
118
  `python "$HOME/.claude/skills/bugteam/scripts/grant_project_claude_permissions.py"`
110
119
 
@@ -159,12 +168,22 @@ no longer applies.
159
168
 
160
169
  Pre-condition: `bugbot_clean_at == current_head` (or `bugbot_down == true`).
161
170
 
162
- Run Claude Code's built-in `/code-review --fix` on the current diff —
171
+ Run Claude Code's built-in `/code-review --fix` on the full
172
+ `origin/main...HEAD` diff —
163
173
  the [local diff review](https://code.claude.com/docs/en/code-review#review-a-diff-locally)
164
174
  — so it reviews the diff and applies its findings to the working
165
175
  tree. Pass no effort argument, so the review uses the session's
166
176
  current effort.
167
177
 
178
+ **Scope: the FULL `origin/main...HEAD` diff every tick** — every file
179
+ the PR touches. Do not delta-scope to commits added since the prior
180
+ clean SHA, do not scope to a single file, do not scope to bugbot's
181
+ flagged paths. Before running, confirm the working tree is on the
182
+ PR's HEAD with no uncommitted edits, then invoke `/code-review --fix`
183
+ with no path arguments so it audits the whole branch diff against
184
+ `origin/main`. A partial-scope round does not count and cannot set
185
+ `code_review_clean_at`.
186
+
168
187
  - [ ] **fixes applied** (working tree changed) →
169
188
  - [ ] Commit the applied fixes (one commit) → push
170
189
  - [ ] reset `bugbot_clean_at = null`, `code_review_clean_at = null`
@@ -187,6 +206,14 @@ no longer applies.
187
206
  `pr_converge_bugteam_enforcer` hook blocks it. `qbug` is NOT an accepted
188
207
  substitute; `bugteam` is the only allowed skill at this step.
189
208
 
209
+ **Scope: the FULL `origin/main...HEAD` diff every tick** — every file
210
+ the PR touches. Pass the PR URL as the sole argument so bugteam audits
211
+ the whole branch diff against `origin/main`. Do not pass a file list,
212
+ a path filter, a commit range, or any "just the new commits since
213
+ last clean" cut — bugteam owns its own discovery on the full PR diff.
214
+ A partial-scope round does not count and cannot satisfy the
215
+ converged-on-current-HEAD condition below.
216
+
190
217
  After bugteam completes, re-resolve HEAD.
191
218
 
192
219
  - [ ] **bugteam pushed new commits** →
@@ -117,14 +117,23 @@ c. Decide (four branches; match first whose predicate holds):
117
117
 
118
118
  Local correctness/quality pass between BUGBOT clean and BUGTEAM. Enters
119
119
  after BUGBOT reports clean on `current_head` (or `bugbot_down == true`).
120
- Runs Claude Code's built-in `/code-review --fix` on the current diff; it
121
- produces no GitHub review artifact, so there are no code-review threads to
122
- resolve.
123
-
124
- a. Run Claude Code's built-in `/code-review --fix` on the current diff —
125
- the [local diff review](https://code.claude.com/docs/en/code-review#review-a-diff-locally).
126
- It reviews the diff and applies its findings to the working tree. Pass
127
- no effort argument, so the review uses the session's current effort.
120
+ Runs Claude Code's built-in `/code-review --fix` on the full
121
+ `origin/main...HEAD` diff; it produces no GitHub review artifact, so there
122
+ are no code-review threads to resolve.
123
+
124
+ a. Run Claude Code's built-in `/code-review --fix` on the FULL
125
+ `origin/main...HEAD` diff — every file the PR touches — via the
126
+ [local diff review](https://code.claude.com/docs/en/code-review#review-a-diff-locally).
127
+ It reviews the diff and applies its findings to the working tree.
128
+
129
+ Before running, confirm the working tree sits on the PR's HEAD with no
130
+ uncommitted edits, then invoke `/code-review --fix` with no path
131
+ arguments so it audits the whole branch diff against `origin/main`. Do
132
+ not delta-scope to commits added since the prior clean SHA, do not
133
+ scope to a single file, do not scope to bugbot's flagged paths. A
134
+ partial-scope round does not count and cannot set
135
+ `code_review_clean_at`. Pass no effort argument, so the review uses
136
+ the session's current effort.
128
137
 
129
138
  b. Decide (two branches; match first whose predicate holds):
130
139
 
@@ -144,6 +153,13 @@ b. Decide (two branches; match first whose predicate holds):
144
153
 
145
154
  a. Run **bugteam** on current PR.
146
155
 
156
+ Pass the PR URL as the sole argument so bugteam audits the FULL
157
+ `origin/main...HEAD` diff — every file the PR touches. Bugteam owns
158
+ its own discovery on the full PR diff. Do not pass a file list, a
159
+ path filter, a commit range, or any "just the new commits since last
160
+ clean" cut. A partial-scope round does not count and cannot satisfy
161
+ the converged-on-current-HEAD condition in step (d).
162
+
147
163
  - **`Skill` invokable**: invoke bugteam
148
164
  with `Skill`.
149
165