Loading
fix(agentic): keep Closes and Changelog in separate paragraphs so trailers parse
The integrator built its squash-merge message with `Closes #N` on the line
directly above `Changelog:`, putting both in one final paragraph. `Closes #N` is
a GitLab keyword, not a colon-trailer, so git/GitLab stop recognizing the block
as trailers and silently drop the `Changelog:` entry from CHANGELOG.md — verified
with `git interpret-trailers --parse`. This is a likely cause of fixes going
missing from release notes.
Separate them with a blank line in the integrator's merge message, add a verify
step, harden the resolver's caveat (its `-m`-per-paragraph form was already
correct), and make the mr-reviewer's changelog dimension FAIL when a
consumer-facing commit's trailer does not actually parse (not just when the text
is absent).
Internal-only change to agent instructions (not consumer-facing), so no
Changelog trailer per CONTRIBUTING.md.
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>