← Back to Pull requests

Retro live-search: a stable protected-preview host, the bypass cookie from the CLI, fix rounds per step #249

Merged
peteknowsai merged 2 files (26 lines) on Oct 25, 2026 13:16 UTC
View on GitHub
peteknowsai peteknowsai commented on Oct 25, 2026 13:16 UTC
Author

Summary

 verify §1 · protected preview
-  send x-vercel-protection-bypass as an extra header
+  vercel curl ... --header 'x-vercel-set-bypass-cookie: true' --cookie-jar <jar> → Playwright addCookies
+  one stable host across rounds: git branch alias, else `vercel alias set` to one name
+  measures on chrome-devtools against a local production build
 verify §2 / pipeline TEST
-  ≤ 3 fix rounds
+  ≤ 3 fix rounds per failing step; result: gives the count

Evidence

  • Before: live-search QA: qa7→qa14 deploy URLs, each needing a new cookie, driver and harness; hand-summed CLS 0.12 vs real 0.056; 5 rounds with the cap unclear.

  • After: rules at those steps; vercel curl --help (CLI 59.25.4) confirms --deployment and curl flags after --. Gates green.

    Merge Danger

    Door: two-way.

    Blast Radius: prose only. Skipped the proposed cls.mjs/axe.mjs helpers: the local production build covers them.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_011D5Rd11omLrUHzUWXRxxHL

    Diff: 26 lines (+18 / -8) across 2 files Reviewer: copilot-pull-request-reviewer[bot] Review duration: 0m
    All Vouch review confidence checks passed
    Residual risk 0.32 = Change Risk (0.39) × (1 − Review Confidence (0.18)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 26 lines diff across 2 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 15% · Reviewer familiarity: 35%
    18%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.197
    Rapid Merge rapid_merge
    0.100
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    2 items
    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Oct 25, 2026 13:16 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

    Assignees
    peteknowsai peteknowsai
    Labels
    risk: low confidence: 18.1% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.2% (MEDIUM) · Higher = larger blast radius
    39.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 18.1% · Lower = rushed or shallow review
    18.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 32.1% · Safe to merge
    32.1%