prr-kit 2.0.9 → 2.0.10
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
|
@@ -327,14 +327,15 @@ On completion, store `pr_knowledge_base` = path to the generated context file.
|
|
|
327
327
|
|
|
328
328
|
## PHASE 3 — REVIEW
|
|
329
329
|
|
|
330
|
-
**Context:** Confirm `target_branch`, `base_branch`, `session_output`, `pr_knowledge_base`, `communication_language` are in working context from earlier phases.
|
|
330
|
+
**Context:** Confirm `target_branch`, `base_branch`, `session_output`, `pr_knowledge_base`, `communication_language` are in working context from earlier phases.
|
|
331
331
|
|
|
332
332
|
**Review orchestration:** Read `user_instructions` from `{pr_knowledge_base}`. Use judgment to decide which review skills (3a–3e) to run, in what order, and with what focus — based on the user's actual intent, the PR type, and the project context.
|
|
333
333
|
- No user instructions provided → run all reviews in default order.
|
|
334
334
|
- User specified scope, focus, or constraints → adapt accordingly: skip irrelevant reviews, reorder, or narrow focus to serve the user's actual need. Reviews are optional skills — invoke only what genuinely serves the request.
|
|
335
|
-
- For each skipped review: print `⏭️ {Review Name} skipped`
|
|
335
|
+
- **For each skipped review: print `⏭️ {Review Name} skipped` then move on. Do NOT set `output_file`. Do NOT load the instructions file. Do NOT create any file. Execute nothing else for that review.**
|
|
336
336
|
|
|
337
337
|
### 3a. General Review
|
|
338
|
+
*Skip entirely if not in scope — print `⏭️ General Review skipped` and stop here for this review.*
|
|
338
339
|
Set `output_file` = `{session_output}/general-review.md`
|
|
339
340
|
Load and follow: `{project-root}/_prr/prr/workflows/3-review/general-review/instructions.xml`
|
|
340
341
|
|
|
@@ -342,6 +343,7 @@ Collect findings as `{general_findings}`.
|
|
|
342
343
|
Print section header: `## 👁️ General Review`
|
|
343
344
|
|
|
344
345
|
### 3b. Security Review
|
|
346
|
+
*Skip entirely if not in scope — print `⏭️ Security Review skipped` and stop here for this review.*
|
|
345
347
|
Set `output_file` = `{session_output}/security-review.md`
|
|
346
348
|
Load and follow: `{project-root}/_prr/prr/workflows/3-review/security-review/instructions.xml`
|
|
347
349
|
|
|
@@ -349,6 +351,7 @@ Collect findings as `{security_findings}`.
|
|
|
349
351
|
Print section header: `## 🔒 Security Review`
|
|
350
352
|
|
|
351
353
|
### 3c. Performance Review
|
|
354
|
+
*Skip entirely if not in scope — print `⏭️ Performance Review skipped` and stop here for this review.*
|
|
352
355
|
Set `output_file` = `{session_output}/performance-review.md`
|
|
353
356
|
Load and follow: `{project-root}/_prr/prr/workflows/3-review/performance-review/instructions.xml`
|
|
354
357
|
|
|
@@ -356,6 +359,7 @@ Collect findings as `{performance_findings}`.
|
|
|
356
359
|
Print section header: `## ⚡ Performance Review`
|
|
357
360
|
|
|
358
361
|
### 3d. Architecture Review
|
|
362
|
+
*Skip entirely if not in scope — print `⏭️ Architecture Review skipped` and stop here for this review.*
|
|
359
363
|
Set `output_file` = `{session_output}/architecture-review.md`
|
|
360
364
|
Load and follow: `{project-root}/_prr/prr/workflows/3-review/architecture-review/instructions.xml`
|
|
361
365
|
|
|
@@ -363,6 +367,7 @@ Collect findings as `{architecture_findings}`.
|
|
|
363
367
|
Print section header: `## 🏗️ Architecture Review`
|
|
364
368
|
|
|
365
369
|
### 3e. Business Review
|
|
370
|
+
*Skip entirely if not in scope — print `⏭️ Business Review skipped` and stop here for this review.*
|
|
366
371
|
Set `output_file` = `{session_output}/business-review.md`
|
|
367
372
|
Load and follow: `{project-root}/_prr/prr/workflows/3-review/business-review/instructions.xml`
|
|
368
373
|
|