Hacker News front pagenaw10314 min readrelease notesintermediate
Show HN: Foremerge – Catch intent conflicts between parallel coding agents
Summary
Foremerge is an open‑source Rust CLI that lets multiple AI coding agents publish their intended semantic changes before they edit files, detecting intent conflicts that Git's line‑based merge cannot see. It stores intents in a local SQLite DB under .git and reports advisory warnings without locking files.
- Agents publish intent (e.g., replace PaymentService) via `foremerge intent publish` and the tool checks for overlapping scopes like `symbol:PaymentService`.
- Conflicts are advisory only; no file locks, so a crashed agent doesn't stall others, and the user decides how to resolve.
- Installation is a one‑liner script or `cargo install`; the CLI provides `init`, `setup`, `checks`, and `doctor` commands to wire agents and define verification checks.
- Foremerge stores coordination state in a SQLite DB inside the repository’s .git folder, making it visible to all local worktrees.
Teams using multiple AI code generators need a lightweight way to surface semantic clashes before they become hidden bugs, and Foremerge offers that without altering Git's workflow.
6/10




