gabriel / muse public
fix patch dev
AI Agent gabriel · 163 days ago · Apr 17, 2026 · Diff

fix: align format-patch JSON output with supercharged command schema

Replace elapsed_seconds with duration_ms (milliseconds, 3dp) and ensure exit_code is always present — consistent with init, diff, log, and other supercharged commands. Agents read duration_ms uniformly.

sha256:fe00181ebe0107c57276e21711a7012c5553cf0526c5d283462f114ccbb71e4d sha
+2 ~2 −2 symbols
sha256:ec2ac57e8941cce96cab96bfc40e953c5e024ad2d18807772061c6304a4d069a snapshot
+2
symbols added
~2
symbols modified
−2
symbols removed
0
dead code introduced
Semantic Changes 6 symbols
~ muse/cli/commands/format_patch.py .py 1 symbol modified
~ run
~ tests/test_format_patch_supercharge.py .py 2 symbols added, 2 symbols removed, 1 symbol modified
− test_elapsed_seconds_non_negative method method test_elapsed_seconds_non_negative L1010–1015
− test_elapsed_seconds_under_two_seconds method method test_elapsed_seconds_under_two_seconds L1000–1008
+ test_duration_ms_non_negative method method test_duration_ms_non_negative L1010–1015
+ test_duration_ms_under_two_seconds method method test_duration_ms_under_two_seconds L1000–1008
← Older Oldest on dev
All commits
Newer → Latest on dev

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