Compile the release scope
Run this at the start of every release cycle, after a release branch is cut or a version tag is proposed. Pulls merged PRs and closed issues from GitHub and reconciles them against Linear to produce a confirmed, classified scope list before any writing begins.
- Ask the user for the release boundary: the previous release tag (or date) and the proposed new tag or branch name.
- From GitHub, fetch all PRs merged into the release branch since the boundary, and all issues closed and linked to those PRs.
- From Linear, fetch all tickets in the release cycle or milestone.