gabriel / muse public
feat patch task/reflog-phase1 #8 / 8
AI Agent gabriel · 23 days ago · Jun 28, 2026 · Diff

feat: wire append_reflog into muse pull and muse shelf pop/apply (RL_01–RL_05)

sha256:9d8b17e500a50ae659063ab4e078d337163dd0dd428c5dd129fa6a94c477bac0 sha
+56 ~4 symbols
3 changed · 1084 in snapshot files
sha256:d4b93b0d0c634ee27e1f97fa5bf4a6dafbf74a086bbb666d692e104b8b6c7f60 snapshot
+56
symbols added
~4
symbols modified
3
files changed
1084
files in snapshot
0
dead code introduced
Semantic Changes 60 symbols
~ tests/test_cmd_reflog_coverage.py .py 53 symbols added
+ TestPullReflogBootstrap class class TestPullReflogBootstrap L203–234
+ test_calls_append_reflog_on_bootstrap method method test_calls_append_reflog_on_bootstrap L206–234
+ TestPullReflogFastForward class class TestPullReflogFastForward L144–200
+ test_calls_append_reflog_on_fast_forward method method test_calls_append_reflog_on_fast_forward L147–175
+ test_operation_string_includes_remote_and_branch method method test_operation_string_includes_remote_and_branch L177–200
+ TestPullReflogMerge class class TestPullReflogMerge L237–288
+ test_calls_append_reflog_on_three_way_merge method method test_calls_append_reflog_on_three_way_merge L240–288
+ TestPullReflogNonFatal class class TestPullReflogNonFatal L362–393
+ test_ff_pull_completes_despite_reflog_error method method test_ff_pull_completes_despite_reflog_error L365–393
+ TestPullReflogNotCalled class class TestPullReflogNotCalled L291–355
+ test_no_reflog_on_dry_run method method test_no_reflog_on_dry_run L294–316
+ test_no_reflog_on_no_merge method method test_no_reflog_on_no_merge L318–341
+ test_no_reflog_when_already_up_to_date method method test_no_reflog_when_already_up_to_date L343–355
+ TestReflogIntegration class class TestReflogIntegration L535–649
+ test_ff_pull_old_and_new_ids_in_log method method test_ff_pull_old_and_new_ids_in_log L589–617
+ test_ff_pull_writes_branch_log_entry method method test_ff_pull_writes_branch_log_entry L565–587
+ test_ff_pull_writes_head_log_entry method method test_ff_pull_writes_head_log_entry L538–563
+ test_shelf_apply_writes_head_log_entry method method test_shelf_apply_writes_head_log_entry L629–637
+ test_shelf_pop_log_references_entry_name method method test_shelf_pop_log_references_entry_name L639–649
+ test_shelf_pop_writes_head_log_entry method method test_shelf_pop_writes_head_log_entry L619–627
+ TestShelfApplyReflog class class TestShelfApplyReflog L461–493
+ test_calls_append_reflog_on_apply method method test_calls_append_reflog_on_apply L464–471
+ test_entry_survives_after_apply method method test_entry_survives_after_apply L483–493
+ test_operation_string_contains_name method method test_operation_string_contains_name L473–481
+ TestShelfPopReflog class class TestShelfPopReflog L414–454
+ test_calls_append_reflog_on_pop method method test_calls_append_reflog_on_pop L417–424
+ test_new_id_is_current_head method method test_new_id_is_current_head L445–454
+ test_operation_string_contains_name method method test_operation_string_contains_name L426–434
+ test_reflog_branch_is_current_branch method method test_reflog_branch_is_current_branch L436–443
+ TestShelfReflogNonFatal class class TestShelfReflogNonFatal L500–528
+ test_shelf_apply_completes_despite_reflog_error method method test_shelf_apply_completes_despite_reflog_error L517–528
+ test_shelf_pop_completes_despite_reflog_error method method test_shelf_pop_completes_despite_reflog_error L503–515
+ _env function function _env L113–114
+ _make_next_commit function function _make_next_commit L77–110
+ _make_repo function function _make_repo L35–74
+ _make_shelf_repo function function _make_shelf_repo L400–411
+ _read_branch_log function function _read_branch_log L133–137
+ _read_head_log function function _read_head_log L126–130
+ _remote_info function function _remote_info L117–123
+ cli variable variable cli L29–29
+ CliRunner import import CliRunner L26–26
+ MagicMock import import MagicMock L20–20
+ annotations import import annotations L15–15
+ blob_id import import blob_id L25–25
+ call import import call L20–20
+ datetime import import datetime L17–17
+ json import import json L18–18
+ logs_dir import import logs_dir L24–24
+ muse_dir import import muse_dir L24–24
+ patch import import patch L20–20
+ pathlib import import pathlib L19–19
+ pytest import import pytest L22–22
+ runner variable variable runner L28–28
~ muse/cli/commands/pull.py .py 1 symbol added, 1 symbol modified
+ append_reflog import import append_reflog L58–58
~ run
~ muse/cli/commands/shelf.py .py 2 symbols added, 3 symbols modified
+ append_reflog import import append_reflog L99–99
+ get_head_commit_id import import get_head_commit_id L100–100
Files Changed
+1 ~2
1084 in 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:9d8b17e500a50ae659063ab4e078d337163dd0dd428c5dd129fa6a94c477bac0 --body "your comment"