From 5f225395637cb347cfe416c649825a8c7c210014 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 17 Sep 2026 17:23:23 -0700 Subject: [PATCH] chore(review): keep review bots out of the vendored .repos references (#12333) Co-authored-by: Claude Fable 5 --- .coderabbit.yaml | 4 + .macroscope/ignore.md | 257 ++++++++++++++++++++++++++++++++++++++++++ vite.config.ts | 3 + 3 files changed, 264 insertions(+) create mode 100644 .macroscope/ignore.md diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 32d907240b3c6c6a46624dc5383ad45c7a02a7da..ccfeca966dfa31a88e4598735aaace3731c988f7 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -2,3 +2,7 @@ reviews: review_status: false auto_review: enabled: true + path_filters: + # Vendored read-only reference checkouts of upstream Effect and Alchemy + # (see scripts/lib/reference-repos.ts). Nothing imports from them. + - "!.repos/**" diff --git a/.macroscope/ignore.md b/.macroscope/ignore.md new file mode 100644 index 0000000000000000000000000000000000000000..0541e7407c0c981d9e02704a9468ed690761fbe5 --- /dev/null +++ b/.macroscope/ignore.md @@ -0,0 +1,257 @@ +# Files Macroscope skips during code review and in Check Run Agents. +# This file REPLACES Macroscope's built-in defaults rather than extending them, +# so the defaults are reproduced below (from docs.macroscope.com, Code Review), +# followed by this repository's own entries at the end. +# One glob per line; not Markdown, and excluded from vp fmt for that reason. + +# ---- Macroscope defaults ---- +# === Vendored / dependency directories === +**/.git/** +**/__pycache__/** +**/.pytest_cache/** +**/.mypy_cache/** +**/.ruff_cache/** +**/venv/** +**/.venv/** +**/node_modules/** +**/site-packages/** +**/.pnpm-store/** +**/__Snapshots__/** +**/__snapshots__/** +**/.agents/skills/** +**/.claude/skills/** +**/.github/skills/** +**/bower_components/** +**/jspm_packages/** +**/.next/** +**/.svelte-kit/** +**/.nuxt/** +**/.output/** +**/.vercel/** +**/.angular/** +**/vendor/** +**/_vendor/** +**/third_party/** +**/Pods/** +**/.bundle/** +# === Root-anchored ambiguous directories === +build/** +out/** +env/** +ENV/** +# === Generated / build-output directories (match anywhere) === +**/target/** +**/dist/** +**/generated/** +**/intermediates/** +**/generated_sources/** +**/generated-sources/** +**/generated-src/** +**/src/main/generated/** +# === Minified build output === +**/*.min.js +**/*.min.css +**/*.bundle.js +# === Yarn PnP loader files === +**/.pnp.cjs +**/.pnp.loader.mjs +# === Generated protobuf / codegen files === +**/*_pb.d.ts +**/*_pb.js +**/*.pb.go +**/*_pb2.py +**/*_pb2_grpc.py +**/*_pb2.pyi +**/*.grpc.swift +**/*.pb.swift +**/*.sql.go +**/*.designer.cs +**/*.g.dart +**/*.pb.dart +**/*_pb.rb +**/*.d.ts +**/*.gen.ts +**/*.gen.tsx +**/*.gen.js +**/*.gen.jsx +# === Package manager files === +**/go.mod +**/package.json +**/*.pbxproj +**/*.xcstrings +**/*.strings +**/*.properties +**/pom.xml +**/Package.swift +**/bun.lock +**/.eslintrc +**/.eslintignore +# === Lock / sum files === +**/go.sum +**/package-lock.json +**/pnpm-lock.yaml +**/yarn.lock +**/Package.resolved +# === Images === +**/*.jpg +**/*.jpeg +**/*.png +**/*.gif +**/*.svg +**/*.ico +**/*.webp +**/*.bmp +**/*.tiff +# === Fonts === +**/*.woff +**/*.woff2 +**/*.ttf +**/*.eot +**/*.otf +# === Media === +**/*.mp3 +**/*.mp4 +**/*.wav +**/*.avi +**/*.mov +**/*.mkv +**/*.flac +**/*.ogg +**/*.srt +# === Archives === +**/*.zip +**/*.tar +**/*.gz +**/*.rar +**/*.7z +**/*.bz2 +# === Documents === +**/*.pdf +**/*.doc +**/*.docx +**/*.xls +**/*.xlsx +**/*.ppt +**/*.pptx +# === Data / serialized === +**/*.db +**/*.sqlite +**/*.sqlite3 +**/*.parquet +**/*.avro +**/*.arrow +**/*.npy +**/*.pkl +**/*.jsonl +# === ML models === +**/*.onnx +**/*.tflite +**/*.h5 +**/*.safetensors +# === Compiled / binary === +**/*.exe +**/*.dll +**/*.so +**/*.dylib +**/*.bin +**/*.pyc +**/*.class +**/*.o +**/*.a +**/*.wasm +# === Certificates / keys === +**/*.cer +**/*.pem +**/*.p12 +# === Platform-specific / non-reviewable === +**/*.stringsdict +**/*.snap +**/*.adoc +**/*.arb +**/*.lock +**/*.po +**/*.fbx +**/*.log +**/*.xib +**/*.meta +**/*.kml +**/*.prefab +**/*.eml +**/*.csv +**/*.grpc.reflection +**/*.js.map +# === Go === +**/*_test.go +# === TypeScript / JavaScript === +**/*.test.ts +**/*.test.tsx +**/*.test.js +**/*.test.jsx +**/*.test.mjs +**/*.test.cjs +**/*.test.mts +**/*.test.cts +**/*.spec.ts +**/*.spec.tsx +**/*.spec.js +**/*.spec.jsx +**/*.spec.mjs +**/*.spec.cjs +**/*.spec.mts +**/*.spec.cts +**/*.e2e.ts +**/*.e2e.tsx +**/*.e2e.js +**/*.e2e.jsx +**/*.e2e.mjs +**/*.e2e.cjs +**/*.integration.ts +**/*.integration.tsx +**/*.integration.js +**/*.integration.jsx +**/*.integration.mjs +**/*.integration.cjs +**/__tests__/** +# === Python === +**/test_*.py +**/*_test.py +# === Java / Kotlin === +**/*Test.java +**/*Tests.java +**/*Spec.java +**/*IT.java +**/*ITCase.java +**/*Test.kt +**/*Tests.kt +**/*Spec.kt +**/*IT.kt +**/*ITCase.kt +**/src/test/java/** +**/src/test/kotlin/** +**/src/androidTest/** +**/src/integrationTest/** +# === Swift === +**/*Tests.swift +**/*UITests.swift +**/*Tests/** +**/*UITests/** +# === Rust === +**/tests/*.rs +**/*_test.rs +**/test_*.rs +# === Ruby === +**/*_test.rb +**/*_spec.rb +**/test_*.rb +# === Generic test directories === +**/test/** +**/tests/** +**/spec/** +**/specs/** +**/e2e/** + +# ---- t3code ---- +# Vendored read-only reference checkouts of upstream Effect and Alchemy +# (see scripts/lib/reference-repos.ts). Nothing imports from them; findings +# there belong upstream. +.repos/** diff --git a/vite.config.ts b/vite.config.ts index d1b31c8361dbe49fdcca3977aa53609c1b3cb77d..4e6530160a253ba8513ff4c4d99be88c86c193f0 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -69,6 +69,9 @@ export default defineConfig({ fmt: { ignorePatterns: [ ".repos/**", + // Macroscope's glob-per-line ignore grammar, not Markdown: formatting + // it rewrites `*` as `_` and joins lines. + ".macroscope/ignore.md", ".alchemy", "dist", "dist-electron", -- 2.54.0