feat: supercharge muse blame + remove --porcelain everywhere
- Rewrote core_blame.py: removed --porcelain, added --json/-j (single JSON object with file/ref/line_count/lines), --range START-END (1-based inclusive filter), --author PATTERN (case-insensitive substring), branch name resolution for --ref, errors routed to stderr, indent=2 output.
- Removed --porcelain from status.py and _render_staged_status(); --json is now the sole machine-readable flag across all commands.
- TDD: 63 new tests in test_cmd_blame.py covering schema, attribution, flags, range, author, security, stress, performance, and data integrity.
- Updated test_cmd_status.py, test_code_stage.py, test_cli_workflow.py, test_cli_new_commands.py to replace --porcelain with --json equivalents.
sha256:2fa778aba8ab0ec15295b8624c6480a573482ffc9c206a6d9546f1c41d2c2b7b
sha
+107
~11
−11
symbols
704 changed · 704 in snapshot
files
sha256:62164e95fc2f50b5646ffdfa8833ea161ca185bfbd78d4236de1487c7212f0bd
snapshot
+107
symbols added
~11
symbols modified
−11
symbols removed
704
files changed
704
files in snapshot
0
dead code introduced
Semantic Changes
129 symbols
+
test_author_filter_no_match_returns_empty
method
method test_author_filter_no_match_returns_empty L431–436
+
test_author_line_count_reflects_filter
method
method test_author_line_count_reflects_filter L463–469
+
test_line_count_equals_lines_length_always
method
method test_line_count_equals_lines_length_always L674–680
+
test_range_linenos_match_original_positions
method
method test_range_linenos_match_original_positions L664–672
+
test_message_is_first_line_of_commit_message
method
method test_message_is_first_line_of_commit_message L242–246
+
test_new_line_attributed_to_newer_commit
method
method test_new_line_attributed_to_newer_commit L234–240
+
test_older_lines_attributed_to_older_commit
method
method test_older_lines_attributed_to_older_commit L224–232
+
test_single_commit_all_lines_attributed
method
method test_single_commit_all_lines_attributed L216–222
+
test_range_line_count_reflects_filtered
method
method test_range_line_count_reflects_filtered L405–410
Files Changed
+704
704 in snapshot
+704
704 in snapshot
+
LICENSE
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:2fa778aba8ab0ec15295b8624c6480a573482ffc9c206a6d9546f1c41d2c2b7b --body "your comment"
No comments yet. Be the first to start the discussion.