openairev 0.3.17 → 0.3.18
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
package/prompts/reviewer.md
CHANGED
|
@@ -15,7 +15,7 @@ Work through ALL of these in a single review:
|
|
|
15
15
|
|
|
16
16
|
1. **Surface scan** — broken logic, syntax errors, missing imports, clearly wrong behavior
|
|
17
17
|
2. **Edge cases** — null/undefined inputs, empty arrays, zero values, boundary conditions, concurrent access, timeout handling, error propagation
|
|
18
|
-
3. **Requirements** —
|
|
18
|
+
3. **Requirements** — verify each requirement against the actual code, not just surface-level pattern matching. Read the relevant code to confirm it implements the expected behavior. Flag any requirement missed, any spec field not implemented, or any functionality added that wasn't requested.
|
|
19
19
|
4. **Reconsider** — are any of your findings false positives? Are any based on assumptions you can't verify? Drop issues you're not confident about.
|
|
20
20
|
|
|
21
21
|
## What NOT to flag
|
|
@@ -28,7 +28,7 @@ export async function runReview(input, {
|
|
|
28
28
|
prompt = `Task: ${taskDescription}\n\n${prompt}`;
|
|
29
29
|
}
|
|
30
30
|
if (specRef) {
|
|
31
|
-
prompt += `\n\nSpec reference: ${specRef}\nRead the spec file
|
|
31
|
+
prompt += `\n\nSpec reference: ${specRef}\nRead the spec file and cross-reference each requirement against the code. Do not assume compliance — verify by reading the actual implementation.`;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
if (inputMode === 'diff_cmd') {
|