Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .coderabbit.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
import { defineConfig, type CodeRabbitContext } from "@coderabbitai/config";
import { defineConfig, type CodeRabbitConfig, type CodeRabbitContext } from "@coderabbitai/config";

// The SDK requires unexported enums here; these literals match the service's configuration schema.
type KnowledgeBase = NonNullable<CodeRabbitConfig["knowledge_base"]>;
const localScope = "local" as NonNullable<KnowledgeBase["issues"]>["scope"];
const disabledIntegration = "disabled" as NonNullable<KnowledgeBase["mcp"]>["usage"];

const UNGATED_AUTHORS = new Set(["OWNER", "MEMBER", "COLLABORATOR"]);
const isGated = ({ pr }: CodeRabbitContext) => !UNGATED_AUTHORS.has(pr?.authorAssociation ?? "");

export default defineConfig((ctx) => ({
inheritance: false,
reviews: {
high_level_summary: false,
review_status: false,
request_changes_workflow: false,
related_issues: false,
related_prs: false,
allow_author_approval: !isGated(ctx),
auto_review: {
enabled: true,
enabled: false,
},
pre_merge_checks: {
docstrings: { mode: "off" },
Expand All @@ -29,6 +37,15 @@ export default defineConfig((ctx) => ({
],
},
knowledge_base: {
automatic_linking_mode: "disabled",
linked_repositories: [],
issues: { scope: localScope },
pull_requests: { scope: localScope },
learnings: { scope: localScope },
jira: { usage: disabledIntegration },
linear: { usage: disabledIntegration },
mcp: { usage: disabledIntegration },
web_search: { enabled: false },
code_guidelines: {
filePatterns: [
{ files: "docs/internals/effect-services.md", applyTo: "{apps,packages,infra}/**/*.ts" },
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
> Community native model-free tick preview for T3 Code v0.1.2: [overview](docs/community-patches/native-tick/README.md), [setup](docs/community-patches/native-tick/INSTALL.md), and [source-patch download](https://github.com/zainmitchell/t3code/releases/tag/community-native-tick-v0.1.2-preview.1). Independent fork; the upstream project README follows.

# T3 Code

T3 Code is an "agent harness control surface". It enables control of the agents on your machine with a best-in-class mobile app ([iOS](https://apps.apple.com/us/app/t3-code-remote-claude-more/id6787819824), [Android](https://play.google.com/store/apps/details?id=com.t3tools.t3code)), [web app](https://app.t3.codes) and [Electron-based desktop app](https://t3.codes).
Expand Down
Loading
Loading