Before
Shared branch
Three agents keep updating one head.
feature/orders
Agent A
DB schema / model
Agent C
API / tests / config
model
db.yaml
tests
main
Conflicts concentrate on the shared head.
After
Ordered stack
Foundation below, dependent work above.
Layer 3 · Agent C
feat/api-endpoints
Layer 2 · Agent B
feat/order-logic
Layer 1 · Agent A
feat/db-schema
auto rebase: lower changes propagate upward
main
Conflict shifts into branch order.