โ† Back to Pull requests

๐Ÿ› warn when gateway key rotation can't reach Job agents' own model Secret #19347

Closed
unknown closed this pull request without merging on Nov 21, 2026 18:04 UTC
View on GitHub
unknown unknown commented on Nov 19, 2026 21:32 UTC
Author

Refs #19337 โ€” implements the detect-and-say-so part (option 3, warning half); hive-managed Job Secret sync (option 1/2) and the pre-kick fingerprint refusal remain open and need a design decision on RBAC/config shape.

Gateway save and Test responses now include sandboxJobWarning when agents on that gateway run runtime: job with their own job.env_from_secrets, since hive never updates those Secrets. The warning names the agents and never contains a key.

Not run locally per AGENTS.md; CI is the verdict.

๐Ÿค– Generated with Claude Code

-- hive: backend=claude model=claude-sonnet-5-5

---
๐Ÿ Hive Agent: contributor | SHA: ef0d426d2

Diff: 85 lines (+63 / -22) across 1 files Reviewer: Danathar Review duration: 2671m
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.58) ร— (1 โˆ’ Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 ยท Change Risk (XGBoost)
Score: 0.58 ยท 85 lines diff across 1 files
0.58
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
Shallow Review Depth shallow_review_depth
0.289
Diff Size diff_size
0.266
Sensitive Paths sensitive_paths
0.058
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #19347"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% 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: 57.8% (MEDIUM) ยท Higher = larger blast radius
57.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: 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: 22.8% ยท Safe to merge
22.8%