From 3eb511f0f97e68ba75d5d384c72278a6febc494e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 14 Oct 2026 10:37:19 +0000 Subject: [PATCH 1/3] chore(coderabbit): enable auto-reviews on develop base branch Add repo-root .coderabbit.yaml so CodeRabbit reviews PRs targeting develop as well as main, including draft PRs. Closes #179 Co-authored-by: jdlsicilia --- .coderabbit.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 0000000..a3afb16 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,10 @@ +# CodeRabbit configuration for SmartWealthAI. +# Enables automatic PR reviews for PRs targeting main or develop +# (develop is the active integration branch for the June 30 demo slice). +reviews: + auto_review: + # Review draft PRs as well as ready ones + drafts: true + base_branches: + - "main" + - "develop" From 27461d4557b3cd2c7192faf4f17a1a73b10ecb05 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 14 Oct 2026 10:38:00 +0000 Subject: [PATCH 2/3] fix(coderabbit): disable auto-review on draft PRs Per product preference, only review ready-for-review PRs while keeping base_branches main and develop. Co-authored-by: jdlsicilia --- .coderabbit.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index a3afb16..a6acbba 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -3,8 +3,8 @@ # (develop is the active integration branch for the June 30 demo slice). reviews: auto_review: - # Review draft PRs as well as ready ones - drafts: true + # Do not auto-review draft PRs; only ready-for-review PRs + drafts: false base_branches: - "main" - "develop" From 412745b7883c175c3fa3d669fa4506fd75941bd6 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 14 Oct 2026 10:51:29 +0000 Subject: [PATCH 3/3] chore(coderabbit): add path_filters for review focus Include credit/, investing/, platform/, CI, and key root config. Exclude generated/local artifacts aligned with .gitignore. Co-authored-by: jdlsicilia --- .coderabbit.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index a6acbba..075b867 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -8,3 +8,39 @@ reviews: base_branches: - "main" - "develop" + + # Include patterns restrict review scope; ! patterns always exclude. + # Focus: bounded contexts + CI/config so maintenance PRs still get reviewed. + # Bulk root data/ is out of scope via includes (not listed); data/reference/ is included. + path_filters: + # --- include (review focus) --- + - "credit/**" + - "investing/**" + - "platform/**" + - ".github/**" + - "data/reference/**" + - ".coderabbit.yaml" + - "pyproject.toml" + - "CONTEXT-MAP.md" + - "AGENTS.md" + # --- exclude (generated / local artifacts; from .gitignore + common noise) --- + - "!mlruns/**" + - "!**/__pycache__/**" + - "!**/.venv/**" + - "!**/.env" + - "!**/.env.*" + - "!htmlcov/**" + - "!**/.coverage" + - "!**/coverage.xml" + - "!**/dist/**" + - "!**/*.egg-info/**" + - "!credit/demo_artifact/**" + - "!platform/terraform/**/.terraform/**" + - "!platform/terraform/**/*.tfstate" + - "!platform/terraform/**/*.tfstate.*" + - "!platform/terraform/**/.terraform.lock.hcl" + # Root exploration notebooks only; credit/notebooks/ stays reviewable + - "!notebooks/**" + - "!sw_requirements/**" + - "!learning/**" + - "!**/*.{png,jpg,jpeg,gif,webp,pdf,joblib,pkl,parquet,feather,h5,hdf5}"