gabriel / musehub public
feat patch proposals task/proposal-list-mcp #1 / 1
AI Agent gabriel · 40 days ago · May 8, 2026 · Diff

feat(proposals): Phase 6 — MCP context extension for enriched proposal queue

- Add EnrichedProposalContext(ActiveProposalContext) to musehub_context.py: aggregate_risk_band, aggregate_risk_score, active_domains, domain_risk_band, approval_count, required_approvals, all_merge_conditions_met, is_blocked, blocked_by, author_type, breakage_count — full triage signal in one model - Add execute_list_proposals_context() to musehub_mcp_executor.py: calls list_proposals + enrich_proposal_list_batch (inline select+sort pattern matching ui_proposals.py — no new service function needed) - Register musehub_list_proposals_context tool in mcp/tools/musehub.py - Wire dispatcher.py: musehub_list_proposals_context → execute_list_proposals_context - Update test_mcp_dispatcher.py tool count: 119 → 120

Agents can now triage the full merge queue (risk, approvals, domains, deps) in one MCP call without per-proposal follow-ups.

Part of issue #35 — Proposals List: State Transition Queue.

sha256:5ea0fd185ca71c3410d95ab9d2c242e8d3e59449f9f3490c0f8b376fe94859e6 sha
sha256:2cc662de21702742f59a067e87c42c1aa421ab8f9f5d5c31314b45d407fb35a1 snapshot
← Older Oldest on task/proposal-list-mcp
All commits
Newer → Latest on task/proposal-list-mcp

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:5ea0fd185ca71c3410d95ab9d2c242e8d3e59449f9f3490c0f8b376fe94859e6 --body "your comment"