gabriel / muse public
fix task/museignore-tls #4 / 19
AI Agent gabriel · 48 days ago · Apr 25, 2026 · Diff

fix: import _ref_path in checkout.py so HEAD updates on branch switch

Without this import, checkout exited with NameError on _ref_path, leaving HEAD pointing at the old branch. Every subsequent commit then landed on the wrong branch.

Adds regression tests in TestCheckoutHeadUpdate that pin the invariant: a successful checkout must update HEAD and commits must advance the target branch.

sha256:73d6d97d76e5a233df68d435ada2b0cb1da7135254c1e01313ea266f240869b5 sha
sha256:59b6d9ee43701f50f6395120084d2b3df76c114639953e5f35360d885e8fa115 snapshot

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