Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Ten years since the factors (fiction)(dreamstation.systems ↗)
    discuss
  2. The Apocalypse Will Not Be Sexy(techdirt.com ↗)
    discuss
  3. Qwen3.8-Flash-Next on a 64 GB M2 Ultra: A 66-Minute Real Work Run(b1tank.github.io ↗)
    discuss
  4. Building standards for the next phase of AI(openai.com ↗)
    discuss
  5. Seeing Who Contaminates Linux with Slop (and Also Admits It)(techrights.org ↗)
    discuss
  6. Skyportal CLI: What happens when an AI agent needs approval(pypi.org ↗)
    discuss
  7. Show HN: Sommelier, an Excel Addin for your agent(grokked.it ↗)
    discuss
  8. Seven Deadly Sins of DevX(amplitude.com ↗)
    discuss
  9. Gobag: Semantic session archival for Claude Code(github.com/satmihir ↗)
    discuss
  10. Bernstein's Factorization Method Helped Factor RSA-240 in 2020(leetarxiv.substack.com ↗)
    discuss
  11. Petal: Building the First Petabit-Class Transoceanic Subsea Cable(fb.com ↗)
    discuss
  12. OpenAI projections point to a $278B cash burn through 2030(tomshardware.com ↗)
    1comments
  13. LGBT tolerance slumps in the Netherlands, 22% of boys have LGBT+ positive views(dutchnews.nl ↗)
    discuss
  14. Aura – Open-Source Framework for Detecting Social Engineering in LLMs(github.com/kate8382 ↗)
    discuss
  15. What would happen if the Yellowstone supervolcano erupted now(theconversation.com ↗)
    discuss
  16. How do I talk about using AI without sounding like an AI evangelist?(askamanager.org ↗)
    discuss
  17. Writing Rust code faster than SotA by asking agents to make the code faster(minimaxir.com ↗)
    discuss
  18. How to address the failures we found along the US border's "virtual wall"(technologyreview.com ↗)
    discuss
  19. France to Upgrade Heat Wave Modeling After Record Nuclear Curbs(bloomberg.com ↗)
    1comments
  20. AI proves Medvedev logic is undecidable(arxiv.org ↗)
    discuss
  21. Amazon Blocks Meta's New Muse AI Agent from Shopping on Amazon.com(forbes.com/sites/jonmarkman ↗)
    discuss
  22. I don't care about majors, minors, or honors programs. Do you?(computationalcomplexity.org ↗)
    discuss
  23. Ask HN: How close are we to AI bubble bursting?
    1comments
  24. The Questionable Legality of ICE's Palantir Elite System(techpolicy.press ↗)
    discuss
  25. The Influence of AI on Human Decisions in DHS Surveillance(techpolicy.press ↗)
    discuss
  26. What Jev Means for the Future of Evals(armank.com ↗)
    discuss
  27. Hands-On with Googlebooks(tomshardware.com ↗)
    1comments
  28. North Korea Stopped Nuclear Testing in 2017, Triggered 1k Earthquakes Since(sciencealert.com ↗)
    discuss
  29. The Sun Doesn't Shine on Me (2006)(fullhoffman.com ↗)
    discuss
  30. BBC removes 11 Mitchell and Webb comedy sketches from iPlayer(bbc.co.uk ↗)
    discuss

Show HN: Foremerge – Catch Intent Conflicts Between Parallel Coding Agents

12 pointsby 1h agogithub.com
0 comments
At, GPTree, we run several coding agents across our team on one repo using parallel worktrees. Apart from wasted time reviewing and fixing conflicts at PR time, the failures that hurt the most are when multiple plans or tickets cause architecture changes that cannot both be true. Ex. one agent replaces a class while another one is in the process of extending it. Git only notices if the resulting patches happen to touch the same lines and the review only catches it if they are familiar with both tickets.

Foremerge is a local "git like" coordination layer that sits above git (ie. does not interact with or change the way git and worktrees function), Before editing each agent publishes an intent and the scopes it will change, with the operation it plans to complete on each one.

    foremerge intent publish --agent "$A" \
        --summary "Replace PaymentService with StripePaymentService" \
        --scope symbol:PaymentService=replace
    foremerge intent publish --agent "$B" \
        --summary "Add PayPal support to PaymentService" \
        --scope symbol:PaymentService=extend
The publish by the 2nd agent returns a HIGH destructive_vs_additive finding before writing any code. Agents keep their own worktrees and the shared state is one SQLite file in gits common direectory. No hooks, no merge drivers, nothing rewrites your history.

It ships as one Rust binary with a CLI and MCP server with 18 tools and `foremerge setup all` wires it into Claude Code, Codex and Cursor. Because the protocol has nothing provider specific, a Claude agent and a Codex agent coordinate through the same store. Before any work is accepted, Foremerge runs a named check that you configured against the exact git state of the change. An agent that says tests pass is recorded but it dosnt satisfy the acceptance gate without running the check itself.

Detection is deterministic, no judge model reading your code. HIGH conflicts are only asserted for declared operations, ie. matches inferred from prose cap out below high. Claims are advisory leases, not locks so two agents can still hold the same scope without deadlock. The open source version is single matching and so not a distributed consensus.

We have tested this up to 98 parallel agents all working on the same repo with zero conflicts (was supposed to be 100 but 2 agents failed to run due to resource limitations)

I replayed 76 intents on my own agents from a build last week in the order they happened. The sample had exactly 1 conflict (which was flagged) and the review found a blind spot where one agent claimed scope by class name and the other claimed it by an internal method. We are working on fixing that for the next release.

Setup is a 30s install by pasting the quickstart instructions from the readme.md into your agent or manually: `curl -fsSL https://foremerge.com/install.sh | sh` or `cargo install --locked foremerge`, then `foremerge init && foremerge setup all` in a repo. Apache-2.0.

The feedback I want most is which conflicts between your agents plans would you actually want flagged and which would you tollerate as noise?

Repo here: https://github.com/naw103/foremerge Website: https://foremerge.com

More information on the problems this solves: https://foremerge.com/blog/

A quiet thread, for now.Start the conversation on HN ↗