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
+
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
To add a comment, use the Muse CLI:
muse hub commit comment sha256:fa3cd340ab7117f374eec3f4a88faf1865a048562da45d200fc8f06158d4d494 --body "your comment"
No comments yet. Be the first to start the discussion.