feat(s3): the authorize answer carries its chain, and drop /s3/bucket/info #13
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 209 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.320
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #13"
general
weight: 0.35
alanshaw
The answer to
/s3/request/authorizenow carries the chain from the bucket to the access key: the key's delegations over each bucket the request acts on, with the bucket's root. The tenant service reads them in the same state as its decision, and every change to what a key may do revokes them./s3/bucket/info, which the gateway used only to fetch that chain, is removed.This closes a gap. An authorization answer built just before a change to a tenant, such as a write-lock, could reach the gateway after the change. The gateway then fetched the chain from
/s3/bucket/info, which by then returned the key's new delegations. The change's revocations named the old ones, which the gateway never held, so they matched nothing in its cache, and the out-of-date permission set (uploads included) stayed cached until the next UTC midnight. With the delegations carried in the answer, the revocations always name something the gateway holds: it refuses to cache the answer, or drops it when they arrive.Depends on these, and should merge after them:
/s3/bucket/infofrom the tenant serviceThe answer carrying its chain is already live: hilt#159 and ingot#443.
🤖 Generated with Claude Code