Fix socket-patch workflow: require dep install and use scan before apply #4
All Vouch review confidence checks passed
Residual risk 0.58 = Change Risk (0.65) × (1 − Review Confidence (0.11)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 497 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 27% · 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.372
Shallow Review Depth
shallow_review_depth
0.344
No Reviewer Assigned
no_reviewer_assigned
0.120
Rapid Merge
rapid_merge
0.100
Real PR Conversation Timeline
1 comments
"Review active on #4"
general
weight: 0.35
mikolalysenko
Summary
socket-patch apply --dry-runwithsocket-patch scan, added error handling for missing.socketfoldersocket-patch scan→socket-patch applyworkflowscan→applyworkflowThe correct
socket-patchworkflow is: install deps →socket-patch scan→socket-patch apply. Previously the skills usedsocket-patch apply --dry-run(which doesn't exist) and didn't check that dependencies were installed first, causingsocket-patch applyto find nothing to patch.Test plan
npm test— all 69 structural tests passapply --dry-runreturns zero matchessocket-patch scanbeforesocket-patch apply🤖 Generated with Claude Code