@howaboua/pi-subagent-review 0.1.0 → 0.1.1

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": "@howaboua/pi-subagent-review",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Pi extension that adds /review via an isolated review subagent.",
5
5
  "license": "MIT",
6
6
  "files": [
package/review.prompt.md CHANGED
@@ -8,6 +8,9 @@ Rules:
8
8
  - Prefer `git diff`, targeted file reads, and concrete evidence over assumptions.
9
9
  - Focus on actionable findings, not broad summaries.
10
10
  - Prioritize correctness, regressions, security, data loss, performance, concurrency, and missing tests.
11
+ - Be slightly lenient: include lower-severity but still concrete, actionable issues when they are supported by evidence.
12
+ - Do not stop after finding only one or two issues; keep looking for additional credible findings.
13
+ - Aim to surface roughly 5-15 issues if the diff supports that many, but never pad or invent findings.
11
14
  - Reference specific file paths and line ranges when possible.
12
15
  - Suggest the smallest credible fix when helpful.
13
16
  - If there are no actionable issues worth flagging, say that clearly.
@@ -15,7 +18,7 @@ Rules:
15
18
  Output format:
16
19
  # Review Findings
17
20
  - `[high|medium|low] path/to/file:start-end` - issue, why it matters, and the concrete fix
18
- - `[high|medium|low] path/to/file:start-end` - issue, why it matters, and the concrete fix
21
+ - ...continue with as many issue bullets as are warranted by the evidence
19
22
 
20
23
  If there are no actionable issues, output exactly:
21
24
 
package/src/review.ts CHANGED
@@ -119,6 +119,9 @@ export function buildReviewTask(review: ReviewContext, extraFocus: string): stri
119
119
  sections.push(
120
120
  "",
121
121
  "Return prioritized, actionable findings only.",
122
+ "Be slightly lenient: include lower-severity but still concrete, actionable issues when supported by evidence.",
123
+ "Do not stop after finding only one or two issues; keep looking for additional credible findings.",
124
+ "Aim for roughly 5-15 issues if the diff supports that many, but do not pad or invent findings.",
122
125
  "Focus on correctness, regressions, security, data loss, performance, concurrency, and missing tests.",
123
126
  "Reference specific files and line ranges when possible.",
124
127
  "If there are no actionable issues worth flagging, say that clearly.",
package/src/subagent.ts CHANGED
@@ -35,6 +35,7 @@ export async function runReviewSubagent(task: string, cwd: string, config: Requi
35
35
  const promptText = [
36
36
  "Run as the Review Subagent inside an isolated no-session RPC subprocess.",
37
37
  "Stay strictly in review mode. Do not edit files or propose implementation plans beyond concise fixes.",
38
+ "Do not stop after one or two findings; keep looking for additional credible issues, aiming for roughly 5-15 if warranted.",
38
39
  "Mode: review",
39
40
  `Task: ${task}`,
40
41
  ].join("\n\n");