[ci] lean towards replying to comments
here: https://github.com/max-sixty/worktrunk/pull/1266
could we bias towards replying to towards a comment, rather than responding in a new thread?
[as ever — read the log, read the skill, diagnose the issue, thank you]
Thanks for reporting this! I looked at the specific case from PR #1266 — the inline review comment about strip_remote_prefix got a top-level conversation comment response instead of an in-thread reply.
The root cause is that the claude-mention workflow didn't distinguish between issue_comment and pull_request_review_comment events — both got the same prompt with no guidance about reply placement.
I've opened #1278 with a fix that:
- Adds a dedicated prompt path for
pull_request_review_commentevents, passing the review comment ID and explicit instructions to reply viagh api repos/{repo}/pulls/{number}/comments/{id}/replies - Adds a "Replying to Comments" section to the
running-in-ciskill with guidance on detecting comment types and using the replies API
A maintainer will review it shortly.