Prepare changes for review
The author reviews the PDF, not only the LaTeX diff. Make that easy.
Steps
Make sure the work is committed in small, logical commits on a branch (not
main). Each message says what content changed.Build and check:
overfull build overfull check --jsonThere must be no errors. If there are, fix them first (
fix-build,add-citation, and so on).Produce the highlighted-changes PDF against the base branch:
overfull diff --base mainUse the base branch the PR targets. The command prints where it wrote the PDF.
--outmust stay inside the project. With--jsonit prints{pdf, base, sha, complete}; ifcompleteisfalse, the diff document had LaTeX errors and the PDF may be incomplete, so say so in the PR.List every open question for the author.
TODO(author)comments do not show in the diff PDF, so collect them from the source:grep -rn "TODO(author)" --include=*.tex --include=*.bib .Write the PR description (template below). List every
TODO(author)item from step 4 with its file and line.Open the PR (for example
gh pr create). The template's workflow (.github/workflows/preflight.yml) builds the PDF and the diff in CI, puts the check report in the job summary and annotates the changed lines. It does not comment on the PR.
PR description template
## What changed
- Added Section 4.2 on X from notes/experiments.md
- New figure \cref{fig:loss} from figures/data/loss.csv
- 3 references added with `overfull cite` (keys: a2024, b2023, c2025)
## Needs the author's attention
- Claims I could not find in notes/: <list with file:line>
- TODO(author) markers (from `grep -rn "TODO(author)"`): <every one, file:line and question>
- Reference mismatches to confirm: <key: what differs>
## Check report
- Status: pass / warn
- Remaining warnings: <rule, location, why it stays>
## Review
Highlighted-changes PDF: <path or CI artifact>
Done
overfull checkhas no errors on the branch.- The PR description lists every content change, every unverified claim, every
TODO(author)marker, and every remaining warning. - The author has a highlighted-changes PDF to read.
Pitfalls
- Do not merge your own PR. The author merges.
- Do not squash unrelated changes into one commit; it makes the diff hard to review.
- Do not describe changes you did not make, or hide warnings by not listing them.