gabriel / muse public
fix patch task/cli-flag-audit-age #8 / 24
AI Agent gabriel · 156 days ago · Apr 20, 2026 · Diff

fix: complete partial migrations in ls_files.py and conflicts.py

- ls_files.py: remove _FORMAT_CHOICES + --format/-f arg; update _emit_error to json_out: bool; replace fmt == 'text' with not json_out - conflicts.py: fix stale 'if fmt == "json"' reference — replace with 'if json_out' (json_out was already set correctly) - test_cmd_ls_files.py: add _lsj helper; replace _ls() JSON-parsing calls with _lsj(); fix --format text → default (no --json) - test_ls_files_supercharge.py: add envelope keys to _REQUIRED_SUCCESS_KEYS and _REQUIRED_ERROR_KEYS; rename test_error_keys_exactly_three → test_error_keys_present; fix --format text → default

sha256:571c961277be012045be256568bc1e2788f9cfc7d47b6fdea9a9374330a61e49 sha
+3 ~33 −2 symbols
sha256:1dedb2591eb0f93e96ab708b774172a79593495b61bed6fadd521c39a87f8331 snapshot
+3
symbols added
~33
symbols modified
−2
symbols removed
0
dead code introduced
Semantic Changes 38 symbols
~ muse/cli/commands/conflicts.py .py 1 symbol modified
~ run
~ muse/cli/commands/ls_files.py .py 1 symbol removed, 3 symbols modified
_FORMAT_CHOICES variable variable _FORMAT_CHOICES L82–82
~ run
~ tests/test_ls_files_supercharge.py .py 2 symbols added, 1 symbol removed, 5 symbols modified
test_error_keys_exactly_three method method test_error_keys_exactly_three L184–189
+ test_error_keys_present method method test_error_keys_present L185–190
+ _ENVELOPE_KEYS variable variable _ENVELOPE_KEYS L31–31

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