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

fix(agent-config): remove --format/-f pattern, normalize --json to dest=json_out, add -n/-f shorthands, add TestRegisterFlags

sha256:19368177af115c2300b8ce540eebe68bb95d7e9ec9057f2f501c43346c526a39 sha
+27 ~10 symbols
sha256:0301badd8375a7b8424c8b77f11ef8d50333ce85dbcc494854574dc5c3da21a1 snapshot
+27
symbols added
~10
symbols modified
0
dead code introduced
Semantic Changes 37 symbols
~ tests/test_cmd_agent_config.py .py 27 symbols added
+ TestRegisterFlags class class TestRegisterFlags L1200–1310
+ _parse method method _parse L1203–1208
+ test_init_default_json_out_is_false method method test_init_default_json_out_is_false L1211–1213
+ test_init_force_default method method test_init_force_default L1223–1225
+ test_init_force_flag method method test_init_force_flag L1227–1229
+ test_init_force_shorthand method method test_init_force_shorthand L1231–1233
+ test_init_j_shorthand_sets_json_out method method test_init_j_shorthand_sets_json_out L1219–1221
+ test_init_json_flag_sets_json_out method method test_init_json_flag_sets_json_out L1215–1217
+ test_inspect_default_json_out_is_false method method test_inspect_default_json_out_is_false L1295–1297
+ test_inspect_json_flag_sets_json_out method method test_inspect_json_flag_sets_json_out L1299–1301
+ test_read_default_json_out_is_false method method test_read_default_json_out_is_false L1273–1275
+ test_read_j_shorthand_sets_json_out method method test_read_j_shorthand_sets_json_out L1281–1283
+ test_read_json_flag_sets_json_out method method test_read_json_flag_sets_json_out L1277–1279
+ test_set_default_json_out_is_false method method test_set_default_json_out_is_false L1304–1306
+ test_set_json_flag_sets_json_out method method test_set_json_flag_sets_json_out L1308–1310
+ test_status_default_json_out_is_false method method test_status_default_json_out_is_false L1286–1288
+ test_status_json_flag_sets_json_out method method test_status_json_flag_sets_json_out L1290–1292
+ test_sync_default_json_out_is_false method method test_sync_default_json_out_is_false L1236–1238
+ test_sync_dry_run_default method method test_sync_dry_run_default L1248–1250
+ test_sync_dry_run_flag method method test_sync_dry_run_flag L1252–1254
+ test_sync_dry_run_shorthand method method test_sync_dry_run_shorthand L1256–1258
+ test_sync_force_default method method test_sync_force_default L1260–1262
+ test_sync_force_flag method method test_sync_force_flag L1264–1266
+ test_sync_force_shorthand method method test_sync_force_shorthand L1268–1270
+ test_sync_j_shorthand_sets_json_out method method test_sync_j_shorthand_sets_json_out L1244–1246
+ test_sync_json_flag_sets_json_out method method test_sync_json_flag_sets_json_out L1240–1242
+ argparse import import argparse L71–71

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