@@ -198,13 +198,7 @@ ${customPrompt.trim()}
198198
199199Return strict JSON only. No markdown fences.
200200
201- Project:
202- ${ JSON . stringify ( { name : project . name , detected : project . detected } , null , 2 ) }
203-
204- Feature:
205- ${ JSON . stringify ( reviewFeatureView ( feature ) , null , 2 ) }
206-
207- ${ customBlock } Review categories:
201+ Review categories:
208202- correctness bugs
209203- security issues
210204- race/concurrency bugs
@@ -223,7 +217,7 @@ Shell and workflow review:
223217- Focus this rule on captured or parsed values, not human-facing logging fallbacks like some_command || echo "failed".
224218- Recommend separating the primary command capture from fallback assignment, for example if ! status="$(cmd)"; then status="fallback"; fi.
225219
226- ${ reviewModeInstructions ( mode ) } ${ cudaBlock }
220+ ${ reviewModeInstructions ( mode ) }
227221
228222${ languageGuidance }
229223
@@ -235,18 +229,13 @@ issues: when the same bug pattern appears in multiple owned files, emit one find
235229with multiple evidence refs instead of separate one-off findings.
236230
237231Avoid speculative low-evidence findings. Evidence must point at included files.
238- Valid evidence paths are exactly:
239- ${ validEvidencePaths . map ( ( path ) => `- ${ path } ` ) . join ( "\n" ) }
240- Feature metadata paths are not valid evidence unless listed above.
232+ Feature metadata paths are not valid evidence unless listed in the review input below.
241233When providing evidence line ranges, use the line-number gutter in the Files section.
242234Do not inspect files beyond the shown excerpts for evidence. If an excerpt is truncated,
243235only cite lines that appear in the Files section.
244236Set evidence.quote to null; line ranges are enough for validation.
245237
246- Prompt context:
247- ${ JSON . stringify ( promptContext , null , 2 ) }
248-
249- JSON shape:
238+ ${ customBlock } JSON shape:
250239{
251240 "findings": [
252241 {
@@ -266,6 +255,18 @@ JSON shape:
266255 "inspected": {"files":["string"],"symbols":["string"],"notes":["string"]}
267256}
268257
258+ Project:
259+ ${ JSON . stringify ( { name : project . name , detected : project . detected } , null , 2 ) }
260+
261+ Feature:
262+ ${ JSON . stringify ( reviewFeatureView ( feature ) , null , 2 ) }
263+ ${ cudaBlock }
264+ Valid evidence paths are exactly:
265+ ${ validEvidencePaths . map ( ( path ) => `- ${ path } ` ) . join ( "\n" ) }
266+
267+ Prompt context:
268+ ${ JSON . stringify ( promptContext , null , 2 ) }
269+
269270Files:
270271${ fileBlocks . join ( "\n\n" ) } `;
271272 const promptBytes = Buffer . byteLength ( prompt , "utf8" ) ;
0 commit comments