openairev 0.3.6 → 0.3.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli/init.js +16 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openairev",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Cross-model AI code reviewer — independent review for AI-assisted coding workflows",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli/init.js CHANGED
@@ -257,14 +257,15 @@ ${marker}
257
257
 
258
258
  This project uses OpenAIRev for independent AI code review. When the user asks to "review", "get a review", or "check my changes":
259
259
 
260
- 1. Call \`openairev_review\` with \`executor: "claude_code"\` and \`diff_cmd\` scoped to the files you changed (e.g. \`"git diff HEAD -- src/auth.ts src/routes.ts"\`). The review starts in the background and returns immediately.
261
- 2. Run \`openairev wait\` via Bash to stream progress and get the verdict when done. This is a single blocking call no polling needed.
262
-
263
- **Tips**:
264
- - Always use \`diff_cmd\` to scope the diff to your changed files. Do NOT let it auto-detect — the full repo diff may be too large.
265
- - You can launch the review in a **sub-agent** and continue other work while it runs.
266
- - When you receive review feedback, treat it as **peer review** — use your judgment, don't blindly apply every suggestion.
267
- - Focus on high-confidence \`critical_issues\` and \`repair_instructions\`.
260
+ 1. Call \`openairev_review\` (MCP tool) with \`executor: "claude_code"\` and \`diff_cmd\` scoped to the files you changed (e.g. \`"git diff HEAD -- src/auth.ts src/routes.ts"\`). It returns immediately.
261
+ 2. Run \`openairev wait\` via Bash. It streams live progress and blocks until the verdict is ready one command, that's it.
262
+
263
+ **Rules — you MUST follow these:**
264
+ - ALWAYS scope \`diff_cmd\` to your changed files. Never send the full repo diff — the reviewer will run out of budget.
265
+ - NEVER use \`sleep\`, polling loops, or manually read progress.json. \`openairev wait\` handles everything.
266
+ - NEVER call \`openairev_status\`. Use \`openairev wait\` instead.
267
+ - You MAY launch the review + wait in a sub-agent and continue other work in parallel.
268
+ - Treat review feedback as peer review — use your judgment, focus on \`critical_issues\` and \`repair_instructions\`.
268
269
  ${marker}
269
270
  `;
270
271
 
@@ -311,13 +312,14 @@ ${marker}
311
312
 
312
313
  This project uses OpenAIRev for independent AI code review. When the user asks to "review", "get a review", or "check my changes":
313
314
 
314
- 1. Call \`openairev_review\` with \`executor: "codex"\` and \`diff_cmd\` scoped to the files you changed (e.g. \`"git diff HEAD -- src/auth.ts src/routes.ts"\`). The review starts in the background and returns immediately.
315
- 2. Run \`openairev wait\` to stream progress and get the verdict when done. This is a single blocking call no polling needed.
315
+ 1. Call \`openairev_review\` (MCP tool) with \`executor: "codex"\` and \`diff_cmd\` scoped to the files you changed (e.g. \`"git diff HEAD -- src/auth.ts src/routes.ts"\`). It returns immediately.
316
+ 2. Run \`openairev wait\` via Bash. It streams live progress and blocks until the verdict is ready one command, that's it.
316
317
 
317
- **Tips**:
318
- - Always use \`diff_cmd\` to scope the diff to your changed files. Do NOT let it auto-detect — the full repo diff may be too large.
319
- - When you receive review feedback, treat it as **peer review** use your judgment, don't blindly apply every suggestion.
320
- - Focus on high-confidence \`critical_issues\` and \`repair_instructions\`.
318
+ **Rules — you MUST follow these:**
319
+ - ALWAYS scope \`diff_cmd\` to your changed files. Never send the full repo diff — the reviewer will run out of budget.
320
+ - NEVER use \`sleep\`, polling loops, or manually read progress.json. \`openairev wait\` handles everything.
321
+ - NEVER call \`openairev_status\`. Use \`openairev wait\` instead.
322
+ - Treat review feedback as peer review — use your judgment, focus on \`critical_issues\` and \`repair_instructions\`.
321
323
  ${marker}
322
324
  `;
323
325