fix(api): revoke every existing API key #2198
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.32) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 135 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.294
Real PR Conversation Timeline
1 comments
"Review active on #2198"
general
weight: 0.35
greptile-apps[bot]
Stacked on #2197, under #2182. Revokes every active API key so no key created before explicit roles can carry permissions beyond its role preset.
permissionscould keep them through a PATCH that omitspermissions, and could no longer rotate once #2182's preset check lands.status = 'revoked',revoked_atset), nothing is deleted.reconcile-revoked-api-key-cache.tsevicts non-active keys by recentrevoked_at, so the 1h cache TTL doesn't apply.-- sdp:migration-compat: breaking; the check rejects row rewrites without it.Verification:
check:migration-compatpasses against #2197's branch; no service in this repo orsdp-infraauthenticates with a stored SDP API key. Migration not applied to a live DB; no migration test.