From 48cad1e68ee16a19d7a639ad542ae4a0825b1c5b Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Tue, 24 Nov 2026 14:50:22 -0800 Subject: [PATCH] build(coderabbit): read agent rules as review guidelines CodeRabbit scans AGENTS.md by default but not the per-topic rules under .agents/rules, so reviews miss most project conventions. Add them as code guideline files. Also pin the review fortune, sequence diagrams, and review effort estimate on so inherited settings cannot disable them. --- .coderabbit.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 8c9189648b..e254f4329b 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -8,3 +8,18 @@ reviews: # PR descriptions become commit messages upon merge; do not inject # auto-generated summaries into them. high_level_summary: false + # These default to on; set them so organization-level settings cannot + # turn them off. + in_progress_fortune: true + sequence_diagrams: true + estimate_code_review_effort: true + +knowledge_base: + code_guidelines: + # AGENTS.md and similar files are scanned by default. Also scan the + # per-topic rules that AGENTS.md refers to. Patterns are relative to the + # repository root. + filePatterns: + # keep-sorted start + - ".agents/rules/*.md" + # keep-sorted end