ReviewPilot.
Docs Portal
Engine Configuration

Review Rules & Strictness Policies

Configure AST inspection depth, automated sensitivity thresholds, and custom engineering rules.

1. Strictness Sensitivity Levels

Lenient

Flags only critical/high security bugs and fatal runtime exceptions. Zero styling or cosmetic comments.

Balanced (Recommended)

Audits logical correctness, SQL injection, promise leakages, race conditions, and contract breaking.

Strict

Enforces deep type safety, boundary tests, edge case assertions, and thorough symbol documentation.

2. Repository Config Specification

Define custom review guidelines directly in repository settings or through the API:

{
  "auto_review_on_pr": true,
  "review_strictness": "balanced",
  "ignored_paths": ["node_modules/**", "*.lock", "dist/**", "build/**"],
  "custom_rules": [
    "Always verify try/catch error handling around asynchronous I/O",
    "Ensure sensitive routes attach rate-limiting and auth middleware",
    "Prevent naked SQL interpolations; enforce parameterized queries",
    "Require descriptive JSDoc on exported utility functions"
  ]
}