GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — t3code/.coderabbit.config.ts at main · tannerpolley/t3code Expand file tree/ Copy path.coderabbit.config.tsMore file actions 152 lines (149 loc) · 6.36 KB / Copy path.coderabbit.config.tsFile metadata and controls152 lines (149 loc) · 6.36 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 import { defineConfig, type CodeRabbitContext } from "@coderabbitai/config"; const UNGATED_AUTHORS = new Set(["OWNER", "MEMBER", "COLLABORATOR"]); const isGated = ({ pr }: CodeRabbitContext) => !UNGATED_AUTHORS.has(pr?.authorAssociation ?? ""); const DOC_RULES = [ { files: "docs/internals/01_architecture.md", applyTo: "{apps/server/src/orchestration-v2,apps/server/src/checkpointing,packages/contracts/src,apps/desktop/src/snapShot}/**/*.ts", instructions: "Hold changed code to the architectural boundaries in docs/internals/01_architecture.md.", }, { files: "docs/internals/02_effect-services.md", applyTo: "{apps,packages,infra}/**/*.ts", instructions: "Hold changed code to the rules in docs/internals/02_effect-services.md.", }, { files: "docs/internals/03_providers.md", applyTo: "{packages/provider-*,apps/server/src/provider,apps/server/src/orchestration-v2/Adapters}/**/*.{ts,json}", instructions: "Hold provider changes to docs/internals/03_providers.md, including strict ACP spec compliance for non-first-party agents and bumping updatedAt on model-manifest.json edits.", }, { files: "docs/internals/04_environment-auth.md", applyTo: "{apps/server/src/auth,apps/server/src/mcp,apps/server/src/guest,apps/server/src/assets,apps/server/src/workspace}/**/*.ts", instructions: "Hold auth, MCP, guest link, and filesystem boundary changes to docs/internals/04_environment-auth.md.", }, { files: "docs/internals/05_remote.md", applyTo: "{apps/server/src/peer,apps/server/src/environment,packages/ssh,packages/tailscale,apps/desktop/src/preview,apps/desktop/src/ssh}/**/*.ts", instructions: "Hold remote route, peer link, SSH, and preview tunnel changes to docs/internals/05_remote.md.", }, { files: "docs/internals/06_t3-connect.md", applyTo: "{infra/relay/src,apps/server/src/cloud}/**/*.ts", instructions: "Hold relay and T3 Connect changes to docs/internals/06_t3-connect.md.", }, { files: "SECURITY.md", applyTo: "{apps/server/src/auth,apps/server/src/mcp,apps/server/src/guest,apps/server/src/assets,apps/server/src/peer,apps/server/src/cloud,apps/server/src/policy,infra/relay/src}/**/*.ts", instructions: "Check security boundary changes against the trust model and real-finding criteria in SECURITY.md.", }, { files: "docs/internals/07_server-updates.md", applyTo: "apps/server/src/{serviceLauncher.ts,desktopUpdate/**,cloud/serviceSelectionLock.ts,orchestration-v2/ProviderRuntimeRecoveryService.ts,orchestration-v2/RestartContinuation.ts}", instructions: "Hold update, rollback, and restart-recovery changes to docs/internals/07_server-updates.md.", }, { files: "docs/internals/08_product-analytics.md", applyTo: "{apps/server/src/telemetry,apps/server/src/feedback}/**/*.ts", instructions: "Hold analytics identity, attribution, and privacy boundaries to docs/internals/08_product-analytics.md.", }, { files: "docs/internals/09_connection-runtime.md", applyTo: "packages/client-runtime/src/**/*.ts", instructions: "Hold connection, sync, and cache changes to docs/internals/09_connection-runtime.md.", }, { files: "docs/internals/10_web-ui.md", applyTo: "apps/web/src/**/*.{tsx,css}", instructions: "Hold changed code to the rules in docs/internals/10_web-ui.md.", }, { files: "docs/internals/11_mobile-layout.md", applyTo: "apps/mobile/src/**/*.{ts,tsx}", instructions: "Hold mobile layout and pane changes to docs/internals/11_mobile-layout.md.", }, { files: "docs/internals/12_mobile-navigation.md", applyTo: "apps/mobile/{src,modules}/**/*.{ts,tsx,swift,kt}", instructions: "Hold mobile navigation, native header, and media presentation changes to docs/internals/12_mobile-navigation.md.", }, { files: "docs/internals/13_mobile-development.md", applyTo: "apps/mobile/{src/lib,modules,scripts}/**/*.{ts,tsx,mts}", instructions: "Hold mobile HMR, native module, and React Compiler changes to docs/internals/13_mobile-development.md.", }, { files: "docs/internals/14_i18n.md", applyTo: "{apps/web/src,apps/mobile/src,apps/desktop/src,packages/client-runtime/src,packages/shared/src}/**/*.{ts,tsx}", instructions: "Hold user-facing copy and translations to the rules in docs/internals/14_i18n.md.", }, { files: "docs/internals/15_testing.md", applyTo: "{apps,packages,infra}/**/*.{ts,tsx}", path: "**/*.test.*", instructions: "Hold changed tests to the rules in docs/internals/15_testing.md. Request tests only as those rules allow.", }, { files: "docs/internals/16_performance-regressions.md", applyTo: "{apps/server/src/orchestration-v2,apps/server/integration,apps/mobile/src}/**/*.{ts,tsx}", instructions: "Hold wire payload, indexing, and mobile animation changes to docs/internals/16_performance-regressions.md.", }, { files: "docs/internals/17_scripts.md", applyTo: "{scripts,apps/*/scripts,packages/*/scripts,infra/*/scripts}/**/*.{ts,mts}", instructions: "Hold repository and package scripts to docs/internals/17_scripts.md: use Effect, effect/cli, NodeServices, and NodeRuntime.runMain rather than raw node:fs, node:child_process, or hand-rolled process.argv parsing.", }, { files: "AGENTS.md", applyTo: "docs/internals/**/*.md", instructions: "Hold internal doc edits to the Documentation rules in AGENTS.md: keep only durable architectural decisions, trust boundaries, conventions, and cross-cutting traps. Flag single-feature walkthroughs, field/method catalogs, exact constants/timeouts/migration numbers, and PR appends.", }, ] as const; export default defineConfig((ctx) => ({ reviews: { high_level_summary: false, review_status: false, request_changes_workflow: false, allow_author_approval: !isGated(ctx), auto_review: { enabled: true, }, pre_merge_checks: { docstrings: { mode: "off" }, override_requested_reviewers_only: isGated(ctx), }, path_filters: ["!.repos/**"], path_instructions: DOC_RULES.map((rule) => ({ path: "path" in rule ? rule.path : rule.applyTo, instructions: rule.instructions, })), }, knowledge_base: { code_guidelines: { filePatterns: DOC_RULES.map(({ files, applyTo }) => ({ files, applyTo })), }, }, })); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |