Skip to content

Commit 1c27d03

Browse files
committed
chore(cleanup): add triage policy + agent conventions
1 parent da93a44 commit 1c27d03

2 files changed

Lines changed: 78 additions & 0 deletions

File tree

‎.corbits-triage.yml‎

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Corbits Triage policy.
2+
rules:
3+
- check: max-files-changed
4+
text: Flag pull requests over 30 files changed.
5+
max: 30
6+
reason: Set in the portal before the policy file.
7+
evidence:
8+
- maintainer-stated
9+
- check: max-lines-changed
10+
text: Flag pull requests over 5,000 lines changed.
11+
max: 5000
12+
reason: Set in the portal before the policy file.
13+
evidence:
14+
- maintainer-stated
15+
- check: focused
16+
text: Check the change is focused on one thing.
17+
reason: Set in the portal before the policy file.
18+
evidence:
19+
- maintainer-stated
20+
- check: docs
21+
text: Check docs are updated when behavior changes.
22+
reason: Set in the portal before the policy file.
23+
evidence:
24+
- maintainer-stated
25+
enabled: false
26+
- check: linked-issue
27+
text: Require a linked issue from GitHub or Linear.
28+
tracker: either
29+
reason: Set in the portal before the policy file.
30+
evidence:
31+
- maintainer-stated
32+
- check: no-merge-conflicts
33+
text: Flag merge conflicts with the base branch.
34+
reason: Set in the portal before the policy file.
35+
evidence:
36+
- maintainer-stated
37+
- check: ci-green
38+
text: CI must pass before merge.
39+
reason: Set in the portal before the policy file.
40+
evidence:
41+
- maintainer-stated
42+
- check: no-forbidden-paths
43+
text: Never accept changes to node_modules/**.
44+
paths:
45+
- node_modules/**
46+
reason: Set in the portal before the policy file.
47+
evidence:
48+
- maintainer-stated
49+
actions:
50+
pass:
51+
- do: approve
52+
when:
53+
author:
54+
- users:
55+
- thegreataxios
56+
- do: request-review
57+
target:
58+
to: codeowners
59+
when:
60+
author:
61+
- external
62+
fail:
63+
- do: request-changes
64+
unsure:
65+
- do: assign
66+
target:
67+
to: users
68+
users:
69+
- thegreataxios
70+
when:
71+
author:
72+
- maintainers

‎AGENTS.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,9 @@ process entrypoint here, and there never should be.
7070
```sh
7171
bun install && bun run check
7272
```
73+
74+
## Conventions
75+
76+
- Read `README.md` before changing public behavior.
77+
- Keep changes focused; update docs and tests alongside code changes.
78+
- Run `bun run check` before declaring work complete.

0 commit comments

Comments
 (0)