Add Prow evidence and proof-gated AWS leak cleanup #4
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 344 lines diff across 4 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.350
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4"
general
weight: 0.35
sdminonne
What changed
LEAKEDandUNCERTAINcandidates against archived HyperShift Prow periodics. Match by Prow tag or by the SHA-256 ofPROW_JOB_ID, and link exact VPC or endpoint creation evidence when available.cleanleaked flow/make flowto save the scan, proof, and HTML together without deleting anything.LEAKEDcan be deleted. The proof must match the current region, VPC IDs, and owners. A 10-character hash without a matching tag also needs a creation-log resource match for every VPC.Operational impact
--confirmskips prompts, not proof or classification.--require-proof=falseis an explicit override for operators who have reviewed the inventory manually. Cleanup can return exit status2after deleting proven candidates if other leaks were skipped for insufficient proof. Prow proof establishes provenance, not that every associated resource is unused or exclusively owned. The public archive lookup does not cover presubmits.Validation
GOTOOLCHAIN=go1.26.3 make verifyandGOTOOLCHAIN=go1.26.3 go test -race ./....--confirmand an accepted interactive prompt sent deletion requests only for the proved leak and its associated fixtures. Dry-run, missing proof, and a declined prompt sent zero deletion requests. No live AWS cleanup was run.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Added a guided AWS leak-investigation flow that scans resources, checks archived Prow runs for provenance, saves reports, and suggests cleanup steps without deleting resources.
Added HTML reports with verdict summaries, AWS inventory links, and available Prow evidence.
Added proof-based cleanup: deletion requires eligible
LEAKEDfindings and sufficient evidence from an unsuccessful archived Prow run. Interactive cleanup displays proof details before confirmation.Improvements
Scan and proof results can be saved as JSON, and targeted cleanup verifies the full VPC inventory before proceeding.
* Updated setup and command guidance for investigation, reporting, and cleanup workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->