fix: Validate the release-notes rewrite before publishing it #79
Labels
No labels
priority/P0
priority/P1
priority/P2
priority/P3
size/L
size/M
size/S
size/XL
size/XS
state/blocked
state/done
state/in-progress
state/in-review
state/needs-refinement
state/ready
type/bug
type/chore
type/feature
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
amtronics/platform-actions#79
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
ahmad/imamahv0.7.1 was published with these release notes, verbatim and public:The release step accepts whatever the summariser returns as long as it is not an empty string (
release/action.yml, theif [ -n "${SUMMARY}" ]guard). A model that answers with a question, an apology, or a refusal passes that check and is published to users as the description of the release.Two faults meet here:
force-bump: patch— the documented rebake path — so the commit range was empty. The prompt was sent with an empty commit list, and the model reasonably asked what it was supposed to summarise.notes-fallbackoutput to flag it; the fallback simply never fired, because the failure did not look like a failure.Scope
#65); the wording of the prompt beyond what validation requires.Acceptance criteria
notes-fallbackistrue.AGENTS.md, then it carries the rule that model-generated text is never published without a shape check and a deterministic fallback.