gabriel / musehub public
feat minor feat/mcp-proposal-reviewer-repo-management #1 / 1
AI Agent gabriel · 170 days ago · Apr 10, 2026 · Diff

feat: MCP proposal comments/reviewers and repo management

- execute_list_proposal_comments, execute_request_proposal_reviewers, execute_remove_proposal_reviewer, execute_list_proposal_reviews - execute_delete_repo, execute_patch_repo_settings, execute_transfer_repo_ownership - 7 new dispatcher blocks and tool defs - 13 new integration tests (113 total, all passing) - mypy clean on all new files

sha256:626bdc720c6fcaaa2014e24b1596914441a8c1946889ab551435513cc82a5542 sha
+38 ~9 symbols
sha256:c92b71193c781786f50b2e7fb5c0825cfc3bd67cf4673324377889417c343398 snapshot
+38
symbols added
~9
symbols modified
0
dead code introduced
Semantic Changes 47 symbols
~ musehub/mcp/dispatcher.py .py 1 symbol modified
~ musehub/mcp/write_tools/proposals.py .py 7 symbols added, 2 symbols modified
+ _comment_data function function _comment_data L15–28
+ _review_data function function _review_data L31–41
+ execute_list_proposal_comments function async_function execute_list_proposal_comments L353–406
+ execute_list_proposal_reviews function async_function execute_list_proposal_reviews L522–583
+ execute_remove_proposal_reviewer function async_function execute_remove_proposal_reviewer L469–519
+ execute_request_proposal_reviewers function async_function execute_request_proposal_reviewers L409–466
+ json_list import import json_list L6–6
~ musehub/mcp/write_tools/repos.py .py 8 symbols added
+ _PERMISSION_RANK variable variable _PERMISSION_RANK L14–19
+ _require_owner function async_function _require_owner L22–30
+ _require_owner_or_admin function async_function _require_owner_or_admin L33–63
+ execute_delete_repo function async_function execute_delete_repo L126–178
+ execute_patch_repo_settings function async_function execute_patch_repo_settings L181–286
+ execute_transfer_repo_ownership function async_function execute_transfer_repo_ownership L289–358
+ collab_db import import collab_db L7–7
+ select import import select L10–10
~ tests/test_mcp_write_tools.py .py 23 symbols added, 5 symbols modified
+ TestIntegrationProposalComments class class TestIntegrationProposalComments L1661–1712
+ test_list_proposal_comments_happy_path method async_method test_list_proposal_comments_happy_path L1665–1698
+ test_list_proposal_comments_requires_auth method async_method test_list_proposal_comments_requires_auth L1701–1712
+ TestIntegrationProposalReviewers class class TestIntegrationProposalReviewers L1715–1855
+ test_list_reviews_filtered_by_state method async_method test_list_reviews_filtered_by_state L1816–1855
+ test_remove_reviewer method async_method test_remove_reviewer L1757–1787
+ test_request_and_list_reviewers method async_method test_request_and_list_reviewers L1719–1754
+ test_request_reviewers_forbidden_for_non_write method async_method test_request_reviewers_forbidden_for_non_write L1790–1813
+ TestIntegrationRepoManagement class class TestIntegrationRepoManagement L1858–1948
+ test_delete_repo_forbidden_for_non_owner method async_method test_delete_repo_forbidden_for_non_owner L1873–1880
+ test_delete_repo_happy_path method async_method test_delete_repo_happy_path L1862–1870
+ test_delete_repo_requires_auth method async_method test_delete_repo_requires_auth L1883–1890
+ test_patch_repo_settings_forbidden_for_non_admin method async_method test_patch_repo_settings_forbidden_for_non_admin L1909–1920
+ test_patch_repo_settings_happy_path method async_method test_patch_repo_settings_happy_path L1893–1906
+ test_transfer_repo_ownership_forbidden_for_non_owner method async_method test_transfer_repo_ownership_forbidden_for_non_owner L1937–1948
+ test_transfer_repo_ownership_happy_path method async_method test_transfer_repo_ownership_happy_path L1923–1934
+ execute_delete_repo import import execute_delete_repo L102–102
+ execute_list_proposal_comments import import execute_list_proposal_comments L87–87
+ execute_list_proposal_reviews import import execute_list_proposal_reviews L87–87
+ execute_patch_repo_settings import import execute_patch_repo_settings L102–102
+ execute_remove_proposal_reviewer import import execute_remove_proposal_reviewer L87–87
+ execute_request_proposal_reviewers import import execute_request_proposal_reviewers L87–87
+ execute_transfer_repo_ownership import import execute_transfer_repo_ownership L102–102
← Older Oldest on feat/mcp-proposal-reviewer-repo-management
All commits
Newer → Latest on feat/mcp-proposal-reviewer-repo-management

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:626bdc720c6fcaaa2014e24b1596914441a8c1946889ab551435513cc82a5542 --body "your comment"