You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- generated by build-review-agents.sh — do not edit manually -->
9
9
10
10
# Code Reviewer — Universal Base Guidance
@@ -185,12 +185,13 @@ Produce a JSON object with this EXACT schema (for writing to disk in Step 3).
185
185
186
186
VIOLATIONS CAUSE RE-DISPATCH.
187
187
188
-
REQUIRED: EXACTLY two top-level keys:
188
+
REQUIREDtop-level keys: `"findings"`, `"summary"`, and `"review_completed"` (plus optional `escalate_review`):
189
189
-`"findings"` — array of finding objects; each `"file"` field MUST reference a file present in the diff being reviewed
190
190
-`"summary"` — 2–3 sentence assessment
191
+
-`"review_completed"` — boolean; ALWAYS set to `true`. This affirms a full review pass completed; it is REQUIRED so an empty `findings` list is distinguishable from a truncated/garbled payload. A clean (no-issues) review with `"findings": []` is REJECTED unless `"review_completed": true` is present (bug 1b76).
191
192
192
193
Do NOT include a scores key.
193
-
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) —
194
+
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) and review_completed —
194
195
the validator will reject unrecognized keys and force a re-dispatch.
195
196
196
197
**`category` MUST be EXACTLY one of: `correctness`, `design`, `hygiene`, `maintainability`, `verification` — do NOT invent new categories like "code_smell" or "missing_test_coverage". The validator (validate-review-output.sh) hard-rejects any other value and the correction loop only has a single retry budget; off-enum categories burn that budget.**
@@ -211,10 +212,13 @@ the validator will reject unrecognized keys and force a re-dispatch.
211
212
}
212
213
],
213
214
"summary": "2-3 sentence assessment",
215
+
"review_completed": true,
214
216
"escalate_review": [{"finding_index": 0, "reason": "uncertain whether this is important or critical"}]
215
217
}
216
218
```
217
219
220
+
**review_completed** — required boolean; always `true`. Affirms a full review pass completed; required so an empty findings list is distinguishable from a truncated payload (bug 1b76). The validator rejects a `"findings": []` payload that omits `review_completed: true`.
221
+
218
222
**cited_lines** — required; minimum 1 entry per finding.
219
223
- Accepted: `<path>:<line>` (exact citation) or `~<path>:<line>` (approximate, when exact line is unknown in CI context)
220
224
- Rejected: `~` alone, empty strings, entries without a colon-delimited positive integer line number (e.g., `src/foo.sh` without `:42`)
<!-- generated by build-review-agents.sh — do not edit manually -->
9
9
10
10
# Code Reviewer — Universal Base Guidance
@@ -185,12 +185,13 @@ Produce a JSON object with this EXACT schema (for writing to disk in Step 3).
185
185
186
186
VIOLATIONS CAUSE RE-DISPATCH.
187
187
188
-
REQUIRED: EXACTLY two top-level keys:
188
+
REQUIREDtop-level keys: `"findings"`, `"summary"`, and `"review_completed"` (plus optional `escalate_review`):
189
189
-`"findings"` — array of finding objects; each `"file"` field MUST reference a file present in the diff being reviewed
190
190
-`"summary"` — 2–3 sentence assessment
191
+
-`"review_completed"` — boolean; ALWAYS set to `true`. This affirms a full review pass completed; it is REQUIRED so an empty `findings` list is distinguishable from a truncated/garbled payload. A clean (no-issues) review with `"findings": []` is REJECTED unless `"review_completed": true` is present (bug 1b76).
191
192
192
193
Do NOT include a scores key.
193
-
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) —
194
+
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) and review_completed —
194
195
the validator will reject unrecognized keys and force a re-dispatch.
195
196
196
197
**`category` MUST be EXACTLY one of: `correctness`, `design`, `hygiene`, `maintainability`, `verification` — do NOT invent new categories like "code_smell" or "missing_test_coverage". The validator (validate-review-output.sh) hard-rejects any other value and the correction loop only has a single retry budget; off-enum categories burn that budget.**
@@ -211,10 +212,13 @@ the validator will reject unrecognized keys and force a re-dispatch.
211
212
}
212
213
],
213
214
"summary": "2-3 sentence assessment",
215
+
"review_completed": true,
214
216
"escalate_review": [{"finding_index": 0, "reason": "uncertain whether this is important or critical"}]
215
217
}
216
218
```
217
219
220
+
**review_completed** — required boolean; always `true`. Affirms a full review pass completed; required so an empty findings list is distinguishable from a truncated payload (bug 1b76). The validator rejects a `"findings": []` payload that omits `review_completed: true`.
221
+
218
222
**cited_lines** — required; minimum 1 entry per finding.
219
223
- Accepted: `<path>:<line>` (exact citation) or `~<path>:<line>` (approximate, when exact line is unknown in CI context)
220
224
- Rejected: `~` alone, empty strings, entries without a colon-delimited positive integer line number (e.g., `src/foo.sh` without `:42`)
<!-- generated by build-review-agents.sh — do not edit manually -->
9
9
10
10
# Code Reviewer — Universal Base Guidance
@@ -185,12 +185,13 @@ Produce a JSON object with this EXACT schema (for writing to disk in Step 3).
185
185
186
186
VIOLATIONS CAUSE RE-DISPATCH.
187
187
188
-
REQUIRED: EXACTLY two top-level keys:
188
+
REQUIREDtop-level keys: `"findings"`, `"summary"`, and `"review_completed"` (plus optional `escalate_review`):
189
189
-`"findings"` — array of finding objects; each `"file"` field MUST reference a file present in the diff being reviewed
190
190
-`"summary"` — 2–3 sentence assessment
191
+
-`"review_completed"` — boolean; ALWAYS set to `true`. This affirms a full review pass completed; it is REQUIRED so an empty `findings` list is distinguishable from a truncated/garbled payload. A clean (no-issues) review with `"findings": []` is REJECTED unless `"review_completed": true` is present (bug 1b76).
191
192
192
193
Do NOT include a scores key.
193
-
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) —
194
+
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) and review_completed —
194
195
the validator will reject unrecognized keys and force a re-dispatch.
195
196
196
197
**`category` MUST be EXACTLY one of: `correctness`, `design`, `hygiene`, `maintainability`, `verification` — do NOT invent new categories like "code_smell" or "missing_test_coverage". The validator (validate-review-output.sh) hard-rejects any other value and the correction loop only has a single retry budget; off-enum categories burn that budget.**
@@ -211,10 +212,13 @@ the validator will reject unrecognized keys and force a re-dispatch.
211
212
}
212
213
],
213
214
"summary": "2-3 sentence assessment",
215
+
"review_completed": true,
214
216
"escalate_review": [{"finding_index": 0, "reason": "uncertain whether this is important or critical"}]
215
217
}
216
218
```
217
219
220
+
**review_completed** — required boolean; always `true`. Affirms a full review pass completed; required so an empty findings list is distinguishable from a truncated payload (bug 1b76). The validator rejects a `"findings": []` payload that omits `review_completed: true`.
221
+
218
222
**cited_lines** — required; minimum 1 entry per finding.
219
223
- Accepted: `<path>:<line>` (exact citation) or `~<path>:<line>` (approximate, when exact line is unknown in CI context)
220
224
- Rejected: `~` alone, empty strings, entries without a colon-delimited positive integer line number (e.g., `src/foo.sh` without `:42`)
<!-- generated by build-review-agents.sh — do not edit manually -->
9
9
10
10
# Code Reviewer — Universal Base Guidance
@@ -185,12 +185,13 @@ Produce a JSON object with this EXACT schema (for writing to disk in Step 3).
185
185
186
186
VIOLATIONS CAUSE RE-DISPATCH.
187
187
188
-
REQUIRED: EXACTLY two top-level keys:
188
+
REQUIREDtop-level keys: `"findings"`, `"summary"`, and `"review_completed"` (plus optional `escalate_review`):
189
189
-`"findings"` — array of finding objects; each `"file"` field MUST reference a file present in the diff being reviewed
190
190
-`"summary"` — 2–3 sentence assessment
191
+
-`"review_completed"` — boolean; ALWAYS set to `true`. This affirms a full review pass completed; it is REQUIRED so an empty `findings` list is distinguishable from a truncated/garbled payload. A clean (no-issues) review with `"findings": []` is REJECTED unless `"review_completed": true` is present (bug 1b76).
191
192
192
193
Do NOT include a scores key.
193
-
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) —
194
+
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) and review_completed —
194
195
the validator will reject unrecognized keys and force a re-dispatch.
195
196
196
197
**`category` MUST be EXACTLY one of: `correctness`, `design`, `hygiene`, `maintainability`, `verification` — do NOT invent new categories like "code_smell" or "missing_test_coverage". The validator (validate-review-output.sh) hard-rejects any other value and the correction loop only has a single retry budget; off-enum categories burn that budget.**
@@ -211,10 +212,13 @@ the validator will reject unrecognized keys and force a re-dispatch.
211
212
}
212
213
],
213
214
"summary": "2-3 sentence assessment",
215
+
"review_completed": true,
214
216
"escalate_review": [{"finding_index": 0, "reason": "uncertain whether this is important or critical"}]
215
217
}
216
218
```
217
219
220
+
**review_completed** — required boolean; always `true`. Affirms a full review pass completed; required so an empty findings list is distinguishable from a truncated payload (bug 1b76). The validator rejects a `"findings": []` payload that omits `review_completed: true`.
221
+
218
222
**cited_lines** — required; minimum 1 entry per finding.
219
223
- Accepted: `<path>:<line>` (exact citation) or `~<path>:<line>` (approximate, when exact line is unknown in CI context)
220
224
- Rejected: `~` alone, empty strings, entries without a colon-delimited positive integer line number (e.g., `src/foo.sh` without `:42`)
<!-- generated by build-review-agents.sh — do not edit manually -->
9
9
10
10
# Code Reviewer — Universal Base Guidance
@@ -156,12 +156,13 @@ Produce a JSON object with this EXACT schema (for writing to disk in Step 3).
156
156
157
157
VIOLATIONS CAUSE RE-DISPATCH.
158
158
159
-
REQUIRED: EXACTLY two top-level keys:
159
+
REQUIREDtop-level keys: `"findings"`, `"summary"`, and `"review_completed"` (plus optional `escalate_review`):
160
160
-`"findings"` — array of finding objects; each `"file"` field MUST reference a file present in the diff being reviewed
161
161
-`"summary"` — 2–3 sentence assessment
162
+
-`"review_completed"` — boolean; ALWAYS set to `true`. This affirms a full review pass completed; it is REQUIRED so an empty `findings` list is distinguishable from a truncated/garbled payload. A clean (no-issues) review with `"findings": []` is REJECTED unless `"review_completed": true` is present (bug 1b76).
162
163
163
164
Do NOT include a scores key.
164
-
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) —
165
+
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) and review_completed —
165
166
the validator will reject unrecognized keys and force a re-dispatch.
166
167
167
168
**`category` MUST be EXACTLY one of: `correctness`, `design`, `hygiene`, `maintainability`, `verification` — do NOT invent new categories like "code_smell" or "missing_test_coverage". The validator (validate-review-output.sh) hard-rejects any other value and the correction loop only has a single retry budget; off-enum categories burn that budget.**
@@ -182,10 +183,13 @@ the validator will reject unrecognized keys and force a re-dispatch.
182
183
}
183
184
],
184
185
"summary": "2-3 sentence assessment",
186
+
"review_completed": true,
185
187
"escalate_review": [{"finding_index": 0, "reason": "uncertain whether this is important or critical"}]
186
188
}
187
189
```
188
190
191
+
**review_completed** — required boolean; always `true`. Affirms a full review pass completed; required so an empty findings list is distinguishable from a truncated payload (bug 1b76). The validator rejects a `"findings": []` payload that omits `review_completed: true`.
192
+
189
193
**cited_lines** — required; minimum 1 entry per finding.
190
194
- Accepted: `<path>:<line>` (exact citation) or `~<path>:<line>` (approximate, when exact line is unknown in CI context)
191
195
- Rejected: `~` alone, empty strings, entries without a colon-delimited positive integer line number (e.g., `src/foo.sh` without `:42`)
<!-- generated by build-review-agents.sh — do not edit manually -->
9
9
10
10
# Code Reviewer — Universal Base Guidance
@@ -185,12 +185,13 @@ Produce a JSON object with this EXACT schema (for writing to disk in Step 3).
185
185
186
186
VIOLATIONS CAUSE RE-DISPATCH.
187
187
188
-
REQUIRED: EXACTLY two top-level keys:
188
+
REQUIREDtop-level keys: `"findings"`, `"summary"`, and `"review_completed"` (plus optional `escalate_review`):
189
189
-`"findings"` — array of finding objects; each `"file"` field MUST reference a file present in the diff being reviewed
190
190
-`"summary"` — 2–3 sentence assessment
191
+
-`"review_completed"` — boolean; ALWAYS set to `true`. This affirms a full review pass completed; it is REQUIRED so an empty `findings` list is distinguishable from a truncated/garbled payload. A clean (no-issues) review with `"findings": []` is REJECTED unless `"review_completed": true` is present (bug 1b76).
191
192
192
193
Do NOT include a scores key.
193
-
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) —
194
+
Do NOT add "schema_version", "review_result", "id", "review_date", "REVIEWER_HASH", or any other key except escalate_review (see Escalation section below) and review_completed —
194
195
the validator will reject unrecognized keys and force a re-dispatch.
195
196
196
197
**`category` MUST be EXACTLY one of: `correctness`, `design`, `hygiene`, `maintainability`, `verification` — do NOT invent new categories like "code_smell" or "missing_test_coverage". The validator (validate-review-output.sh) hard-rejects any other value and the correction loop only has a single retry budget; off-enum categories burn that budget.**
@@ -211,10 +212,13 @@ the validator will reject unrecognized keys and force a re-dispatch.
211
212
}
212
213
],
213
214
"summary": "2-3 sentence assessment",
215
+
"review_completed": true,
214
216
"escalate_review": [{"finding_index": 0, "reason": "uncertain whether this is important or critical"}]
215
217
}
216
218
```
217
219
220
+
**review_completed** — required boolean; always `true`. Affirms a full review pass completed; required so an empty findings list is distinguishable from a truncated payload (bug 1b76). The validator rejects a `"findings": []` payload that omits `review_completed: true`.
221
+
218
222
**cited_lines** — required; minimum 1 entry per finding.
219
223
- Accepted: `<path>:<line>` (exact citation) or `~<path>:<line>` (approximate, when exact line is unknown in CI context)
220
224
- Rejected: `~` alone, empty strings, entries without a colon-delimited positive integer line number (e.g., `src/foo.sh` without `:42`)
0 commit comments