← Back to Pull requests

docs: add pull request policy to CONTRIBUTING.md #751

Merged
leo-aa88 merged 2 files (195 lines) on Nov 24, 2026 05:03 UTC
View on GitHub
leo-aa88 leo-aa88 commented on Nov 24, 2026 05:01 UTC
Author

Summary

Adds a Pull request policy section to CONTRIBUTING.md, right after "Making a change" (whose step 4 already points at the PR template):

  • First-time contributors may have only one open PR at a time.

  • PRs that disregard the mandatory template may be closed without review.

  • Contributors must address outstanding review feedback before submitting additional changes.

  • Passing CI is a prerequisite for review, not evidence of correctness.
  • No linked issue — maintainer-requested docs change.

    Acceptance criteria

  • The four policy rules appear in CONTRIBUTING.md
  • Validation

  • go test ./... — N/A, Markdown-only change; no test reads CONTRIBUTING.md

  • go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2 run — N/A, no Go changes

  • Project code-review skill run against this diff — N/A, 8-line docs addition
  • Working agreement checklist

  • New behavior has tests — N/A, docs only

  • Stable features ship docs and appear in an example app — N/A, no feature

  • Extraction preserves contracts — N/A

  • Generators are idempotent/additive, AST-safe — N/A, no generator change

  • API changes regenerate the OpenAPI doc + TS client — N/A, no API change

  • No secrets in generated frontend source — N/A

  • Scope stays inside this issue's milestone — contributor docs only

  • This PR links its issue — N/A, no issue; maintainer request

  • CHANGELOG / upgrade/manifest.yaml — N/A, nothing an app can notice
  • 🤖 Generated with Claude Code

    Diff: 195 lines (+146 / -49) across 2 files Reviewer: Brunotlps Review duration: 1m
    All Vouch review confidence checks passed
    Residual risk 0.41 = Change Risk (0.46) × (1 − Review Confidence (0.12)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 195 lines diff across 2 files
    0.46
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 26% · Reviewer familiarity: 35%
    11%
    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.316
    Rapid Merge rapid_merge
    0.100
    Real PR Conversation Timeline
    1 comments
    "Review active on #751"
    general weight: 0.35
    Reviewers
    Assignees
    leo-aa88 leo-aa88
    Labels
    risk: medium confidence: 11.9% 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: 46% (MEDIUM) · Higher = larger blast radius
    46%
    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: 11.9% · Lower = rushed or shallow review
    11.9%
    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: 40.6% · Moderate risk
    40.6%