fix: GitHub OAuth redirect handling #5
All Vouch review confidence checks passed
Residual risk 0.33 = Change Risk (0.78) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.78 · 1045 lines diff across 9 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.29 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
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.400
Shallow Review Depth
shallow_review_depth
0.250
Sensitive Paths
sensitive_paths
0.078
Real PR Conversation Timeline
3 items
CI now has 134 passing and 2 failures. The original OAuth URL encoding test is fixed. The remaining failures are older tests that still expect the previous error-redirect behavior for /auth/github and the GitHub App install route. These likely need to be updated as part of #5’s authentication-flow changes.
Approved
Approved these changes.
ankit-cybertron
Ishaan-Chaturved1
Updates the GitHub OAuth flow to safely construct authorization parameters and explicitly pass the callback URL during token exchange.
Part of #4