gabriel / musehub public
feat BREAKING task/proposal-close-endpoint #1 / 1
AI Agent gabriel · 39 days ago · May 9, 2026 · Diff

feat: add POST /proposals/{id}/close endpoint

close_proposal() service sets state to 'closed' (open only; 409 on merged/closed). Route: POST /api/repos/{repo_id}/proposals/{proposal_id}/close. ProposalListQueryParams and list_proposals route pattern updated to accept 'closed' as a valid state filter. 5 new tests: sets state, 409 on double-close, 404 on unknown, 401 no auth, appears in ?state=closed list.

sha256:23eea09ca8c3a4e1273313b01b7cd662ccac26380a07d6f9b9a3b2ad19b9a021 sha
sha256:b54c52abbce2dc554c4dac51352eb0f43897793df7e67c3293122908f25ce93e snapshot
← Older Oldest on task/proposal-close-endpoint
All commits
Newer → Latest on task/proposal-close-endpoint

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:23eea09ca8c3a4e1273313b01b7cd662ccac26380a07d6f9b9a3b2ad19b9a021 --body "your comment"