From cc53b2f666107b874dd59c4fcd6972ee748b8a70 Mon Sep 17 00:00:00 2001 From: Hector Ventura Date: Sun, 13 Sep 2026 19:00:55 -0500 Subject: [PATCH] docs: stop telling contributors to hand-edit CHANGELOG.md AGENTS.md and the PR template both asked for an entry under [Unreleased], which changelog-guard.yml hard-fails and CONTRIBUTING.md forbids. Both lines predate the semantic-release cutover in #20. AGENTS.md now states the generated-file rule and points at the changelog-edit escape hatch; the template drops the checkbox and says on the Conventional Commits line why no hand edit is needed. --- .github/pull_request_template.md | 3 +-- AGENTS.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index bc157f5..e87b4b4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -22,7 +22,6 @@ - [ ] `mvn test` passes locally - [ ] New or updated tests added (or explained below why not needed) -- [ ] `CHANGELOG.md` entry added under `[Unreleased]` (user-visible changes) - [ ] `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/) +- [ ] 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 diff --git a/AGENTS.md b/AGENTS.md index e1de8df..ac28de4 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` follows Keep a Changelog. Every user-visible change gets an entry under `[Unreleased]` in the same PR. +- `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. - `CLAUDE.md` is gitignored (maintainer-local); this file (`AGENTS.md`) is the tracked source of truth for agent guidance. Update it here.