The folded history still made every body list all earlier releases, which
the GitHub releases list already shows. The body is now the tag's own
docs/releases file plus one link to the releases list. The job still fails
on a tag without a notes file.
GitHub shows the assets below the release body. With all 45 release files
written out in full, the APK of v1.24.0 sat below an 88 KB body. The tag's own
notes stay in full; every older release becomes a closed <details> block under
'Earlier releases', summary = tag + its one-line summary. Nothing is dropped,
so the cumulative rule in AGENTS.md still holds.
AGENTS.md said every tag must carry a "What's New" body, cumulative, newest first. That
rule was a human convention and it was missed on twelve tags in a row: v1.6.0 through
v1.10.3 all shipped the CI-generated changelog link, so v1.5.0 was the last release
anyone could read while region discovery, the airtime budget, the retry backoff, the
FLOOD-reply warning and the AES padding fix all landed unannounced. v1.11.3 went the same
way earlier today until it was caught by hand, which is the argument against leaving it
to whoever is paying attention.
Each release now has docs/releases/vX.Y.Z.md, written in the same commit as the version
bump, so the notes are reviewed in git rather than typed into a web form afterwards.
scripts/release-notes.mjs concatenates every file from a given tag downwards, newest
first, and the release workflow publishes that as the body. A tag whose file is missing
fails the job before the build even starts, so a release without notes cannot be
published at all. generate_release_notes is gone.
The 25 files are a split of the cumulative body that v1.12.0 already carried, so no
section was rewritten. Verified by reassembling v1.12.0 from the files and diffing it
against the published body: identical once separators and blank lines are normalised.
Ordering is the one thing an assembler can get quietly wrong, and it has a test: sorting
tags as strings puts v1.9.1 above v1.10.0 and would drop a release out of the middle of
every body. Refusing an unknown tag has a test too, because that refusal is the whole
gate.
Not done: the bodies of v1.5.0 and older are left as they are, and no release title was
changed. The workflow change is unexercised until the next tag is pushed.
Tests: 260 pass (+5).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Manrn3qdrTJFz3C4o9PPFL