redline: the fix brief keeps the line ends a review was posted with #287
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.63)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 31 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.207
Rapid Merge
rapid_merge
0.100
Real PR Conversation Timeline
1 comments
"Review active on #287"
general
weight: 0.35
sprayberry-redline
askalf
#286 made the fix brief carry a review's text as posted. It still read that text from a copy with CRLF turned into LF, so a request sent with CRLF line ends (an example a reviewer wants matched exactly) reached the fixer changed. Its comment also said the round trip compares "every character", which it does not.
What changes
parseReviewBodykeeps the body as it came (raw). Fields are still read from the LF copy, but the whole-body finding andtext(the review as posted in the brief) are cut fromraw. The closing head marker comes off by position, with one blank line before it, LF or CRLF.Checks
On Linux, Node 22:
fix.test.mjs571 pass,review.test.mjs789,local.test.mjs209,post.test.mjs157,build.test.mjs316, 0 fail each. New cases: a CRLF request with no marker kept exactly; with a marker, only the marker and its CRLF blank line taken off, the trailing spaces before it kept; a CRLF Redline body read into fields and reaching the brief with its line ends; a body of spaces and a CRLF: no finding, and its text is the input as it came. The LF cases from #286's fix (an ending with no footer, and the footer taken off with only its separator) still pass.Mutation pass, 3 mutants: the text cut from the LF copy, the separator matched as LF only, and the text trimmed at its end. All 3 fail a named check.