File size: 2,257 Bytes
5246c92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Production readiness checklist

## Verified

- Supabase Postgres stores review jobs and survives a Space restart.
- Review findings and verdicts are recoverable after restart.
- RAGAS inputs and terminal failures are persisted in job payloads.
- Groq provider routing avoids an exhausted Gemini quota when Groq is configured.
- RAGAS can produce real context precision, faithfulness, and MMR values.
- RAGAS provider calls have bounded retries and timeouts.
- GitHub posting receipts distinguish inline, fallback, finding, and verdict failures.
- React production build and Vercel deployment succeed.
- A reproducible diff-backed benchmark fixture exists for five public PRs.
- Live validation on `calcom/cal.com#8087` detected all four unawaited
  `forEach(async ...)` defects and returned `request_changes` with four high
  findings (score 2/10).
- The approve path was exercised on that live job and persisted a truthful
  `post_failed` receipt: 0 inline comments, 0 fallback comments, 4 finding
  failures, and 1 verdict failure.
- API rate limiting is enabled at 10 requests/minute and was verified live
  behind the Hugging Face proxy with a safe concurrent test producing HTTP 429.
- Review creation idempotency was verified live: repeated submissions with the
  same `Idempotency-Key` returned the same persisted job ID.
- Deterministic correctness checks survive remote-provider failures, and model
  prompts now bound diff and changed-file context to free-provider limits.

## Required before production release

- Generate predictions from the five diff-backed fixtures and record precision,
  recall, F1, severity, category, and false-positive results.
- Run an approve decision against a safe test PR and verify the GitHub posting
  receipt and resulting comments.
- Add per-user GitHub OAuth or GitHub App authentication and job ownership.
- Enable required API authentication and rate limits after OAuth is wired into
  the frontend.
- Add browser, API lifecycle, restart-recovery, and posting integration tests.
- Verify a second repository and PR independently of the project repository.

RAGAS scores must remain explicitly marked unavailable or failed when the
provider cannot return. The system must never substitute invented metrics.