---
license: CC0-1.0
metadata:
  author: "RJ Lindelof (https://rjl.dev/)"
  source: "https://rjl.dev/case-studies/multi-agent-code-review/"
  version: "1.0"
  updated: "2026-12-05"
  attribution: "Appreciated, not required"
---

# Review profile

Save this file as `.review/profile.md` in the repository you want reviewed, and commit it. The
panel-review orchestrator reads it before every review and passes it to every lens. Everything here
is optional; delete what you do not need.

## stack

- Language and framework: TypeScript, Node 22, Fastify
- Database: PostgreSQL 16
- Test runner and command: Vitest, `npm test`
- Lint and type check: `npm run lint`, `npx tsc --noEmit`

## gates

Read-only commands the orchestrator runs while the lenses work. Each gets a 10-minute timeout.

- `npm test`
- `npm run lint`
- `npx tsc --noEmit`

## hot_paths

Code where a bug costs the most. Lenses look here hardest.

- `src/billing/` - money math, invoices, refunds
- `src/auth/` - sessions, tokens, permissions

## accepted_risks

Findings that match one of these are dropped, never reported. One line each, with why.

- The internal admin API has no rate limit; it is reachable only from the VPN.

## rules

Written team rules the rules lens enforces, beyond `CONTRIBUTING.md` and `AGENTS.md`.

- No direct database access from route handlers; go through the repository layer.
- Every new endpoint has an integration test.

## sensitive_data

Data classes the security lens treats as regulated.

- PII: name, email, phone, address, date of birth
- Financial: account and routing numbers, income

## tests

Globs that mark a file as a test file (for the tests lens and the Big PR counts).

- `tests/**`, `**/*.test.ts`, `**/*.spec.ts`

## generated

Paths that are generated and never reviewed or counted.

- `src/generated/**`, `**/*.snap`, `openapi/client/**`

## ignore

Paths never reviewed at all.

- `vendor/**`, `docs/archive/**`

## big_pr

The Big PR guardrail. Advisory: it never changes the verdict.

- source_files: 30
- source_lines: 1000
- test_files: 30
- test_lines: 1500
- override_label: big-pr-approved

## siblings

Other repositories the integration lens searches for callers and producers.

- `../billing-service`
- `../web-app`
- `../shared-types`
- sibling_fetch: false
