How stacked PRs work
mainStacked PRs allow you to group related changes into a sequence of dependent pull requests. Instead of one large PR containing all changes (e.g., A+B), you create a stack where the first PR contains only change A, and the second PR contains only change B (which depends on A). This makes individual changes easier to review and manage.
Under the hood, stack-pr creates branches following the pattern $USERNAME/stack/$BRANCH_NUM and embeds metadata into commit messages. You should interact with the stack using the provided CLI commands rather than manually editing branches or metadata.