Weave – A language aware merge algorithm based on entities
1–10 of 123 posts
Re: Weave – A language aware merge algorithm based on entities
#2Re: Weave – A language aware merge algorithm based on entities
#3I haven't tried it but this sounds like it would be really valuable to me.
Re: Weave – A language aware merge algorithm based on entities
#4Re: Weave – A language aware merge algorithm based on entities
#5Re: Weave – A language aware merge algorithm based on entities
#6The part that's been keeping me up at night: this becomes critical infrastructure for multi-agent coding. When multiple agents write code in parallel (Cursor, Claude Code, Codex all ship this now), they create worktrees for isolation. But when those branches merge back, git's line-level merge breaks on cases where two agents added different functions to the same file. weave resolves these cleanly because it knows they're separate entities. 31/31 vs git's 15/31 on our benchmark.
Weave also ships as an MCP server with 14 tools, so agents can claim entities before editing, check who's touching what, and detect conflicts before they happen.
Re: Weave – A language aware merge algorithm based on entities
#7Are agents any good with it?
The good part is that this research extends really good for code review because tracking entities is more semantically rich than lines.
Re: Weave – A language aware merge algorithm based on entities
#8Very cool, would love to see Ruby support added.
Cheers,
Re: Weave – A language aware merge algorithm based on entities
#9Website: https://ataraxy-labs.github.io/weave/ I haven't tried it but this sounds like it would be really valuable to me.
Re: Weave – A language aware merge algorithm based on entities
#10> git merges lines. mergiraf merges tree nodes. weave merges entities. [1]
I've been using mergiraf for ~6 months and tried to use it to resolve a conflict from multiple Claude instances editing a large bash script. Sadly neither support bash out of the box, which makes me suspect that classic merge is better in this/some cases...
Will try adding the bash grammar to mergiraf or weave next time