name: merge
description: "Resolve .mighty/loro/*.loro merge conflicts safely using mt merge, then verify store health and sync."
Mighty: Resolve Loro Merge Conflicts
Use this when git reports conflicts in .mighty/loro/*.loro files.
Workflow
Confirm what’s conflicted:
git statusgit diff --name-only --diff-filter=U
Use Mighty’s merge helper (preferred):
mt merge(merges all unresolved.mighty/loro/*.loroconflicts)- Or
mt merge .mighty/loro/edges/<file>.loro ...(merge specific files)
Re-check health:
mt doctor
Commit and sync:
mt commit(commits.mighty/changes)git push
Notes
- Avoid resolving
.loroconflicts by hand; they are binary CRDT snapshots. Usemt merge. - If
mt mergecan’t resolve a conflict, keep the work unblocked: capture details in an issue comment and mark the blocking item appropriately.