gabriel / muse public
fix patch agent task/cli-flag-audit-age #23 / 24
AI Agent gabriel · 159 days ago · Apr 19, 2026 · Diff

fix(agent): normalize --json to dest=json_out across keygen/list/register, add TestRegisterFlags

sha256:d5a2e684fb08a66ff0391ecebc25cbc4142b36a9307e29d2739d7d130f967dce sha
+18 ~19 symbols
sha256:f5b3294cd376c0fb22345a180058c73efb11554310c597371100dbe8ac375ae7 snapshot
+18
symbols added
~19
symbols modified
0
dead code introduced
Semantic Changes 37 symbols
~ tests/test_cmd_agent.py .py 18 symbols added, 12 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L821–902
+ _parse_keygen method method _parse_keygen L824–829
+ _parse_list method method _parse_list L831–836
+ _parse_register method method _parse_register L838–843
+ test_keygen_account_flag method method test_keygen_account_flag L858–860
+ test_keygen_default_json_out_is_false method method test_keygen_default_json_out_is_false L846–848
+ test_keygen_hub_default method method test_keygen_hub_default L862–864
+ test_keygen_j_shorthand_sets_json_out method method test_keygen_j_shorthand_sets_json_out L854–856
+ test_keygen_json_flag_sets_json_out method method test_keygen_json_flag_sets_json_out L850–852
+ test_keygen_name_default method method test_keygen_name_default L866–868
+ test_list_default_json_out_is_false method method test_list_default_json_out_is_false L871–873
+ test_list_j_shorthand_sets_json_out method method test_list_j_shorthand_sets_json_out L879–881
+ test_list_json_flag_sets_json_out method method test_list_json_flag_sets_json_out L875–877
+ test_register_account_and_name_required method method test_register_account_and_name_required L896–902
+ test_register_default_json_out_is_false method method test_register_default_json_out_is_false L884–886
+ test_register_j_shorthand_sets_json_out method method test_register_j_shorthand_sets_json_out L892–894
+ test_register_json_flag_sets_json_out method method test_register_json_flag_sets_json_out L888–890
+ argparse import import argparse L16–16

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