Show HN: Foremerge – Catch intent conflicts between parallel coding agents
Thread
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
Show HN: Foremerge – Catch intent conflicts between parallel coding agents
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
foremerge · · focus · HN ↗
[dead]
foremerge · · focus · HN ↗
[dead]
foremerge · · focus · HN ↗
[dead]
rowkav09 · · focus · HN ↗
[dead]
mjyoke1111 · · focus · HN ↗
[dead]
th0t3p · · focus · HN ↗
[dead]
zane_shu · · focus · HN ↗
[dead]
SrslyJosh · · focus · HN ↗
naw103 · · focus · HN ↗
[dead]
ttoinou · · focus · HN ↗
It was already a problem for me before agentic AI coding : multiple developers can work on overlapping code and you always need someone to merge everything properly. Even if the overlap is very small it does add a burden to development. Not an issue anymore in 95% of cases if that person uses AI to solve conflicts, but now that "others developers" are swarm of AI agents, this problem isn't trivial to solve.
naw103 · · focus · HN ↗
ttoze · · focus · HN ↗
We find giving the agents independent remits makes them significantly better at challenging problematic requirements, because they aren’t all automatically aligned on the same goals.
The agents from each area then having queues and messaging subsystems to coordinate their work when there are multiple streams happening, although concurrency is less of an issue than we expected. Generally will detect and flag competing requirements, which has saved us from some subtle issues. We don’t always require code owners to review every PR in their area, but they do at least always have a log of what work was done and why, which is separate from the noise of the parent work.
This does all work out a bit slower than just letting each agent get on with its job, but it’s working pretty well for us.
t4tapasit · · focus · HN ↗
[dead]
ekusiadadus · · focus · HN ↗
[dead]
ttoinou · · focus · HN ↗
naw103 · · focus · HN ↗
ttoinou · · focus · HN ↗
naw103 · · focus · HN ↗
... and Jev is a sore point for me right now lol we have been training our own decision intelligence model, Corgen, for the last year and a half. We're already using it in GPTree but havn't released it to the public yet. Im actually in the process of running it against JevBench right now to see how it stacks up.
wilsprouse · · focus · HN ↗
naw103 · · focus · HN ↗
laika23 · · focus · HN ↗
[dead]
naw103 · · focus · HN ↗
What does an agent do with it? The agents publish intents and scopes of what they are about to change (at the start and right before they make the change if its something different). Foremerge returns a signal of related work already in progress on different worktrees (even across different branches or in the same worktree) and the agents/humans who are working on it. Agents can then negotiate on the solution prior to writing any code or generating any conflicts and Foremerge runs an acceptance check (defined by a human) prior to commit.
Why advisory claims instead of locks? Once a repo gets busy locks turn into a queue and deadlocks. A lock that the agent cant see the reason for is the worse case scenario so the hard gate is at the acceptance not the start.
What are the gaps? Ultimately Foremerge is deterministic (does not use any judge model) so it can detect some false positives and negatives though we see that very infrequently and worst case it would have likely of been missed anyway without Foremerge. Acceptance also dosnt currently compare the actual diff by default and there are no push notificiations so the earlier agent only learns about the conflict on its next status check (both of these are on the roadmap for the next version)
There are more questions and answers here: <a href="https://foremerge.com/blog/31-questions-coordinating-parallel-coding-agents/" rel="nofollow">https://foremerge.com/blog/31-questions-coordinating-paralle...
GNX-Sales · · focus · HN ↗
[dead]
adityamishra241 · · focus · HN ↗
naw103 · · focus · HN ↗
[dead]
DylanMerigaud · · focus · HN ↗
naw103 · · focus · HN ↗
yashdotrv · · focus · HN ↗
yashdotrv · · focus · HN ↗
[dead]
naw103 · · focus · HN ↗
vikash-hn · · focus · HN ↗
[dead]
gavmor · · focus · HN ↗
naw103 · · focus · HN ↗
How many sessions do you typically run at once and are they all children of the same parent?
gavmor · · focus · HN ↗
<a href="https://www.pasteboard.co/XirzoTywU6lz.png" rel="nofollow">https://www.pasteboard.co/XirzoTywU6lz.png
naw103 · · focus · HN ↗
what-are-you-do · · focus · HN ↗
[dead]
manon_fa · · focus · HN ↗
[dead]
sofiarossi98 · · focus · HN ↗
[dead]
ekusiadadus · · focus · HN ↗
[dead]
dev_chad · · focus · HN ↗
[dead]
vijayharre10 · · focus · HN ↗
[dead]