feat(symlog): Phase 2 — commit integration and symbol diff engine
- Wire _write_symlogs into muse commit after append_reflog; non-fatal - Add SymbolDiff dataclass and compute_symbol_diff with rename detection - extract_symbols: add file_path param (required by parse_symbols for correct keys) - _extract_body_hashes: body_hash-based rename matching (name-invariant) - compute_symbol_diff accepts optional rename key dicts for body-hash matching - 25 new tests (SL_13–SL_22): extract_symbols, compute_symbol_diff, created/ modified/deleted/renamed entries, initial commit, two-commit sequence, follow
sha256:930e8215a3d1d19f85e786bcb4d2bba8166bcac9a765b2adae1ae62d76063c7d
sha
+62
~2
symbols
sha256:b9aba323c99ccb5bb568011f5685b0cd8e7447d3fae44ab3e5d6cf07687a03a7
snapshot
+62
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
64 symbols
+
test_rename_with_content_change_is_not_a_rename
method
method test_rename_with_content_change_is_not_a_rename L191–197
+
test_returns_empty_for_unknown_object_id
method
method test_returns_empty_for_unknown_object_id L106–109
+
test_returns_symbol_name_to_content_id_map
method
method test_returns_symbol_name_to_content_id_map L80–92
+
test_all_new_symbols_get_created_entries
method
method test_all_new_symbols_get_created_entries L270–284
+
test_created_entry_has_correct_author
method
method test_created_entry_has_correct_author L262–268
+
test_deleted_symbol_gets_deleted_entry
method
method test_deleted_symbol_gets_deleted_entry L336–354
+
test_initial_commit_all_symbols_created
method
method test_initial_commit_all_symbols_created L396–411
+
test_modified_entry_contains_commit_message
method
method test_modified_entry_contains_commit_message L307–316
+
test_modified_entry_has_correct_commit_id
method
method test_modified_entry_has_correct_commit_id L318–327
+
test_modified_symbol_gets_modified_entry
method
method test_modified_symbol_gets_modified_entry L293–305
+
test_commit_succeeds_even_with_no_code_files
method
method test_commit_succeeds_even_with_no_code_files L231–235
~
run
Older
feat(symlog): Phase 1 — core storage layer (SL_01–SL_12)
sha256:6986d42446334d306eb3136231a58606d896a0dcc796d29ac2ded0f9d1149ac0
All commits
Newer
feat(symlog): Phase 3 — muse symlog read CLI (SL_23–SL_35)
sha256:86d2141c349d67088a1eab9a98819d1abdc94cec3fdd0df47a3f7d26ce7dc6cf
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:930e8215a3d1d19f85e786bcb4d2bba8166bcac9a765b2adae1ae62d76063c7d --body "your comment"
No comments yet. Be the first to start the discussion.