diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e87b4b4..2575495 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -24,4 +24,4 @@ - [ ] New or updated tests added (or explained below why not needed) - [ ] `README.md` updated (if a command or flag changed) - [ ] Native binary verified (`mvn package -Pnative`) — required if Jackson serialization or dependencies changed -- [ ] Commit messages / PR title follow [Conventional Commits](https://www.conventionalcommits.org/) — your commit message is the changelog entry, so `CHANGELOG.md` needs no hand edit +- [ ] Commit messages / PR title follow [Conventional Commits](https://www.conventionalcommits.org/) — a `feat`/`fix`/`perf` subject becomes the release note, so `CHANGELOG.md` needs no hand edit diff --git a/.releaserc.json b/.releaserc.json index 1dc43a0..b579667 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -10,7 +10,7 @@ "@semantic-release/changelog", { "changelogFile": "CHANGELOG.md", - "changelogTitle": "# Changelog\n\nEntries in this file are generated by [semantic-release](https://github.com/semantic-release/semantic-release) from Conventional Commit messages — do not edit it by hand; your commit message is the changelog entry. Historic sections at the bottom were maintained by hand in the Keep a Changelog format." + "changelogTitle": "# Changelog\n\nEntries in this file are generated by [semantic-release](https://github.com/semantic-release/semantic-release) from Conventional Commit messages — do not edit it by hand. A `feat`, `fix` or `perf` subject becomes a release note verbatim; the other accepted types produce no entry. Historic sections at the bottom were maintained by hand in the Keep a Changelog format." } ], [ diff --git a/AGENTS.md b/AGENTS.md index ac28de4..913c965 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -162,5 +162,5 @@ printer.error("Container 'floci' not found.\nRun 'floci start' to launch one."); ## Documentation Rules - `README.md` documents all four product trees (AWS, GCP, Azure, OCI). If you add/change a command or flag, update the README in the same change. -- `CHANGELOG.md` is generated by semantic-release from Conventional Commit messages — **never edit it by hand**. The commit message *is* the changelog entry, so write it from the user's point of view (what was broken or what is new, not how it was implemented). `changelog-guard.yml` fails any PR that touches the file; genuine corrections to history need the `changelog-edit` label. +- `CHANGELOG.md` is generated by semantic-release from Conventional Commit messages — **never edit it by hand**. A `feat`, `fix` or `perf` subject (or a breaking change) becomes a release note verbatim, so write those from the user's point of view: what was broken or what is new, not how it was implemented. The other accepted types (`docs`, `chore`, `refactor`, `test`, `build`, `ci`) pass CI but produce no release and no entry. `changelog-guard.yml` fails any PR that touches the file; genuine corrections to history need the `changelog-edit` label. - `CLAUDE.md` is gitignored (maintainer-local); this file (`AGENTS.md`) is the tracked source of truth for agent guidance. Update it here. diff --git a/CHANGELOG.md b/CHANGELOG.md index fad4b61..7551f44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -Entries in this file are generated by [semantic-release](https://github.com/semantic-release/semantic-release) from Conventional Commit messages — do not edit it by hand; your commit message is the changelog entry. Historic sections at the bottom were maintained by hand in the Keep a Changelog format. +Entries in this file are generated by [semantic-release](https://github.com/semantic-release/semantic-release) from Conventional Commit messages — do not edit it by hand. A `feat`, `fix` or `perf` subject becomes a release note verbatim; the other accepted types produce no entry. Historic sections at the bottom were maintained by hand in the Keep a Changelog format. ## [0.2.2](https://github.com/floci-io/floci-cli/compare/0.2.1...0.2.2) (2026-09-13) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 459796b..cbef40f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -115,7 +115,7 @@ Do not include `Co-Authored-By` trailers for AI tools in commit messages. Attrib ## Changelog -`CHANGELOG.md` is generated by [semantic-release](https://github.com/semantic-release/semantic-release) from Conventional Commit messages. **Do not edit it by hand**. Your commit message *is* the changelog entry, so write it from the user's point of view (what was broken / what's new, not how it was implemented). Genuine corrections to the file (typos in history, security notes) require the `changelog-edit` label on the PR. +`CHANGELOG.md` is generated by [semantic-release](https://github.com/semantic-release/semantic-release) from Conventional Commit messages. **Do not edit it by hand**. A `feat`, `fix` or `perf` subject (or a breaking change) becomes a release note verbatim, so write those from the user's point of view: what was broken or what's new, not how it was implemented. The other accepted types (`docs`, `chore`, `refactor`, `test`, `build`, `ci`) pass CI but produce no release and no entry, which is normal and needs no action. Genuine corrections to the file (typos in history, security notes) require the `changelog-edit` label on the PR. ## Pull Request Guidelines