Skip to content

Commit 267ac1e

Browse files
skjnldsvclaude
andcommitted
chore: add label and issue hygiene rules to AGENTS.md
Document PR state labels, and mandate updating linked issue label to "3. to review" and self-assigning when opening a PR. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent 5832443 commit 267ac1e

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,26 @@ grep -r "feature_name" user_manual/ admin_manual/ developer_manual/ --include="*
135135
- One concern per PR; separate PRs per target version
136136
- No force-push after review has started
137137

138+
## Labels
139+
140+
### PR state labels (apply to the PR)
141+
| Label | When |
142+
|-------|------|
143+
| `2. developing` | PR is a draft / in progress |
144+
| `3. to review` | PR is ready for review |
145+
146+
### Issue hygiene when opening a PR
147+
When a PR fixes or relates to an issue:
148+
1. Update the issue's state label to `3. to review` — remove `0. Needs triage`, `1. to develop`, `2. developing` if present
149+
2. Assign yourself to the issue
150+
151+
```bash
152+
# set issue label and assignee via gh
153+
gh issue edit NNNN --add-label "3. to review" --remove-label "2. developing" --add-assignee "@me"
154+
```
155+
156+
Use `fixes #NNNN` in the PR body to auto-close on merge; use `relates to #NNNN` if the PR only partially addresses the issue.
157+
138158
## CI checks (must all pass)
139159

140160
| Check | What it catches |

0 commit comments

Comments
 (0)