feat
BREAKING
task/phase1-cohen-action-labels
#1 / 1
feat: Phase 1 — Cohen action labels in ConflictRecord and merge JSON output
Every conflict record now carries ours_action and theirs_action fields (inserted/deleted/modified) so agents see what each side did, not just that they conflicted. Labels appear in ConflictRecord.to_dict() and in the muse merge --json conflict_records list.
- ConflictDict and ConflictRecord: add ours_action, theirs_action fields - CodePlugin.merge(): populate conflict_records with _file_action() labels - merge.py: include conflict_records in conflict-status JSON output - 14 new TDD tests in test_phase1_cohen_action_labels.py
sha256:7970cdc3d1206180172e2f74f29b8e6977572924b87c361c9a73240663430aa6
sha
+32
~20
symbols
sha256:402d26be34d5d65f46b440d52cc040131e22250c5ca37fc1697614b05e4f34fd
snapshot
+32
symbols added
~20
symbols modified
0
dead code introduced
Semantic Changes
52 symbols
+
test_both_inserted_different_content_labels
method
method test_both_inserted_different_content_labels L150–162
+
test_both_modified_produces_modified_labels
method
method test_both_modified_produces_modified_labels L107–120
+
test_manual_strategy_conflict_record_has_labels
method
method test_manual_strategy_conflict_record_has_labels L191–210
+
test_multiple_conflicts_each_gets_record
method
method test_multiple_conflicts_each_gets_record L176–189
+
test_ours_deleted_theirs_modified_labels
method
method test_ours_deleted_theirs_modified_labels L122–134
+
test_ours_modified_theirs_deleted_labels
method
method test_ours_modified_theirs_deleted_labels L136–148
+
test_conflict_record_defaults_empty_string
method
method test_conflict_record_defaults_empty_string L71–74
+
test_conflict_record_has_theirs_action
method
method test_conflict_record_has_theirs_action L67–69
← Older
Oldest on task/phase1-cohen-action-labels
All commits
Newer →
Latest on task/phase1-cohen-action-labels
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:7970cdc3d1206180172e2f74f29b8e6977572924b87c361c9a73240663430aa6 --body "your comment"
No comments yet. Be the first to start the discussion.