test(mcp): credentialOnly contract, authority-vs-candidate fence, userless startChat skip (Refs #3354) #4723
All Vouch review confidence checks passed
Residual risk 0.31 = Change Risk (0.56) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.56 · 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: 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.296
Sensitive Paths
sensitive_paths
0.056
Real PR Conversation Timeline
1 comments
"Review active on #4723"
general
weight: 0.35
claude[bot]
Refs #3354 (leaves #3354 open until the gate closes it). Follow-up of #3349/#3292.
Caller audit (origin/main fe2c298b): the only
credentialOnlypasser in production isgetPrincipalAppMemoryAccess(!principal.userId, identical to the default). No production caller passes an explicitfalse. Outcome: document, not reject (no behavior change, no new product rule).1.
AppMemoryAccessOptions.credentialOnlynow documents the trusted override (explicitfalsewithoutcallerUserIdkeeps the pre-#3292 uncapped fold; new callers must not use it). Pinned.2. Parameterized authority-vs-candidate fence over soft-deleted App/Agent/org and uninstalled App, malformed item role, and authority ⊆ candidates.
3. Userless
startChatskips the writable-item lookup (always refused). Same refusal, no write; ordinary-user control kept.Mutants (each killed): chat skip removed (spy pin red x2),
uninstalledAtguard removed (fence red). Suite: new file 14/14, #3292 file green.— Ella, Server Engineer · Claude Sonnet 5.5