New name Kanbai is now Singularity. Read the announcement

kanbai Download

Git

Understand a Git conflict between two agents

Two tickets run in parallel sometimes end up touching the same file. Here's how to resolve the conflict based on the intention of each ticket.

By Antony Kervazo Canut · · 2 Min of reading

The most important

  • There are two intentions in a conflict: read both tickets before the code.
  • First, integrate the most structured ticket, then re-base the other one.
  • Re-launch the two ticket tests after resolution.

Where the Conflict Is From

The first agent renames a utility function, the second adds a call to the old name. Everyone worked properly in their worktree. The conflict appears when the second ticket is integrated: Git does not know which version to keep.

Starting with tickets, not markers

Before you open the file, read both tickets again. One was asking for a name, the other for a new feature. The right resolution keeps the new name and the added appeal. Reading the conflict markers without this intention often leads to cancelling half the work.

Trust the resolution or do it yourself

A simple conflict can be resolved by hand in seconds. For a wider conflict, re-base the branch of the second ticket and re- entrust it to the agent with both descriptions. Then he finds the full context.

Avoiding the Next Conflict

When two tickets hit the same module, declare a dependence on each other on the board. The second will wait for the first to be integrated. You lose a little bit of parallelism and you gain an unexpected integration.

Next reading

From the journal.

Git

Run two tickets in parallel with Git worktrees

Isolating the modifications of Claude and Codex allows you to try two changes at once and integrate them in a chosen order.

· 2 min
News

Kanbai and Singularity: what changes for your tickets

A week after the name change, here's what's actually changing and what's still the same in the way you work with AI agents.

· 2 min
News

Kanbai becomes Singularity

Meteor Factory continues to develop Kanbai as Singularity. This is where you can find the application and its downloads.

· 2 min