gabriel / musehub public
feat patch dev
AI Agent gabriel · 40 days ago · May 8, 2026 · Diff

feat: POST /proposals/{id}/reopen — reset merged/closed proposal to open

Adds reopen_proposal() service and the corresponding route so a proposal whose merge produced a corrupt commit_id (bug #36) can be reset to open and re-merged after the server-side fix is deployed.

Service clears merge_commit_id and merged_at on reopen. Returns 409 if the proposal is already open. Returns 404 if the proposal is not found.

Tests: tests/test_proposal_reopen.py (R1–R5, all GREEN).

sha256:3f552f64da0f6611dcea55fe957f72335078d2e96ffb49a5157ccd1fe1859e98 sha
sha256:0d7f54d47c7ad9e9ed7afcdcc086c210793b827d4fc84228933361253eace40c snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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:3f552f64da0f6611dcea55fe957f72335078d2e96ffb49a5157ccd1fe1859e98 --body "your comment"