Two Claude Code agents on one ticket hit Git conflicts 23 times in 30 runs
12/04/2026 — 12/04, 20:18·1 sources (all)·1 reports (all)
Key takeaways
- A self-built experiment gave the same ticket to two Claude Code sessions in separate worktrees, repeated 30 times. Both sides reached the sa…
Background & analysis
On 4 December 2026, DEV Community published an account of a self-run experiment that handed the same ticket to two Claude Code sessions at once, each working in its own separate worktree. The test was repeated 30 times. According to the write-up, the two sides reached the same conclusion every time, yet 23 of the 30 runs produced a Git conflict. The author frames this as a follow-up to an earlier test in which two agents shared a single folder and edits went missing; the advice that came out of that round was one worktree per agent. The new test follows that advice and instead examines what worktrees do not cover: two people handing the same ticket to their own agents, with neither agent aware that the other exists. The sessions ran the test under a founder's direction, using a throwaway repository in which src/price.js defines TAX_RATE = 0.10 and a total function, among other contents. In addition to the 30 runs, the author ran 10 trials on a ticket that left room for decisions. The article's conclusion is that a worktree per agent does not address this kind of collaboration scenario. The account stops at the release of these results, with no further steps described.
AI-generated from 1 reports · updated 1 day ago
Related AI tools
- Heat index
- 46
- All sources
- 1
- All reports
- 1
- First seen
- 1 day ago
Reports on this story headlines open the original
An experiment handed the same ticket to two Claude Code sessions running in separate git worktrees, 30 times over: the two agents reached the same conclusion on every run, yet Git conflicted 23 times. The author argues that one worktree per agent does not cover the case where two people assign the same task to agents unaware of each other, and ran a further 10 trials on a ticket that left a decision open.
DEV Community · AIAI score 53
Other stories people are talking about
- Heat index 50How to Get Notified When Claude Code Waits for Input1 sources
- Heat index 41Using Codex and Claude Code to review each other's code1 sources
- Heat index 77When Claude Code plugins are worth building: a team's take1 sources
- Heat index 63Developer open-sources five Claude Code Skills for product launch workflow1 sources
- Heat index 95NewDeveloper open-sources a Claude Code skill that interviews you before writing your blog post1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

