The Azure DevOps request that opens a thread on the note’s line: its URL and body.
A removed line is anchored on the left (target) side of the diff; a note on the
change as a whole has no anchor.
The gh api arguments that comment on the note’s line at the PR’s head commit, or,
with on_file, on the file as a whole with the line named in the text.
The gh api arguments and JSON body for one review holding every note: the note on
the change as a whole as its text, the others as comments on their lines.
After a review of a pull request, offers to post its notes there. Lists what would
be posted, asks — unless yes already said so — and posts only on an explicit yes.
Drafts nobody has opened are never posted. Posted notes leave the store for the
posted log; notes that fail stay, so nothing is posted twice and nothing is lost.