Report the caller gate of every key-gated relation #246
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.33) × (1 − Review Confidence (0.38)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 140 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 64% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.296
Real PR Conversation Timeline
1 comments
"Review active on #246"
general
weight: 0.35
github-actions[bot]
A relation gated on the caller's own value fills its records with the typed wildcard and puts the row's side of the comparison in the record's context, so the context key is the only part of a record that says whom it grants. That key was reported only inside
RowDecision::RequestGated, which #240 rightly stopped producing for gates whose records travel as aJoinedorWholeShapequery. Since then no output names the key for those relations, and a consumer reading a replayed grant or withdrawal back can only take the wildcard at face value and treat it as reaching everyone.RelationShapesnow carriescaller_gate, aCallerGateholding the context key, the request parameter and the comparison, for every relation one gate source fills, whatever decides its records. Clock-gated shares get it too, since their records carry the grantee under the same key and never had a decision either.RowDecision::RequestGatedholds the sameCallerGatein place of its three loose fields, so the decision and the relation entry cannot disagree, at the cost of a mechanical migration for code matching on those fields.