@@ -32,11 +32,21 @@ release.
3232 Open ` CHANGES.md ` and extract every bullet under ` ## Development ` .
3333
34344 . ** Cross-reference.**
35- For each commit that represents a user-visible change (type ` feat ` , ` fix ` ,
36- ` refactor ` , or ` perf ` ), check whether a corresponding bullet exists in the
37- Development section. A bullet does not need to quote the commit message
38- verbatim -- it only needs to describe the same change at a short summary
39- level.
35+ ` CHANGES.md ` opens with a comment block stating what qualifies for an entry.
36+ Read it first; it is authoritative and the rules below restate only what
37+ this check needs.
38+
39+ A commit needs a bullet when it adds something a user can use, changes
40+ behaviour they would be surprised by, removes something, or fixes a bug
41+ that was BROKEN IN A RELEASED VERSION. A bullet does not need to quote the
42+ commit message -- it only needs to describe the same change.
43+
44+ A commit does NOT need one when it is refactoring, a test, CI, an internal
45+ rename, or a dependency bump with no user-visible effect. Nor when it fixes
46+ a bug that never shipped: if the last released version did not have the
47+ defect, the changelog has nothing to say about it. That case is common on a
48+ long branch and is the one most often reported as a false gap -- check the
49+ bug's origin before flagging a missing entry, not just the commit's type.
4050
41515 . ** Check each bullet against the length rule.**
4252 Per the "Changelog Entries" section of CONTRIBUTING.md, a bullet is at most
@@ -45,15 +55,23 @@ release.
4555 ones that exceed it, with their count. Do not measure released ` ## Version `
4656 sections -- a section is frozen once cut and is never rewritten.
4757
48- 6 . ** Report findings.**
58+ 6 . ** Check the section against the entry-count limits.**
59+ ` CHANGES.md ` 's comment block sets a soft limit of ** 10** bullets per version
60+ section and a hard limit of ** 50** , counting every bullet across its
61+ subsections. Report the count. Over the soft limit, name the entries that
62+ look mergeable or cuttable. Over the hard limit, say plainly that the
63+ release must not ship until they are merged or cut.
64+
65+ 7 . ** Report findings.**
4966 - List commits with NO changelog entry (missing entries -- these must be
5067 added).
5168 - List changelog bullets that appear to describe nothing in the commit
5269 history (stale or speculative entries -- flag for author review).
5370 - List bullets over the 25-word limit, each with its count, and propose a
5471 shorter wording.
72+ - Report the section's bullet count against the soft and hard limits.
5573 - If everything matches, report "CHANGES.md is current."
5674
57- 7 . ** Do not edit CHANGES.md automatically.**
75+ 8 . ** Do not edit CHANGES.md automatically.**
5876 Propose the missing bullets in your report and let the developer apply them.
5977 The developer owns the changelog wording.
0 commit comments