Skip to content

Commit 2b7a290

Browse files
committed
ai(rules[AGENTS]) Release commit conventions
1 parent 1863578 commit 2b7a290

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,15 @@ def test_vcspull_sync(git_repo):
304304
# git_repo is already a GitSync instance with a clean repository
305305
# Use it directly in your tests
306306
```
307+
#### Release commits
308+
309+
Never create tags. Never push tags. The user handles tagging and tag
310+
pushes (tags trigger the CI publish workflow).
311+
312+
Release commit subjects are plain and short: `Tag v<version>`. Put
313+
the detailed why/what in the commit body. Don't use the
314+
`Scope(type[detail]):` format for releases — don't bury the lede.
315+
307316
For multi-line commits, use heredoc to preserve formatting:
308317
```bash
309318
git commit -m "$(cat <<'EOF'

0 commit comments

Comments
 (0)