gabriel / muse public
feat patch task/hub-proposal-update #1 / 1
AI Agent gabriel · 128 days ago · May 8, 2026 · Diff

feat: add muse hub proposal update CLI command

Partial PATCH for title, body, type, and merge strategy. At least one flag required; exit 1 if none supplied. API errors exit 3. JSON output via --json. 9 TDD tests all green.

sha256:bf20a5b40dd86bfb387bc708cf192aef2a20d1329e7ac8cf3919311f83cbd28e sha
+14 ~1 symbols
sha256:cdda25c803c1834911ee662a84d43144fe05a51e5f86d76aba886bd5cc9f5a76 snapshot
+14
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 15 symbols
~ muse/cli/commands/hub/proposals.py .py 1 symbol added, 1 symbol modified
+ run_proposal_update function function run_proposal_update L601–683
~ tests/test_cli_hub.py .py 13 symbols added
+ TestHubProposalUpdateCommand class class TestHubProposalUpdateCommand L1299–1488
+ _mock_proposal method method _mock_proposal L1314–1328
+ _patches method method _patches L1330–1347
+ _setup_auth method method _setup_auth L1304–1312
+ test_api_error_exits_code_3 method method test_api_error_exits_code_3 L1468–1488
+ test_body_file_reads_from_disk method method test_body_file_reads_from_disk L1449–1464
+ test_json_output_contains_proposal_id method method test_json_output_contains_proposal_id L1433–1445
+ test_no_flags_exits_nonzero method method test_no_flags_exits_nonzero L1424–1429
+ test_update_body_calls_patch method method test_update_body_calls_patch L1379–1390
+ test_update_strategy_calls_patch method method test_update_strategy_calls_patch L1409–1420
+ test_update_subcommand_exists method method test_update_subcommand_exists L1351–1358
+ test_update_title_calls_patch method method test_update_title_calls_patch L1362–1375
+ test_update_type_calls_patch method method test_update_type_calls_patch L1394–1405
← Older Oldest on task/hub-proposal-update
All commits
Newer → Latest on task/hub-proposal-update

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