AI Code Auditor
2025
- Problem
- Pull-request review is easy to spam with noisy bot comments and hard to make consistent. The goal was a service that reviews a PR once per push, combining deterministic checks with a second-pass model review.
- Approach
- FastAPI accepts signed GitHub webhooks, acknowledges quickly, analyzes the unified diff with a rule engine plus an LLM adapter, scores findings, optionally persists the run, and posts a single idempotent PR comment.
- Result
- A testable webhook service with HMAC verification, HTTP 202 dispatch, a hidden head-SHA marker so comments update instead of stacking, and a Cloud Run path with Secret Manager. Shipped as an MVP with documented limitations.