agents/prompts/editorialize-changelog.md
Write an editorialized replacement for only the newest release section in CHANGELOG.md.
The newest release section begins at the first release heading (## ) and ends immediately before
the next release heading. Read CHANGELOG.md and the local Git history, but do not edit any file
and do not use the network. Compare the new section with several preceding releases and match their
established section names, ordering, tone, and Markdown style. Inspect the included local changes
when a generated title is not enough to classify or describe an entry accurately.
Apply these rules:
Enhancements or Bug fixes is repository metadata. Never move an entry
between those two sections. Do not move an entry from Bug fixes to Performance.Preview features, even when it fixes a bug; use Python for Python runtime or
distribution changes; and move an entry from Enhancements or Other changes to Performance
only when performance is the primary intent of the local change. Move an entry from
Other changes to a more specific section only when the local change unambiguously fits one. Keep
retained entries in Other changes when no established section fits and they describe user- or
ecosystem-relevant maintenance, such as MSRV or toolchain updates and public API compatibility for
downstream integrations.Return only the complete replacement release section, beginning with its ## heading. Do not
include the next release heading, any older changelog content, a code fence, or commentary. Your
response must contain exactly one line that begins with ## ; ### subsection headings are
expected.