You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make resumed release-draft notes deterministic before publication #99
When publish-local-release.sh creates a new draft without --notes-file, it requests generated notes. When it resumes an existing draft without --notes-file, the edit path does not regenerate, replace, or verify the existing body. A draft containing stale or arbitrary notes can therefore be published even though its assets and digests pass validation.
Current behavior
A draft release already exists for the target tag and contains incorrect or stale notes.
Run the local publisher with the required trusted inputs, omitting --notes-file, and resume that draft.
The script validates the approved asset set but leaves the pre-existing notes unchanged.
--publish can publish the stale body with otherwise valid assets.
Expected behavior
Release notes should be deterministic and validated for both newly created and resumed drafts. Resuming a draft must not silently inherit unverified metadata.
Acceptance criteria
Define one deterministic notes policy for new and resumed drafts.
If --notes-file is supplied, set or verify the draft body against that file before publication.
If it is omitted, either regenerate notes through a supported API, verify an expected generated body, or fail closed and require explicit notes when resuming.
Add a behavioral test that resumes a draft with incorrect notes and proves publication is rejected or the notes are corrected deterministically.
Preserve the existing refusal to modify an already published release.
Document the resumed-draft notes policy in the release process guide.
Activity