refactor(web): extract PDP detail resolution #3611
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.45) × (1 − Review Confidence (0.17)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 439 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: 17% · 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.364
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #3611"
general
weight: 0.35
github-actions[bot]
Summary
Validation
Review contract
The current user-supplied repository instructions require one primary responsibility per module, aim at 300 lines for new/substantially rewritten modules, permit supporting type exports, and prohibit artificial file splitting. These override the older generated one-export-per-file rule in this checkout. The resolver owns detailed product resolution and its shared canonical comparison helpers.
Scope and next gate
This is slice 4 of the product detail refactor. The overall refactor remains incomplete at 858 route lines. Exact pushed-head Codex review and required CI must pass before authorized merge. A separate Luna must independently audit deterministic actual in-app-browser checks of merged code before the next slice. Previous slice 3 passed this local fixture gate.
No production deployment, provider calls, payments, orders, or customer data mutation performed. Local fixture verification is distinct from production verification.
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->