frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Weave – A language aware merge algorithm based on entities

https://github.com/Ataraxy-Labs/weave
21•rs545837•1h ago

Comments

sea-gold•1h ago
Website: https://ataraxy-labs.github.io/weave/

I haven't tried it but this sounds like it would be really valuable to me.

rs545837•27m ago
Haha, thanks for the feedback, yeah multi agent workflows were especially kept in mind when designing this! So I hope it helps, I am always here for feedback and feature requests.
esafak•1h ago
Are agents any good with it?
rs545837•29m ago
Yes I designed it for agents especially, there's also weave mcp that I built that you can checkout.

The good part is that this research extends really good for code review because tracking entities is more semantically rich than lines.

kelseydh•44m ago
Very cool, would love to see Ruby support added.
rs545837•28m ago
Thanks for the request, our team is already working on it, and infact we were going to ship ruby tonight!

Cheers,

rs545837•30m ago
Some context on the validation so far: Elijah Newren, who wrote git's merge-ort (the default merge strategy), reviewed weave and said language-aware content merging is the right approach, that he's been asked about it enough times to be certain there's demand, and that our fallback-to-line-level strategy for unsupported languages is "a very reasonable way to tackle the problem." Taylor Blau from the Git team said he's "really impressed" and connected us with Elijah. The creator of libgit2 starred the repo. Martin von Zweigbergk (creator of jj) has also been excited about the direction. We are also working with GitButler team to integrate it as a research feature.

The 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.

keysersoze33•24m ago
Interesting that Weave tries to solve Mergiref's shortcomings (also Tree-sitter based):

> 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

[1] https://ataraxy-labs.github.io/weave/

rs545837•17m ago
Hey, author here. This comparison came up a lot when weave went viral on X (https://x.com/rs545837/status/2021020365376671820).

The key difference: mergiraf matches individual AST nodes (GumTree + PCS triples). Weave matches entities (functions, classes, methods) as whole units. Simpler, faster, and conflicts are readable ("conflict in validate_token" instead of a tree of node triples).

The other big gap: weave ships as an MCP server with 14 tools for agent coordination. Agents can claim entities before editing and detect conflicts before they merge. That's the piece mergiraf doesn't have.

On bash: weave falls back to line-level for unsupported languages, so it'll work as well as git does there.

Adding a bash tree-sitter grammar would unlock entity-level merge for it. But I can work on it tonight, if you want it urgently.

Cheers,

Outlit Customer Context Layer

https://docs.outlit.ai
1•handfuloflight•26s ago•0 comments

Lock Scroll with a Vengeance

https://unsung.aresluna.org/lock-scroll-with-a-vengeance/
1•etothet•2m ago•0 comments

Nobody Gets Promoted for Simplicity

https://terriblesoftware.org/2026/03/03/nobody-gets-promoted-for-simplicity/
1•SerCe•4m ago•0 comments

Giving LLMs a personality is just good engineering

https://www.seangoedecke.com/giving-llms-a-personality/
1•dboon•7m ago•0 comments

Israel use iPhone backdoor against Journalists

https://twitter.com/BackupJeffx/status/2028917525170319811
1•smashah•7m ago•0 comments

California's Digital Age Assurance Act, and FOSS

https://runxiyu.org/comp/ab1043/
1•todsacerdoti•8m ago•0 comments

Show HN: Display folder sizes in Win11 Explorer's Size column

https://github.com/sm18lr88/win-folder-size
1•hereme888•9m ago•0 comments

Couldn't find a minimal session indicator for tmux, so I built one

https://github.com/jtmcginty/tmux-session-dots
1•jtmcginty•18m ago•1 comments

AP brass to staff: Resistance to AI is 'futile'

https://www.semafor.com/article/03/03/2026/ap-brass-to-staff-resistance-to-ai-is-futile
3•healsdata•18m ago•0 comments

Speculative Speculative Decoding (SSD)

https://arxiv.org/abs/2603.03251
2•E-Reverance•20m ago•0 comments

Just Send the Prompt

https://justsendtheprompt.com/
29•medalblue•30m ago•18 comments

Show HN: My AI hires humans for physical tasks, calls them biological units

https://crawde.com/hire
2•crawde•31m ago•1 comments

Extending the Demo: Destruction Derby

https://32bits.substack.com/p/extending-the-demo-destruction-derby
1•farmerbb•32m ago•0 comments

News Corp, Meta in AI Content Licensing Deal Worth Up to $50M a Year

https://www.wsj.com/business/media/news-corp-meta-in-ai-content-licensing-deal-worth-up-to-50-mil...
1•bookofjoe•33m ago•2 comments

Show HN: A visual sitemap generator that maps any website's full navigation tree

2•epic_ai•33m ago•1 comments

CIA working to arm Kurdish forces to spark uprising in Iran, sources say

https://www.cnn.com/2026/03/03/politics/cia-arming-kurds-iran
12•vinnyglennon•38m ago•2 comments

MoneyCollect provides warm and human-centered payment protection for merchants

https://www.moneycollect.com/
1•jerryoverwrite•39m ago•0 comments

Current state of OpenClaw and bot protections

https://proxybase.xyz/blog/openclaw-bot-protections
1•m00dy•39m ago•0 comments

LLMs can unmask pseudonymous users at scale with surprising accuracy

https://arstechnica.com/security/2026/03/llms-can-unmask-pseudonymous-users-at-scale-with-surpris...
9•Gagarin1917•44m ago•0 comments

LexisNexis confirms React2Shell powered data breach

https://www.bleepingcomputer.com/news/security/lexisnexis-confirms-data-breach-as-hackers-leak-st...
4•esaym•45m ago•0 comments

New Python library by Guido van Rossum

https://github.com/microsoft/typeagent-py
1•tzury•46m ago•1 comments

YGG, Largest French Torrent Tracker, Hacked

https://yggleak.top/fr/home/ygg-dossier
1•TechSquidTV•47m ago•0 comments

Stop Trying to Hand Trump a Censorship Weapon

https://www.techdirt.com/2026/03/03/ron-wyden-is-begging-his-colleagues-to-stop-trying-to-hand-tr...
5•HotGarbage•47m ago•0 comments

We are now on Substack Give us a follow

https://substack.com/profile/387803331-pcg-inc/note/c-222710211
1•CCK80LLC•1h ago•0 comments

An AI Just Did Everything I Do on a Computer – Written by the AI Itself

https://coasty.ai/
1•PrateekJ17•1h ago•1 comments

Mac external displays for designers and developers, part 2

https://bjango.com/articles/macexternaldisplays2/
13•fragmede•1h ago•5 comments

New Launch Workshops and Masterclasses

https://www.pretium-inc.com/workshops
1•CCK80LLC•1h ago•0 comments

Oscar Six Radar – vulnerability scanner with native A2A (agent-to-agent) support

1•oscarsixsecllc•1h ago•0 comments

Show HN: Lip Flip Before and After – Real Results and AI Preview

https://lipflip.ai/
1•ovelv•1h ago•0 comments

Yes... and...

https://htmx.org/essays/yes-and/
2•rammy1234•1h ago•1 comments