refactor: rename created_on_branch → branch throughout
CommitRecord, CommitDict, all CLI commands, and all tests now use the canonical field name 'branch'. The from_dict() backward-compat shim (reading 'created_on_branch' from old stored msgpack files) is the only survivor, intentionally. test_commit_record_schema_v2.py deleted — replaced by test_commit_record_schema.py which documents the current contract without leaking schema version history.
sha256:1fdaa4ca03171decbde5067933aac92680433c66e92a0a68cc536b3f284057e7
sha
+36
~442
−28
symbols
sha256:3fcdc0e50ef544c329fc32cf8ae3f4800d1b6f3c90934d7cd33f8c0375c3851b
snapshot
+36
symbols added
~442
symbols modified
−28
symbols removed
0
dead code introduced
Semantic Changes
506 symbols
+
test_commit_dict_has_no_format_version_key
method
method test_commit_dict_has_no_format_version_key L169–173 ← moved from tests/test_commit_record_schema_v2.py
+
test_falls_back_to_created_on_branch_for_old_records
method
method test_falls_back_to_created_on_branch_for_old_records L128–136
+
test_from_msgpack_ignores_format_version_key
method
method test_from_msgpack_ignores_format_version_key L144–150
+
test_to_dict_has_no_created_on_branch_key
method
method test_to_dict_has_no_created_on_branch_key L104–108
+
test_to_dict_has_no_format_version_key
method
method test_to_dict_has_no_format_version_key L110–114
−
test_commit_dict_has_created_on_branch_key
method
method test_commit_dict_has_created_on_branch_key L163–171
−
test_commit_dict_has_no_format_version_key
method
method test_commit_dict_has_no_format_version_key L173–177 → moved to tests/test_commit_record_schema.py
−
test_falls_back_to_branch_key_for_old_records
method
method test_falls_back_to_branch_key_for_old_records L131–140
−
test_from_msgpack_ignores_format_version_key
method
method test_from_msgpack_ignores_format_version_key L148–154
−
test_to_dict_has_no_format_version_key
method
method test_to_dict_has_no_format_version_key L113–117
~
run
~
run
~
run
~
run
~
run
~
run
~
run
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
repo
~
_commit
+
test_from_dict_reads_legacy_created_on_branch
method
method test_from_dict_reads_legacy_created_on_branch L839–845
+
test_to_dict_does_not_emit_created_on_branch
method
method test_to_dict_does_not_emit_created_on_branch L823–827
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_write
~
_write
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
~
_commit
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:1fdaa4ca03171decbde5067933aac92680433c66e92a0a68cc536b3f284057e7 --body "your comment"
No comments yet. Be the first to start the discussion.