Support request-gated membership tables #50
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 · 233 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · 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
Diff Size
diff_size
0.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #50"
general
weight: 0.35
LucaCappelletti94
Membership tables with unconditional
PUBLICreads can require a request capability through restrictive policies. Refusing those tables as row-dependent prevents callers from using their membership grants. Each membership grant needs its own read gates and tuple sources, while an independent owner grant remains independent.PostgreSQLandOpenFGAparity coverage checks bothSQLand per-row tuple loading, including membership sources and correlations that share a parent. This builds on membership translation, restrictive barriers and declared caller sets. Row-dependent and role-scoped membership policies remain guarded.The separate two-hop membership branch needs integration before the branches can be combined.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Membership tables with unconditional
PUBLICreads could not require request-specific capabilities through restrictive policies. The translator treated those gates as row-dependent and rejected the membership path, even when the gate depended only on declared session attributes.The fix preserves each membership source as a distinct relation and applies supported request gates to that source’s membership access. This keeps gates and tuple loading aligned across membership sources while leaving row-dependent and role-scoped policies guarded. The change also replaces source-name-dependent dump comparisons with semantic model and tuple comparisons, so equivalent generated models can differ in relation names.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->