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.
- package/package.json +1 -1
- package/src/cli/init.js +16 -14
package/package.json
CHANGED
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"\`).
|
|
261
|
-
2. Run \`openairev wait\` via Bash
|
|
262
|
-
|
|
263
|
-
**
|
|
264
|
-
-
|
|
265
|
-
-
|
|
266
|
-
-
|
|
267
|
-
-
|
|
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"\`).
|
|
315
|
-
2. Run \`openairev wait\`
|
|
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
|
-
**
|
|
318
|
-
-
|
|
319
|
-
-
|
|
320
|
-
-
|
|
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
|
|