Skip to main content

parse_review_output

Function parse_review_output 

Source
pub fn parse_review_output(text: &str) -> ReviewOutput
Expand description

Parse structured review output from the reviewer’s text response.

The JSON may be wrapped in markdown code fences. If the output is unparseable, returns a single warning finding instead of failing the pipeline. This ensures unreviewed code never silently passes through while still keeping the pipeline alive for human follow-up.