Replay-Based Merge for Delta-Based Consistency Management in Multi-Model Development
Razieh Dehghani, Arne Lange, Martin Armbruster, Linh Nguyen Phuong, Thomas Alexander Voelk, Benedikt Jutz, Miriam Boss, Albert Albers, Tobias Düser, Ralf Reussner, Anne Koziolek
Abstract
When multiple models are kept consistent by automated Change Propagation Rules (CPRs), merging independently evolved branches remains challenging. Existing operation-based versioning approaches record edit histories but do not account for CPRs that generate consequential changes across model boundaries. As a result, they report conflicts on model elements that would be regenerated during a consistency aware merge. We present a replay-based three-way merge approach for multi-model consistency management systems that distinguish original from consequential changes. The approach records original changes per commit and replays them through the consistency preservation engine according to a dependency graph that preserves both branches' original intent while regenerating consequential changes. Conflicts are classified by provenance: direct conflicts between original changes require user resolution, whereas consequential overlaps become ordering constraints resolved automatically; cycles in the dependency graph indicate consequential conflicts. We instantiate the approach in the Vitruvius framework for view-based software development. We formalize the merge operator over change histories and show that every successful merge preserves global consistency. We evaluate the approach on three case studies comprising 14 merge scenarios and compare it with EMF Compare. Our approach reports 10 blocking conflicts, whereas EMF Compare reports 37, because it cannot distinguish original from consequential changes and therefore flags conflicts that our approach resolves automatically.
Create a lesson
Metadata
- Comments
- 42 pages, 5 figures; Submitted to SoSyM (2026); Replication package: https://anonymous.4open.science/r/replay-merge-multi-model-AA88/
Related papers
Validating Multi-Model AI-Generated Acceptance Criteria in Requirements Engineering
Shared title terminologycs.SEMateen Ahmed Abbasi, Petri Ihantola, Tommi Mikkonen et al.
Do Causal-Inspired Optimizers Improve Optimization Quality and Consistency? A Negative Result in Software Optimization
Shared title terminologycs.SEAmirali Rayegan, Lunxiao Li, Tim Menzies
Privacy Signals in Developer Narration
Shared title terminologycs.SESarah Santos, Thomas Norton, Aniket Kesari et al.
Does Training-Free Delegation Improve Cost Efficiency in Multi-Agent Software Engineering Systems? An Empirical Study
Shared title terminologycs.SEMootez Saad, Mohammad Masudur Rahman, Tushar Sharma
Managing Specification. Not code: A feasibility study of Graph -> Contract -> Code Deployment and Maintenance
Shared title terminologycs.SEHenry Yeung
Comparing Identifier Naming Practices Between Chinese and American Developers
Shared title terminologycs.SEHsin-Chun Yin, Dror G. Feitelson