feat(symlog): @{N} ref resolution — Phase 5 (SL_46–SL_55)
- Add SymlogResolution frozen dataclass + _SYMLOG_REF_RE to muse/core/symlog.py - Add resolve_symlog_addr() — resolves addr@{N} specs; raises IndexError(idx,total) on OOB - Add resolve_symbol_body() — reconstructs symbol body from commit object store - Add muse symlog resolve addr@{N} [--follow] [--json] subcommand - Add muse symlog diff addr@{N} addr@{M}|HEAD [--json] subcommand - Add @{N} support to muse code cat — same JSON shape as normal code cat - 35 new integration tests (test_cmd_symlog_refs.py) all passing
sha256:f0818e35b4547bd44c4b14b7eee8f485fb24cc1daca9cab785b3b93439b3b95d
sha
+98
~11
symbols
sha256:a5551e29c9a41e015fa32f94f92d7531190de13ec951bc6ad3814668d9a7d76a
snapshot
+98
symbols added
~11
symbols modified
0
dead code introduced
Semantic Changes
109 symbols
+
test_raises_file_not_found_for_missing_log
method
method test_raises_file_not_found_for_missing_log L218–223
+
test_raises_index_error_for_out_of_range
method
method test_raises_index_error_for_out_of_range L225–240
+
test_raises_value_error_for_addr_without_separator
method
method test_raises_value_error_for_addr_without_separator L166–172
+
test_returns_resolution_for_valid_spec
method
method test_returns_resolution_for_valid_spec L174–196
+
test_out_of_range_error_mentions_range
method
method test_out_of_range_error_mentions_range L323–337
+
test_json_shape_identical_to_normal_code_cat
method
method test_json_shape_identical_to_normal_code_cat L369–385
+
test_code_cat_out_of_range_user_error
method
method test_code_cat_out_of_range_user_error L629–638
+
test_resolve_error_message_contains_valid_range
method
method test_resolve_error_message_contains_valid_range L615–627
+
test_no_follow_does_not_cross_boundary
method
method test_no_follow_does_not_cross_boundary L705–717
+
test_code_cat_at0_returns_commit_c_body
method
method test_code_cat_at0_returns_commit_c_body L793–802
+
test_code_cat_at2_returns_commit_a_body
method
method test_code_cat_at2_returns_commit_a_body L779–791
+
test_bar_at0_returns_rename_commit_content
method
method test_bar_at0_returns_rename_commit_content L853–869
+
test_bar_at2_follow_returns_commit_a_content
method
method test_bar_at2_follow_returns_commit_a_content L884–901
+
test_bar_follow_chain_index_1_is_renamed_to
method
method test_bar_follow_chain_index_1_is_renamed_to L903–920
~
run
Older
docs(symlog): mark Phase 4 deliverables SL_36–SL_45 complete in …
sha256:7de9bec1810a4865e3214ccc2ce85d5b3eefc45a284bec6f3f6dc30e147a5a4a
All commits
Newer
docs: mark SL_46–SL_55 complete in symlog issue
sha256:76e64e032e3a5b4bd92c30a1b61d39a08cdf3aac3f7337809ff576ad1903027d
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:f0818e35b4547bd44c4b14b7eee8f485fb24cc1daca9cab785b3b93439b3b95d --body "your comment"
No comments yet. Be the first to start the discussion.