con un clic
address-stack-comments
// Address PR review comments across an entire Graphite stack, starting from the bottom and working up. Use when user wants to handle feedback on a stacked set of PRs.
// Address PR review comments across an entire Graphite stack, starting from the bottom and working up. Use when user wants to handle feedback on a stacked set of PRs.
| name | address-stack-comments |
| description | Address PR review comments across an entire Graphite stack, starting from the bottom and working up. Use when user wants to handle feedback on a stacked set of PRs. |
Walk an entire Graphite stack bottom-to-top, addressing PR review comments on each branch autonomously.
We are working in a Graphite stack. Changes that appear "reverted" in a given branch are not actually reverted — they are isolated in upstack PRs. Do not treat upstack diffs as regressions or missing code. Each branch only contains the changes relevant to its own PR.
gt bottom
On the current branch, read each PR comment via gh and address it. Do not prompt the user for approval — evaluate each comment and take the action you believe is best.
After addressing all comments on the current branch, absorb changes and move up. Only amend if files were actually modified — skip gt m -a when no changes were made to avoid unnecessary hash rewrites and CI churn:
# If changes were made:
gt m -a && gt up
# If no changes were made:
gt up
Repeat steps 2–3 until gt up reports that you are already at the top of the stack (no more upstack branches).
When done with all branches, submit the full stack:
gt ss
For each branch:
gh.Keep replies short and direct. No fluff.