@juicesharp/rpiv-pi 0.8.1 → 0.8.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.
- package/package.json +1 -1
- package/skills/code-review/SKILL.md +8 -18
package/package.json
CHANGED
|
@@ -137,7 +137,7 @@ Spawn these agents in parallel using the Agent tool. Each receives the `## Disco
|
|
|
137
137
|
|
|
138
138
|
**Dependencies lens:**
|
|
139
139
|
- subagent_type: `codebase-analyzer`
|
|
140
|
-
- Prompt (only when `ManifestChanged` is true; otherwise SKIP and
|
|
140
|
+
- Prompt (only when `ManifestChanged` is true; otherwise SKIP this lens and omit the `### Dependencies` H3 block from the artifact):
|
|
141
141
|
```
|
|
142
142
|
Known Context:
|
|
143
143
|
[paste Discovery Map verbatim]
|
|
@@ -200,11 +200,8 @@ Spawn these agents in parallel using the Agent tool. Each receives the `## Disco
|
|
|
200
200
|
2. **Probe advisor availability** — attempt a probe by checking whether `advisor` is in the active tool set (main-thread visibility). If yes, proceed to advisor path; otherwise take the inline path.
|
|
201
201
|
|
|
202
202
|
3. **Advisor path** (when advisor is active):
|
|
203
|
-
- Print a main-thread `## Pre-Adjudication Findings` block
|
|
204
|
-
- Call `advisor()` (zero-param).
|
|
205
|
-
- On success: paste the advisor's prose verbatim into the artifact's `## Advisor Adjudication` section (Step 6) and note `advisor_used: true` + `advisor_model: [model-id]` in frontmatter.
|
|
206
|
-
- On `"aborted"` or empty text: set `advisor_used: false`, skip the adjudication section, fall through to the inline path.
|
|
207
|
-
- On `"error"`: note the error inline in the adjudication section as `advisor error: <message>`; continue with inline reconciliation alongside.
|
|
203
|
+
- Print a main-thread `## Pre-Adjudication Findings` block first — the advisor reads `getBranch()`, so evidence must be flushed before the call.
|
|
204
|
+
- Call `advisor()` (zero-param). If it returns usable prose, paste it verbatim into `## Advisor Adjudication` and skip the inline path. Otherwise fall through.
|
|
208
205
|
|
|
209
206
|
4. **Inline path** (advisor unavailable or errored):
|
|
210
207
|
- Run a dimension-sweep modeled on `skills/design/SKILL.md:83-116`: Data model / API surface / Integration / Scope / Verification / Performance.
|
|
@@ -226,7 +223,7 @@ Quality: [C🔴/I🟡/S🔵/D💭]
|
|
|
226
223
|
Security: [C/I/S/D]
|
|
227
224
|
Dependencies: [C/I/S/D | not-applicable]
|
|
228
225
|
Precedents: [N composite lessons, top: "[one-line]"]
|
|
229
|
-
Advisor: [
|
|
226
|
+
Advisor: [adjudicated | inline]
|
|
230
227
|
```
|
|
231
228
|
|
|
232
229
|
Wait for the developer's response. Then ask **one question at a time**, waiting for each answer.
|
|
@@ -261,16 +258,9 @@ branch: [Branch]
|
|
|
261
258
|
commit: [Short hash]
|
|
262
259
|
review_type: [commit|pr|staged|working]
|
|
263
260
|
scope: "[What was reviewed]"
|
|
264
|
-
files_changed: [N]
|
|
265
261
|
critical_issues: [Count across all lenses]
|
|
266
262
|
important_issues: [Count]
|
|
267
263
|
suggestions: [Count]
|
|
268
|
-
quality_issues: [Count]
|
|
269
|
-
security_issues: [Count]
|
|
270
|
-
dependency_issues: [Count | 0 when not-applicable]
|
|
271
|
-
passes: [quality, security, dependencies] # omit dependencies when not-applicable
|
|
272
|
-
advisor_used: [true|false]
|
|
273
|
-
advisor_model: [provider:id] # only when advisor_used is true
|
|
274
264
|
status: [approved|needs_changes|requesting_changes]
|
|
275
265
|
tags: [code-review, relevant-components]
|
|
276
266
|
last_updated: [YYYY-MM-DD]
|
|
@@ -311,7 +301,7 @@ last_updated_by: [User]
|
|
|
311
301
|
- `file:line` — [architectural question]
|
|
312
302
|
|
|
313
303
|
### Dependencies
|
|
314
|
-
(Omit this H3 block entirely when `
|
|
304
|
+
(Omit this H3 block entirely when the Dependencies lens was skipped — i.e., `ManifestChanged` was false.)
|
|
315
305
|
#### 🔴 Critical
|
|
316
306
|
- `dep@ver` (`package.json:line`) — [CVE id + link + affected-range + fix version]
|
|
317
307
|
#### 🟡 Important
|
|
@@ -337,8 +327,8 @@ last_updated_by: [User]
|
|
|
337
327
|
[Links to thoughts/ docs referenced by precedent-locator; one line each, no summaries.]
|
|
338
328
|
|
|
339
329
|
## Advisor Adjudication
|
|
340
|
-
(Omit when
|
|
341
|
-
[Advisor model prose pasted VERBATIM. Do not edit or paraphrase.
|
|
330
|
+
(Omit this H2 entirely when the advisor did not run — its presence IS the signal that adjudication occurred.)
|
|
331
|
+
[Advisor model prose pasted VERBATIM. Do not edit or paraphrase.]
|
|
342
332
|
|
|
343
333
|
## Reconciliation Notes
|
|
344
334
|
(Include only when the inline path ran, OR when developer dispute in Step 5 moved a severity.)
|
|
@@ -355,7 +345,7 @@ Review written to:
|
|
|
355
345
|
`thoughts/shared/reviews/[filename].md`
|
|
356
346
|
|
|
357
347
|
[C] critical, [I] important, [S] suggestions across [Q] quality, [Se] security, [D] dependency issues.
|
|
358
|
-
Advisor: [
|
|
348
|
+
Advisor: [adjudicated | inline]
|
|
359
349
|
Status: [verdict]
|
|
360
350
|
|
|
361
351
|
Top items:
|