Impact
mxcli fmt never modifies files and silently accepts garbage input — formatting workflow broken.
Issues
1. Output goes to stdout, file unchanged
./mxcli fmt file.mdl
# Formatted MDL printed to stdout; file.mdl unchanged on disk
2. Invalid input passes through without error
echo "this is not valid MDL" | ./mxcli fmt
# Exit code: 0, no error, garbage echoed back
Expected Behavior
- Write formatted output back to the file (or require a
-w flag for in-place write).
- Exit 1 on unparseable input with a diagnostic message.
Severity
Low — workaround: redirect stdout manually.
Discovered during AI-assisted manual testing session (2026-04-29, mxcli v0.7.0-257-ga07e7e0).
Impact
mxcli fmtnever modifies files and silently accepts garbage input — formatting workflow broken.Issues
1. Output goes to stdout, file unchanged
./mxcli fmt file.mdl # Formatted MDL printed to stdout; file.mdl unchanged on disk2. Invalid input passes through without error
Expected Behavior
-wflag for in-place write).Severity
Low — workaround: redirect stdout manually.
Discovered during AI-assisted manual testing session (2026-04-29, mxcli v0.7.0-257-ga07e7e0).