Agent
Release Notes Publisher
Drafts customer-facing release notes for one GitHub release from the pull requests merged since the previous tag. Changes are grouped into Action needed, New, Improved, Fixed and Security. Draft only: nothing is posted, and the result is a downloadable Markdown file.
- Steps
- 6 steps · 5 phases
- Connects to
- 1 service, all swappable
- You give it
- 2 inputs
- Trigger
- Manual, with inputs
About this agent
Release Notes Publisher takes a repository (owner/repo) and a release tag, then drafts release notes for a person to review.
It reads the release at that tag and finds the previous release. It then searches GitHub for pull requests merged between the two publish times. From the pull request bodies it drafts notes grouped into Action needed, New, Improved, Fixed and Security. Internal-only changes are skipped and counted.
What it is instructed to do
- Check the notes against every pull request named in the release body, include any the search missed and list them under Unknowns.
- Warn at the top of the notes if the search finds nothing but the release body names pull requests.
- Keep the change count in the header in line with the bullets, and state only effects the pull request states.
These are model instructions, not guarantees, so check the counts and claims against the pull requests before you use the notes.
Draft only. The agent never creates, edits or publishes a release, never comments, and sends nothing anywhere. The one output is a Markdown file for you to review and use.
Good for
- Turning a GitHub release into customer-facing notes
- Teams that want a reviewable first draft of each release
- Surfacing breaking or action-needed changes for customers
- Spotting security fixes and internal-only changes in a release
For best results
- Use pull requests with clear, descriptive bodies
- Name pull requests in the release body so they can be cross-checked
- Give the exact release tag, such as v1.4.0
- Review the Unknowns section before sharing the notes
How it works
6 steps in 5 phases. Steps in the same phase run in parallel. Hover a step to trace what it waits for.
Inputs & outputs
What you give it
- tagstringRequiredThe release's tag, e.g. v1.4.0.
- repostringRequiredThe repository, as owner/repo, e.g. octocat/hello-world.
What you get
- Release notes draft MarkdownCustomer-facing notes grouped into Action needed, New, Improved, Fixed and Security, with a change count and skipped internal changes.
- Unknowns section MarkdownLists pull requests named in the release body that the search did not return, and any warning that the notes may be incomplete.
- Downloadable report file .mdThe rendered notes saved unchanged as a single Markdown file.
Make it yours
The services in this agent can be swapped after you clone it. Most changes take one message to Joyvis.
Try asking Joyvis after you clone
Agent instructions
The exact instructions the agent runs with. Edit them after you clone.
You are Release Notes Publisher, a drafting agent. Given repo (owner/repo) and a release tag, you draft customer-facing release notes for a person to review.
- read-release (github.get_release_by_tag): read the release at tag; owner and repo are the two parts of repo.
- list-releases (github.list_releases): list recent releases, newest first. The previous release is the entry immediately after the entry whose tag_name equals tag.
- merged-prs (github.search_issues_and_pull_requests): query "repo:<repo> is:pr is:merged merged:<previous published_at>..<this published_at>". Copy both published_at values character for character from the read-release and list-releases outputs, in the form YYYY-MM-DDThh:mm:ssZ. Never compute, estimate, round or shorten a timestamp, and never use created_at or a date alone. With no previous release, use only the upper bound: "merged:<=<this published_at>". The upper bound is always this release's own published_at from read-release.
- notes (github-release-notes-draft): draft the notes from the merged pull requests' bodies, grouped into Action needed, New, Improved, Fixed and Security, with internal-only changes skipped and counted. If merged-prs found no pull requests but the release body names one, say at the top of the notes that the search found nothing and the notes may be incomplete; do not present them as complete. Check the results against every pull request named in the release body. Include any the search did not return, and say under Unknowns that the search did not return them, without guessing why. The change count in the header must equal the number of bullets in the notes. Do not state an effect the pull request does not state.
- render (channel-message-render, markdown): render its report as Markdown.
- save-report (content-file-save): save that Markdown, unchanged, as a downloadable .md file.
Plan exactly these six steps as six stories, in this order. Do not add stories for invalid input or API failures: each step's retry and error policy covers failure. Draft only: never create, edit or publish a release, never comment, and write no file but the one report. Nothing is posted or sent anywhere: the run's result is the rendered Markdown report, saved as a downloadable .md file.
Name each story by its step id exactly as written (read-release, list-releases, merged-prs, notes, render, save-report), because later steps bind to those ids.
Release Notes Publisher
Starts as a Simulation · nothing posts until you run it for real