DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to land conflicting agent changes with a deterministic resolver with Git AI

Use the bundled resolve.toml rules so conflicting agent lands get resolved and verified.

Short answer: Complete the build and quickstart from the first use case; then read examples/graft/demo/resolve.toml and list the rules it sets for the conflicts you expect; set verify.command and verify.enabled in your server configuration to match your project tests, following the configuration reference in doc/graft/CONFIGURATION.md. All steps.

Who it is forA team lead running several coding agents on one branch, where the agents often edit the same files and conflicts block their work.

The problemConflicting lands are returned to the agent that made them, which adds retries and manual cleanup across many changes.

The outcomeConflicts that match the configured deterministic rules are resolved and the changes land, with verification run on the exact tree that would land when you enable it.

What you need first

  • Linux or macOS
  • Go 1.26
  • A C toolchain
  • Meson and Ninja (the build compiles a bundled Git)
  • Git and a clone of https://github.com/feder-cr/git-ai.git

Steps

  1. Complete the build and quickstart from the first use case.
  2. Read examples/graft/demo/resolve.toml and list the rules it sets for the conflicts you expect.
  3. Set verify.command and verify.enabled in your server configuration to match your project tests, following the configuration reference in doc/graft/CONFIGURATION.md.
  4. Run examples/graft/demo/acceptance-phase4.sh to reproduce the benchmark with the deterministic resolver.
  5. Compare the number of landed changes with the conflict count reported by the script.

Prompt for your agent

In the repository git-ai, open examples/graft/demo/resolve.toml and summarize its deterministic rules. Then run `examples/graft/demo/acceptance-phase4.sh` and expected output is a count of landed changes; verify that it reports all 250 changes landed when the resolver is enabled.

Caveat. A model based resolution only lands when the verify.command you configure passes, so the verification commands must be set by you and tested on your project.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for feder-cr/git-ai and "Land conflicting agent changes with a deterministic resolver"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer