← Back to Pull requests

Implement ReferenceGrant and pass GatewaySecretInvalidReferenceGrant test #486

Closed
codebot-robot closed this pull request without merging on Oct 01, 2026 22:56 UTC
View on GitHub
codebot-robot codebot-robot commented on Mar 19, 2026 21:57 UTC
Author

This PR adds support for ReferenceGrant to the Gateway API implementation, enabling it to pass the GatewaySecretInvalidReferenceGrant conformance test.

Changes:


  • Added ReferenceGrant to the State manager in pkg/state.

  • Implemented ReferenceGrant controller in pkg/controller.

  • Updated GatewayReconciler to validate TLS certificate references against ReferenceGrants.

  • Enabled GatewaySecretInvalidReferenceGrant in the conformance test suite.
  • Fixes #484

    This PR was generated by Overseer (powered by the gemini-3-flash-preview model).

    Diff: 259 lines (+256 / -3) across 6 files Reviewer: None requested Review duration: 282299m
    All Vouch review confidence checks passed
    Residual risk 0.35 = Change Risk (0.84) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.84 · 259 lines diff across 6 files
    0.84
    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: 10%
    57%
    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.333
    Shallow Review Depth shallow_review_depth
    0.289
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Sensitive Paths sensitive_paths
    0.084
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 item
    "Review active on #486"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    codebot-robot codebot-robot
    Labels
    risk: medium confidence: 58.0% reviewed sensitive_module
    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: 83.8% (HIGH) · Higher = larger blast radius
    83.8%
    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: 58.0% · Lower = rushed or shallow review
    58.0%
    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: 35.2% · Moderate risk
    35.2%