docs: require Fixes #<issue> in PR body for auto-close

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-28 00:22:43 +07:00
co-authored by Claude Opus 4.7
parent 248a5bdbcd
commit 1290e3b222
+2 -1
View File
@@ -58,7 +58,8 @@ All work starts from a Gitea issue. Two phases, each with a dedicated role:
- Create a feature branch from `main`. - Create a feature branch from `main`.
- Implement following the plan (surgical changes only). - Implement following the plan (surgical changes only).
- Run validation: `go test ./...`, `go vet ./...`, `gofmt -l .`. - Run validation: `go test ./...`, `go vet ./...`, `gofmt -l .`.
- Create PR referencing the issue. - Create PR with `Fixes #<issue>` in the body so Gitea auto-closes the issue on merge.
- After merge, verify the issue is closed. If not (e.g. missing keyword), close it manually with a summary comment.
6. **Own the PR until merged:** 6. **Own the PR until merged:**
- Monitor for review feedback. - Monitor for review feedback.
- Fix feedback on the correct branch (checkout or worktree, never edit remote via API). - Fix feedback on the correct branch (checkout or worktree, never edit remote via API).