Redline: bound the search, ground findings in omitted files, guard the fix lane's key and test gate #11
All Vouch review confidence checks passed
Residual risk 0.35 = Change Risk (0.63) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 478 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
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.369
Shallow Review Depth
shallow_review_depth
0.344
No Reviewer Assigned
no_reviewer_assigned
0.120
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #11"
general
weight: 0.35
askalf
A review of this repository found gaps in both lanes. The reviewer's regex search could hang on a file in the PR. Findings quoting a changed file the diff cap left out were dropped as ungrounded. The fix lane ran dependencies' install scripts as the account that reads the model key, could ship a credential in its commit, could reuse a stale passing test run, and could overrun its job timeout. The pin bump stopped at the first failing caller.
Change
Review (
review.mjs)redline_search(andfix_search) runs in a child process killed after 10 seconds.Fix (
fix.mjs)--ignore-scripts. For yarn 2 and later the install first readsyarn --version, then passes--skip-buildsfor yarn 2 or--mode=skip-buildfor yarn 3 and later. A version it cannot read installs nothing.YARN_ENABLE_SCRIPTS=falseis set as well, but adependenciesMetabuilt: trueoverrides it, so it is never the only guard.fix.jsonandnotes.mdare checked too, and the job log masks both values.node <file>after a passing run is tested again.fix.jsonis written first, so a timed-out job still uploads one.git addtakes the kept paths literally.Tools, pins and workflows
fix-tools.jsonis the fixer'sTOOLSas a file, drift-checked bydump-tools.mjsand pinned intruecopy.locknext totools.json.redline-pin-bump.ymlbumps each caller in its own subshell, so one repository's failure no longer ends the loop. An updated bump PR gets the new body. Tests, fixtures and the scripts README no longer trigger a bump.Limits
Commands the fix lane runs, the PR's tests and the model's
node <file>among them, run as the account that readsFIX_ENV_FILE. The checks above keep the key out of what leaves the runner through the commit, the bundle and the report. They do not stop code that reads the key and sends it over the network. Closing that is the host's part: a separate account for those commands, or an egress rule.Checked
node scripts/redline/review.test.mjs: 206 pass.node scripts/redline/fix.test.mjs: 291 pass.node scripts/redline/dump-tools.mjs --checkmatches both files, andtruecopy verify(0.10.4) passes both pins.built: truedependency's postinstall run on both, the per-version flag stops it, and 2.4.2 rejects--mode=skip-build.https://claude.ai/code/session_01BQPGsApn6atJeJdERuf8vh