gabriel / muse public
feat patch task/supercharge-checkout #1 / 1
AI Agent gabriel · 58 days ago · Apr 17, 2026 · Diff

feat: supercharge muse checkout for agent use

- Fix resolve_commit_ref to strip sha256: prefix before filesystem glob so partial SHAs like '6c688abc' resolve correctly - Fix text output to show bare hex (e.g. 'HEAD is now at 6c688abc') instead of 'sha256:6c' which was the previous broken slice - Add elapsed_seconds and exit_code to all 12 JSON output paths: created, switched, already_on, detached, restored, dry-run variants, conflict_resolved, conflict_resolved_all - Update module and run() docstrings with complete JSON contract - Fix test slices: sha[:12] -> sha.removeprefix('sha256:')[:12] - Add 35 new tests: TestElapsed (11), TestExitCode (10), TestJsonSchemaComplete (4), plus detach partial-SHA regression coverage

sha256:e2fd1fb18451626dc59cc3f6044dc49417a984e1c59b31b3e1508fb4d6966f6c sha
sha256:be0f6ab44c94b8536560511e4e053a22e3941150c4fe08d20c37ced06f660533 snapshot
← Older Oldest on task/supercharge-checkout
All commits
Newer → Latest on task/supercharge-checkout

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:e2fd1fb18451626dc59cc3f6044dc49417a984e1c59b31b3e1508fb4d6966f6c --body "your comment"