gabriel / muse public
test mwp7/phase2-mode-a task/mwp-7-sibling-negotiation #4 / 5
AI Agent gabriel · 21 days ago · Jun 29, 2026 · Diff

test(mwp7/phase2-mode-a): regression anchors LF_01+LF_02; adjacent corpus green (LF_03)

LF_01 — TestLF01RegressionAssertion (2 tests): test_LF_push_main_after_dev_sends_only_merge_commit: named permanent guard for muse#55; cites 1375→1 reduction; asserts commits_sent==1 with branch_have including sibling dev tip. test_LF_large_chain_sends_only_new_commits: 17-commit chain (mirrors #55 incident); asserts commits_sent==1, objects_sent==1.

LF_02 — TestLF02ObjectsSent (2 parametrized cases): pure_merge_zero_new_blobs: M re-uses D's snapshot → objects_sent==0 merge_with_one_new_blob: M adds one file → objects_sent==1 Guards against both over-sending AND over-excluding.

Helpers added: _merge_commit_pure(), _run_push_spy() (DRY wrapper). Spy updated to also capture objects_sent from walk['all_blob_ids'].

LF_03 adjacent corpus — zero regressions: test_push_branch_have.py 5 passed test_push_have_filter.py 27 passed test_push_step1_dag_walk.py 10 passed test_cmd_push_hardening.py 43 passed

sha256:c771300001658a1fc62cbe0ce39583c3b8ede325c4f2cef4181059049a4c7374 sha
+7 ~1 symbols
sha256:df54d24a0213295ed4ad5c8448b260524a9dceca5f60f814dee6e587ffe86add snapshot
+7
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 8 symbols
~ tests/test_mwp7_sibling_negotiation.py .py 7 symbols added, 1 symbol modified
+ TestLF01RegressionAssertion class class TestLF01RegressionAssertion L663–735
+ test_LF_large_chain_sends_only_new_commits method method test_LF_large_chain_sends_only_new_commits L710–735
+ test_LF_push_main_after_dev_sends_only_merge_commit method method test_LF_push_main_after_dev_sends_only_merge_commit L675–708
+ TestLF02ObjectsSent class class TestLF02ObjectsSent L742–804
+ test_LF_no_net_new_blobs_when_sibling_has_all_objects method method test_LF_no_net_new_blobs_when_sibling_has_all_objects L756–804
+ _merge_commit_pure function function _merge_commit_pure L591–624
+ _run_push_spy function function _run_push_spy L627–656

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