From 5f21f6963c1e976dfe05972b371183e2c29ea2fe Mon Sep 17 00:00:00 2001 From: Benoit Travers Date: Wed, 26 Aug 2026 23:44:49 +0200 Subject: [PATCH 1/2] chore: point CodeRabbit at this repository's own conventions A `.coderabbit.yaml` whose `path_instructions` name the spec file rather than restating it, so there is one copy of the rules and it is the one already under review. The `path_filters` keep generated output and the lockfile out of the diff it reads. --- .coderabbit.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 0000000..e395d4e --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,21 @@ +# yaml-language-server: $schema=https://storage.googleapis.com/coderabbit_public_assets/schema.v2.json + +reviews: + path_filters: + - "!**/.vitepress/dist/**" + - "!**/.vitepress/cache/**" + - "!pnpm-lock.yaml" + path_instructions: + - path: "packages/theme/**" + instructions: | + `@btravstack/theme` is published to npm and used by every docs site in + the org, so a token renamed or a slot removed here changes six sites + that are not in this diff. Treat a change to the exported surface — the + design tokens, the theme's slots, the CSS custom properties — as + breaking unless the diff says why it is not. + + - path: "apps/website/**" + instructions: | + The landing site. Prefer the theme's own tokens over a local override: + a colour or spacing value hardcoded here is the drift the shared theme + exists to prevent. From 43666975ef882fb441fdea04f0f45387e987b967 Mon Sep 17 00:00:00 2001 From: Benoit Travers Date: Thu, 27 Aug 2026 00:00:27 +0200 Subject: [PATCH 2/2] fix: a filter for a gitignored path is dead config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every `path_filter` except the lockfile named a path git already ignores — `src/generated/**`, `.vitepress/dist/**`, `.vitepress/cache/**` — so none of them could ever appear in a diff for CodeRabbit to filter. Checked with `git ls-files` across all seven repositories: zero tracked files behind any of them. `pnpm-lock.yaml` is the one that is tracked, and the one worth filtering. --- .coderabbit.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index e395d4e..90be852 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -2,8 +2,6 @@ reviews: path_filters: - - "!**/.vitepress/dist/**" - - "!**/.vitepress/cache/**" - "!pnpm-lock.yaml" path_instructions: - path: "packages/theme/**"