Files
ironclaw/.sqlfluff
Benjamin Kurrek e848c2ade4 ci: add CodeRabbit configuration for AI-review trial (#4774)
* ci: add CodeRabbit configuration for AI-review trial

Trial CodeRabbit as the primary AI reviewer alongside the existing
reviewers (Copilot ruleset review, Gemini, Codex, on-demand
@claude review) to evaluate it as their replacement.

The config keeps CodeRabbit quiet on everything deterministic CI
already gates (fmt, clippy -D warnings, cargo-deny, check_no_panics,
gateway boundaries), encodes the repo's named invariants from
CLAUDE.md / AGENTS.md / .claude/rules as path-scoped review criteria,
and enables the tool integrations CI lacks today: actionlint + zizmor
for workflows, gitleaks + trufflehog secret scanning, shellcheck,
hadolint, sqlfluff for refinery migrations, and CI-failure reasoning
via github-checks.

Inert until the CodeRabbit GitHub App is installed on the nearai org.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* ci: configure SQLFluff for migrations

Give CodeRabbit SQLFluff a PostgreSQL dialect and a narrow semantic rule set so migration review catches ambiguity without reporting formatting and capitalization noise from the existing migration style.

* ci: disable CodeRabbit label suggestions

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Robert Yan <mstr.raphael@gmail.com>
2026-06-12 07:22:36 +00:00

24 lines
381 B
Plaintext

[sqlfluff]
dialect = postgres
templater = raw
# Keep CodeRabbit's SQLFluff pass focused on correctness/ambiguity checks; the
# repo does not use SQLFluff for migration formatting or capitalization style.
rules =
AL04,
AL08,
AL09,
AL10,
AM01,
AM02,
AM06,
AM07,
AM08,
AM09,
CV05,
CV06,
ST03,
ST08,
ST10,
ST11,
ST12