gx push publishes a stack to GitHub, GX writes a generated review summary into the pull request body. The summary helps reviewers see what changed, how risky it is, and where to focus — without you authoring a description by hand.
When this runs
GX updates the PR body automatically whenever an artifact is published to a GitHub pull request:- During
gx push, after the remote PR is created or updated. - Whenever a queued artifact is published from the outbox.
What the body contains
The generated body is wrapped in a marker comment (<!-- gx:pr-summary:v1 -->) and includes:
- Opening summary — a one-paragraph description of the stack: revisions, affected areas, blast radius (low, medium, or high), and total lines added/removed.
- Needs Review — up to 10 high-impact review targets, each with a deep link to the relevant hunk on GitHub and an attribution noting whether the item came from a GX finding, an indexed past review, or a heuristic on the diff.
Preserving your own notes
GX does not erase a description you wrote. The first time GX updates a PR body that already has author content, that content is moved beneath the generated summary under an## Author Notes heading, delimited by <!-- gx:author-notes -->.
The final body looks like this:
<!-- gx:author-notes --> and leaves everything below it untouched. Edit your notes there at any time.
Working with the summary
- Edit author notes anywhere, anytime. Anything you add or change under
## Author Notesis preserved across future pushes. - Don’t edit the GX-managed section. Changes above the author-notes marker are overwritten on the next push.
- Force a refresh. Run
gx pushagain to regenerate the summary after new revisions, findings, or indexed context become available.