feat(branch): add committed_at to list JSON + fix sha256: start-point resolution
- Add committed_at (ISO 8601) to each branch list entry — agents need this to know when a branch was last active without a separate muse show - Fix commit_id: empty string coerced to null in list JSON ("" → null) - Fix _resolve_start_point: catch ValueError from validate_branch_name when start_point contains ':' (sha256:-prefixed IDs are valid branch start points) - Fix _resolve_start_point: strip sha256: prefix before prefix-scan fallback so 'muse branch feat/x sha256:abc123' correctly resolves the partial SHA - Update docstring schema to document committed_at and null-able commit_id - Add tests/test_branch_json_schema.py (14 tests): list schema, mutation actions, error paths
sha256:fe389285541f508b9f142e9ee3cbf3574a0a204c0902a017a65655cf360b6fda
sha
+29
~2
symbols
sha256:a7d597fc0876ef1a58dcc63da9ce8e273e4e8169b22221a03689281a179acfba
snapshot
+29
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes
31 symbols
+
test_III1_delete_nonexistent_json_error
method
method test_III1_delete_nonexistent_json_error L184–188
+
test_III2_delete_current_branch_json_error
method
method test_III2_delete_current_branch_json_error L190–194
+
test_III3_create_duplicate_json_error
method
method test_III3_create_duplicate_json_error L196–200
+
test_I3_committed_at_null_for_empty_branch
method
method test_I3_committed_at_null_for_empty_branch L88–99
+
test_I5_commit_id_null_not_empty_string
method
method test_I5_commit_id_null_not_empty_string L109–123
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:fe389285541f508b9f142e9ee3cbf3574a0a204c0902a017a65655cf360b6fda --body "your comment"
No comments yet. Be the first to start the discussion.