ReviewOS

also looking at this

stacks/buddy

feat(touch): post the checkboxes the finishing-touch flow waits on

#1424
Merged glennmichael123 wants to merge fix/touch-offer into main
7 files +149 -5
docs/features/finishing-touches.mdmodified+7-2
Changes to docs/features/finishing-touches.md
@@ -22,7 +22,7 @@ hero:
2222 - file: "on the pull request"
2323 lang: "ascii"
2424 content: |
25 buddy commented on #128
25 buddy updated the description of #128
2626
2727 Finishing touches — tick one and I will
2828 open it as a pull request against this
@@ -99,9 +99,14 @@ Touches whose output is a *suggestion* rather than a commit — `simplify` and `
9999
100100## Running one
101101
102From the thread, tick the checkbox Buddy posts. From the CLI:
102Tick the checkbox Buddy posts. It appends them to the pull request's
103description when the request is opened or marked ready — the description
104rather than a comment, because that is what fires the `pull_request: edited`
105event a tick has to be noticed by. Offering is idempotent, so a draft later
106marked ready does not collect a second set of boxes.
103107
104108```bash
109buddy touch 128 --offer # post the checkboxes
105110buddy touch 128 # read the ticked boxes and run them
106111buddy touch 128 --name unit-tests # run one directly
107112buddy touch 128 --test-command "bun test"