From 4aa4cb484c92994081873607d06376db9d52d041 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Mon, 19 Oct 2026 14:27:32 -0700 Subject: [PATCH] chore(cleanup): add triage policy + agent conventions --- .corbits-triage.yml | 72 +++++++++++++++++++++++++++++++++++++++++++++ AGENTS.md | 6 ++++ 2 files changed, 78 insertions(+) create mode 100644 .corbits-triage.yml diff --git a/.corbits-triage.yml b/.corbits-triage.yml new file mode 100644 index 0000000..7e516c3 --- /dev/null +++ b/.corbits-triage.yml @@ -0,0 +1,72 @@ +# Corbits Triage policy. +rules: + - check: max-files-changed + text: Flag pull requests over 30 files changed. + max: 30 + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated + - check: max-lines-changed + text: Flag pull requests over 5,000 lines changed. + max: 5000 + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated + - check: focused + text: Check the change is focused on one thing. + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated + - check: docs + text: Check docs are updated when behavior changes. + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated + enabled: false + - check: linked-issue + text: Require a linked issue from GitHub or Linear. + tracker: either + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated + - check: no-merge-conflicts + text: Flag merge conflicts with the base branch. + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated + - check: ci-green + text: CI must pass before merge. + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated + - check: no-forbidden-paths + text: Never accept changes to node_modules/**. + paths: + - node_modules/** + reason: Set in the portal before the policy file. + evidence: + - maintainer-stated +actions: + pass: + - do: approve + when: + author: + - users: + - thegreataxios + - do: request-review + target: + to: codeowners + when: + author: + - external + fail: + - do: request-changes + unsure: + - do: assign + target: + to: users + users: + - thegreataxios + when: + author: + - maintainers diff --git a/AGENTS.md b/AGENTS.md index 66ea3c1..a8c7f80 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -59,3 +59,9 @@ and stateful server transports; the SDK is a devDependency only. ```sh bun install && bun run check && bun run test:e2e ``` + +## Conventions + +- Read `README.md` before changing public behavior. +- Keep changes focused; update docs and tests alongside code changes. +- Run `bun run check` before declaring work complete.