{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "feder-cr-git-ai--land-conflicting-agent-changes-automatically",
 "repo": "feder-cr/git-ai",
 "repo_url": "https://github.com/feder-cr/git-ai",
 "repo_slug": "feder-cr-git-ai",
 "title": "Land conflicting agent changes with a deterministic resolver",
 "page_title": "How to land conflicting agent changes with a deterministic resolver with Git AI",
 "summary": "Use the bundled resolve.toml rules so conflicting agent lands get resolved and verified.",
 "who": "A team lead running several coding agents on one branch, where the agents often edit the same files and conflicts block their work.",
 "problem": "Conflicting lands are returned to the agent that made them, which adds retries and manual cleanup across many changes.",
 "outcome": "Conflicts 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.",
 "steps": [
  "Complete the build and quickstart from the first use case.",
  "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.",
  "Run `examples/graft/demo/acceptance-phase4.sh` to reproduce the benchmark with the deterministic resolver.",
  "Compare the number of landed changes with the conflict count reported by the script."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/feder-cr-git-ai/land-conflicting-agent-changes-automatically/",
 "md": "https://dedupedai.com/use-cases/feder-cr-git-ai/land-conflicting-agent-changes-automatically/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/feder-cr-git-ai--land-conflicting-agent-changes-automatically.json",
 "api_version": "v1"
}
