worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

inline suggestions from @worktrunk-bot

Open max-sixty opened this issue 9 months ago • 2 comments

look at this commemt: https://github.com/max-sixty/worktrunk/pull/1161#pullrequestreview-3837744364

why didn't it use an inline suggestion?

change the guidance we offer so it's more inclined to do this. make the PR

max-sixty avatar Feb 22 '26 14:02 max-sixty

@worktrunk-bot ?

max-sixty avatar Feb 25 '26 08:02 max-sixty

The bot's first review on #1161 posted the frontmatter fix as a code block in the review body instead of as an inline suggestion on line 3. The pr-review skill already said "use code suggestions" but the guidance was too soft — the bot defaulted to the simpler review-body path.

#1197 strengthens this in two places:

  1. Rules bullet — changed from "use code suggestions for anything expressible as replacement lines" to an explicit rule: if you can name the file, line, and new text, it must be an inline suggestion via the review API. The review body is only for summary text.
  2. Posting section — replaced the generic description with a concrete anti-pattern / correct-pattern example pair, so the distinction is visually unambiguous.

worktrunk-bot avatar Feb 25 '26 08:02 worktrunk-bot