Repository navigation
Description
Junior can resolve review threads on bot-authored pull requests, but it cannot mark individual feedback comments while work is in progress or show how each item ended. Add one native, semantic feedback-status tool rather than exposing raw reaction mutations to the agent.
Current behavior
github_resolvePullRequestReviewThreadresolves an inline review thread after it verifies that Junior authored the pull request (PR #1573).- No native tool manages reactions on pull request conversation comments or inline review comments.
- GitHub exposes separate REST routes for issue comment and pull request review comment reactions. The supported values include
eyes,+1, and-1, but not a checkmark. - Issue #359 already tracks reaction endpoints as part of the incomplete feedback API documentation. This issue tracks the workflow and native tool behavior.
Proposed feedback lifecycle
Expose a native tool such as github_updatePullRequestFeedback with:
repo- comment kind: pull request conversation comment or inline review comment
commentId- status:
reviewing,addressed, ordeclined - optional
threadIdfor inline review feedback
Map status to GitHub reactions:
reviewing→eyesaddressed→+1declined→-1
A status transition must replace only reactions created by Junior. It must not remove reactions from people. Repeating the same transition must be safe and must not create duplicate state.
For addressed or declined, remove Junior's eyes reaction and add the terminal reaction. When threadId is present, also resolve the review thread with the same bot-authored pull request guard used by github_resolvePullRequestReviewThread. Conversation comments have no review thread to resolve.
Keep the GitHub route choice, reaction lookup and deletion, app identity check, permissions, and partial-failure reporting inside packages/junior-github. The agent should choose a feedback status, not coordinate reaction IDs and REST routes itself.
Requested by David Cramer.
--
Activity
feat(github): Set PR feedback reactions with github_updatePullRequest…