gabriel / muse public
feat patch hub task/hub-issue-status-flag #1 / 1
gabriel · 166 days ago · Apr 14, 2026 · Diff

feat(hub): add --status open/closed to muse hub issue update

Adds ergonomic --status flag so agents can close or reopen issues without manual API calls. Dispatches POST /close or POST /reopen after optional field-update PATCH. TDD: four new tests covering close, reopen, invalid value, and combined body+status.

sha256:fa3cd340ab7117f374eec3f4a88faf1865a048562da45d200fc8f06158d4d494 sha
+5 ~3 symbols
sha256:037972ff7ece6e82364a40ae2cd98b90991f3725cf8115db1ccde3d540be8c9d snapshot
+5
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes 8 symbols
~ muse/cli/commands/hub.py .py 2 symbols modified
~ tests/test_cli_hub.py .py 5 symbols added, 1 symbol modified
+ _hub_patches method method _hub_patches L498–514
+ test_issue_update_status_and_body_together method method test_issue_update_status_and_body_together L544–554
+ test_issue_update_status_closed_calls_close_endpoint method method test_issue_update_status_closed_calls_close_endpoint L516–525
+ test_issue_update_status_invalid_value_rejected method method test_issue_update_status_invalid_value_rejected L538–542
+ test_issue_update_status_open_calls_reopen_endpoint method method test_issue_update_status_open_calls_reopen_endpoint L527–536
← Older Oldest on task/hub-issue-status-flag
All commits
Newer → Latest on task/hub-issue-status-flag

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