gabriel / muse public
test patch mwp7/phase1 task/mwp-7-sibling-negotiation #5 / 5
AI Agent gabriel · 66 days ago · Jun 29, 2026 · Diff

test(mwp7/phase1): ground-truth #55 sibling negotiation (GT_01..GT_05); verdict=CORRECT (Mode A)

- tests/test_mwp7_sibling_negotiation.py: 9 tests, pytestmark=wire GT_01: _chain() + _merge_commit() helpers (reuse test_push_branch_have.py patterns) GT_02: walk_commits(root,[M],have=[D])['commits']==1 — BFS stops at sibling tip D GT_03: all_blob_ids contains only M's net-new blob; D's manifest blobs excluded GT_04: run()-level spy — branch_have includes D; commits_sent==1 in #55 shape GT_05: diverged M_old case — branch_have=[D,M_old]; commits_sent==1 - pyproject.toml: register 'wire' marker (was unregistered, causing PytestWarning)

Verdict (GT_06): live path is CORRECT per RC-7 — push.py:819-822 already uses all remote_branch_heads.values() as branch_have. Phase 2 Mode A applies. MWP6_00 anti-skip gate: still green.

sha256:7757fcc4b7e3285170242aae84cc0071f10414e6244b1c1f0a6a238ee03db206 sha
+44 ~4 symbols
sha256:2c1deba31d3d8af36597e77aa06b5490f549f34732426652568529afa7c473fc snapshot
+44
symbols added
~4
symbols modified
0
dead code introduced
Semantic Changes 48 symbols
+ TestGT02CommitBoundary class class TestGT02CommitBoundary L161–204
+ test_GT02_empty_have_sends_full_chain method method test_GT02_empty_have_sends_full_chain L193–204
+ test_GT02_walk_stops_at_sibling_tip method method test_GT02_walk_stops_at_sibling_tip L164–191
+ TestGT03BlobDedup class class TestGT03BlobDedup L211–287
+ test_GT03_have_blobs_covers_entire_chain method method test_GT03_have_blobs_covers_entire_chain L251–275
+ test_GT03_only_merge_blob_in_all_blob_ids method method test_GT03_only_merge_blob_in_all_blob_ids L214–249
+ test_GT03_only_one_new_blob_in_merge_case method method test_GT03_only_one_new_blob_in_merge_case L277–287
+ TestGT04LivePathTruth class class TestGT04LivePathTruth L341–451
+ test_GT04_branch_have_excludes_local_head method method test_GT04_branch_have_excludes_local_head L409–451
+ test_GT04_run_uses_sibling_dev_as_commit_boundary method method test_GT04_run_uses_sibling_dev_as_commit_boundary L344–407
+ TestGT05DivergedEdge class class TestGT05DivergedEdge L458–583
+ test_GT05_diverged_remote_main_sends_only_merge_commit method method test_GT05_diverged_remote_main_sends_only_merge_commit L470–540
+ test_GT05_main_absent_on_remote_also_sends_one method method test_GT05_main_absent_on_remote_also_sends_one L542–583
+ _TS variable variable _TS L56–56
+ _chain function function _chain L81–113
+ _make_push_ns function function _make_push_ns L294–312
+ _merge_commit function function _merge_commit L116–154
+ _obj function function _obj L67–71
+ _snap function function _snap L74–78
+ _spy_push_mpack function function _spy_push_mpack L315–338
+ Any import import Any L40–40
+ CommitRecord import import CommitRecord L45–45
+ MagicMock import import MagicMock L41–41
+ Manifest import import Manifest L52–52
+ SnapshotRecord import import SnapshotRecord L51–51
+ annotations import import annotations L35–35
+ argparse import import argparse L37–37
+ blob_id import import blob_id L52–52
+ collect_blob_ids import import collect_blob_ids L46–46
+ compute_commit_id import import compute_commit_id L50–50
+ compute_snapshot_id import import compute_snapshot_id L50–50
+ datetime import import datetime L38–38
+ init_repo import import init_repo L48–48
+ patch import import patch L41–41
+ pathlib import import pathlib L39–39
+ pytest import import pytest L43–43
+ read_commit import import read_commit L45–45
+ read_snapshot import import read_snapshot L51–51
+ walk_commits import import walk_commits L46–46
+ write_branch_ref import import write_branch_ref L49–49
+ write_commit import import write_commit L45–45
+ write_object import import write_object L47–47
+ write_snapshot import import write_snapshot L51–51
+ pytestmark variable variable pytestmark L54–54
~ pyproject.toml .toml 4 symbols modified

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