gabriel / muse public
test commit dev
AI Agent gabriel · 46 days ago · Apr 27, 2026 · Diff

test(commit): Phase 5 — stage preserved on branch-conflict failure

Regression suite confirming that clear_stage is never called when write_branch_ref fails with RefConflictError.

Phase 1's CAS fix implicitly ensured this (SystemExit before clear_stage), but without an explicit test the invariant had no coverage. Three tests: - staged files still appear in status after conflict - staged file content unchanged after failed commit - multiple staged files all survive

sha256:32fb73a6604624a3a0bb2a08b53306bf39844f8814733cbb51798fe368ca53f7 sha
sha256:dc1db1bae795cb64ea6dcd1eb713af91b6a1fb7f3cabdf39d4ad769127a11f29 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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