forgejo-mcp/openspec
Christoph Görn 2f932dd2e7 feat: ✨ add write-side PR review tools
Implements 6 new MCP tools for full PR review lifecycle:
- create_pull_review: Create reviews with optional inline comments
- submit_pull_review: Submit pending reviews
- dismiss_pull_review: Dismiss reviews with reason
- delete_pull_review: Delete pending reviews
- create_review_requests: Request reviews from users/teams
- delete_review_requests: Cancel review requests

Addresses #59 by enabling MCP clients to approve, request changes,
and leave per-line comments on pull requests. All tools follow
existing patterns (tool definition → handler → registration).

Implementation details:
- Added operation/pull/review.go with RegisterReviewTools
- Extended operation/params with review-specific constants
- Inline comments accepted as JSON string (MCP flat param constraint)
- Wired into operation.go registration flow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 10:26:25 +01:00
..
changes feat: ✨ add write-side PR review tools 2026-01-30 10:26:25 +01:00
config.yaml chore: 🚀 add OpenSpec workflow, beads issue tracker, and merge PR proposal 2026-01-30 08:25:11 +01:00