← Back to Pull requests

Remove PR label enforcement while preserving immutability #199

Closed
unknown closed this pull request without merging on Nov 16, 2026 20:04 UTC
View on GitHub
unknown unknown commented on Nov 16, 2026 19:53 UTC
Author

Motivation


This PR label isn't used anymore now that we've decoupled spec, conformance and sdk development. This check will be done during the release process when determining the new version. The PR Label check is just adding noise, and increasing PR time since the first CI run fails as most PRs don't add the label until seeing the CI job failing. This wastes compute and time.

The current check which validates that released specs don't change is valuable, long term this should move from this location, will happen in a separate PR.

Summary


  • Remove both label-based rules: mandatory spec:breaking / spec:additive labels and version-file changes required by spec:breaking.

  • Preserve the change-class workflow/job identity and execution for PRs without labels or path filters.

  • Leave merge-parent base resolution and the base-revision released specification/conformance immutability guard unchanged, including the exception for new examples.

  • Remove label-only reruns and unused pull-request read permission; simplify the immutability documentation.
  • Validation


  • Existing immutability suite: 16 passed, four Windows-only skips. Two existing POSIX-only tests skip normally; two symlink tests require privileges unavailable on this Windows host and were explicitly skipped on rerun. Guard implementation and tests are unchanged.

  • Six temporary PR merge scenarios passed using the actual workflow shell steps: unlabeled draft changes, breaking-labeled changes without version-file changes, rejection of released specification/conformance edits, acceptance of new released examples, and rejection of a released edit despite a modified head guard.

  • Confirmed checkout, base-resolution, and immutability steps are unchanged and workflow/job identities retained.

  • git diff --check upstream/main...HEAD passes.
  • Diff: 229 lines (+171 / -58) across 2 files Reviewer: MohammadHaroonAbuomar Review duration: 10m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 229 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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
    Diff Size diff_size
    0.325
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #199"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 37.0% (MEDIUM) · Higher = larger blast radius
    37.0%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 14.6% · Safe to merge
    14.6%