gabriel / muse public
feat patch branch task/branch-json-schema #1 / 1
gabriel · 60 days ago · Apr 16, 2026 · Diff

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
sha256:a7d597fc0876ef1a58dcc63da9ce8e273e4e8169b22221a03689281a179acfba snapshot
← Older Oldest on task/branch-json-schema
All commits
Newer → Latest on task/branch-json-schema

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:fe389285541f508b9f142e9ee3cbf3574a0a204c0902a017a65655cf360b6fda --body "your comment"