Splitting work for parallel development

Hand-drawn six terracotta pillars of small hatched blocks rise from a terracotta beam to a terracotta lintel, set in dense masonry of small sand, linen, umber and moss blocks.

Splitting work for parallel development means dividing one software change into tasks that several builders carry out at the same time and then combine. The builders may be developers or AI coding agents. The best-documented risk lies in combining: edits that each pass their own checks can still break the build or behaviour together, even after a clean merge (Shen et al., 2023a; Xia et al., 2026b). The main disputes concern whether to split by end-to-end feature or by component (Ren et al., 2026b; Sablis et al., 2021). Others concern how many parallel builders pay off (Geng & Neubig, 2026; Li et al., 2026s), and how often parallel agent work actually breaks when merged (Xia et al., 2026b; Femerstrand, 2026).

The questions apply to human teams and to agent teams alike, and the evidence below comes from both. How teams coordinate once work is split is covered in Cross-team coordination, and how agent factories run many agents at once in Software factories.

The axis of the split

Evidence on whether to split by feature or by component is thin and points both ways. A feature split gives each builder an end-to-end behaviour that crosses layers, such as interface, logic and storage. A component or layer split gives each builder one layer or module, and every feature that touches it.

In agent teams, feature splits did better on average, with one telling exception. In a benchmark of ten projects built from scratch, agent “feature squads” finished with higher average scores than layer specialists for each of the three models reported (Ren et al., 2026b). Layer specialists won on one project, a permission platform with a clean split between a configuration interface and an authorisation API (Ren et al., 2026b).

In human teams, component boundaries can make features that cross components hard to plan. At Ericsson, features depended on several components, which made planning and coordination difficult under the initial component teams (Paasivaara et al., 2018). Teams later specialised by business flow, and this seemed to work well, but the change came too late in the study to observe whether it needed refinement (Paasivaara et al., 2018).

Component teams have their own advantage when the work is coupled. In a small sample of teams, component teams showed lower needs for coordinating work than feature teams whose work was more coupled (Sablis et al., 2021). A simulation found that component teams benefited more than feature teams from cross-team coordination and a broad focus (Hahn et al., 2025). How team boundaries come to mirror system boundaries is the subject of Conway’s law.

Shared prerequisites and decisions with many dependents

Design research identifies a decision that many other decisions depend on as a signal for planning. A design rule is a decision that other decisions rely on. The more decisions depend on it, the more influential it is and the more important it is to keep stable (Wong et al., 2009).

Agent systems for parallel coding turn this into scheduling. One system handed a task to an agent only after all its prerequisite work had been completed and integrated into the main branch (Geng & Neubig, 2026). Another first isolates “hub” files with many connections, such as project-wide utilities and top-level entry points, and only then groups the remaining files into tasks (Yang et al., 2026j).

Agreeing on the interface first Weak evidence: few or small studies support this

The evidence is two practitioner reports, with no measurement. They describe agreeing on an interface, then building both sides against a stand-in, as a way to avoid waiting. A mock is a stand-in that answers like the real service. One startup used mocked gRPC APIs to build client and server in parallel without waiting for the server code (Bulaty, 2021). In another organisation, generating the API specification from finished provider code made development sequential; a later workflow emulated the provider from a shared, agreed specification instead (Krishnan, 2023).

Overlapping files and merge conflicts

Builders who edit the same files are more likely to collide, but file overlap is a rough signal, not a reliable predictor. A merge conflict occurs when version control cannot combine two sets of edits automatically.

Conflicts concentrate in shared files. In Ruby and Python projects built on the model-view-controller pattern, contributions touching the same slice of the application were more likely to conflict (Dias et al., 2020). Even between contributions to different slices, most conflicts appeared in configuration files and files defining infrastructure or reusable code (Dias et al., 2020). Yet in another repository study, the number of files changed on both branches did not correlate with the number of conflicts (Leßenich et al., 2014).

Locking a file so that only one builder edits it at a time has costs of its own. The Subversion manual notes that locks can force edits to wait even when changes to separate regions of a file would merge without trouble (Collins-Sussman et al., n.d.). It presents locking as suited to binary formats such as artwork or sound, where merging conflicting changes is often impossible. It also notes that locks cannot prevent incompatible changes to two separate files that depend on each other (Collins-Sussman et al., n.d.).

Conflicts that merge cleanly Strong evidence: many studies agree on this

A merge that version control accepts can still fail. Such a failure is often called a semantic conflict. In a study of nine open-source systems, conflicts showed up as build and test failures as well as overlapping text (Brun et al., 2013). In Java projects, clean textual merges still failed at build or test time, and build conflicts arose when combined edits broke the link between a definition and the code that uses it (Shen et al., 2023a).

Agents show the same failure. Each patch can pass on its own while the combination fails, when one patch depends on an interface or invariant that another changes at the same time (Xia et al., 2026b). Automatically generated tests catch only part of these conflicts: the best configuration in one study of selected Java cases detected nine of 28 known semantic conflicts (Da Silva et al., 2023).

Early warnings of conflicts

Evidence on conflict warnings comes from laboratory studies and one agent test. Warning builders about each other’s edits helped them catch conflicts earlier in those studies. In two experiments with the Palantir tool, which shows developers what others are changing, participants found and resolved more conflicts sooner and left fewer unresolved (Sarma et al., 2012). A similar tool, TeamWATCH, helped participants detect and resolve more conflicts earlier in a controlled study on a text editing project (Ye et al., 2018). For agents, a message describing a completed concurrent change recovered 82% of runs on constructed tasks (Xia et al., 2026b).

How large a task should be

The size of a task matters for both building and review, but the size of a patch does not capture how hard a task is.

For human review, small changes may be reviewed better. In a controlled study, reviewers detected a larger share of defects in a small change (Baum et al., 2019). The number of changes made during review was associated with the size of the initial patch and the lines it added (Fregnan et al., 2022b). How change size and splitting affect review in more detail is covered in Human review of proposed changes.

Splitting can cause confusion when the parts depend on each other. Developers ranked dependency between different code changes among the most frequent causes of confusion in review (Ebert et al., 2021). Splitting a tangled change, one that mixes unrelated edits, reduced wrongly reported issues without a detectable difference in the number of defects found (di Biase et al., 2019).

For AI agents, tasks that take people longer were less often completed. On one benchmark, tasks that took people longer had lower average success across models. The authors summarise an agent’s ability as its “time horizon”: the human duration of tasks it completes half the time (Kwa et al., 2025). A follow-up found the same negative relation on a second benchmark, LiveCodeBench (Kwa & Cheng, 2025). Who does the timing matters: on a small set of internal pull-request tasks, contractors’ times matched model success better than the times of the repository’s maintainers (Kwa et al., 2025).

A short patch does not make a task easy. One study of coding agents found 12 tasks with simple patches that none of the agents solved (Mehtiyev & Assunção, 2026).

How many builders pay off Weak evidence: few or small studies support this

Studies of agent teams disagree on how many parallel builders help, and the answer changes with the benchmark. Adding builders helped only up to a point, and the point differed by task. In one system, performance on one benchmark rose from two to four agents and fell at eight. On another benchmark, more than two agents added little score while runtime and cost rose steadily (Geng & Neubig, 2026).

The stage that gains from more workers also varies. In one study, adding planners kept improving results, while implementers and verifiers plateaued beyond four workers. On a benchmark where the repository already dictated the plan, implementation gained most instead (Samway et al., 2026).

Letting agents start sub-agents in parallel as they go helped on long tasks and hurt or did nothing on short ones. On the benchmark with the longest tasks, this raised pass rates for two of three agent products by up to 14.3 percentage points and left the third unchanged. On short, bounded tasks from SWE-bench Verified it left one product unchanged and reduced the other two (Li et al., 2026s). In another benchmark, no collaborative protocol consistently resolved dependencies better than a single agent across every model (Zhang et al., 2026d). The wider comparison of one agent against several is in AI coding agents.

Ordering by dependencies Weak evidence: few or small studies support this

The evidence for ordering by dependencies is two systems, one shown by a single pair of runs. In that case, one agent system was run twice on the same project. The run that assigned work on a file central to the tests then progressed on the components depending on it; the other run never assigned that file (Geng & Neubig, 2026). A system combining cohesion-based partitioning with dependency-aware scheduling gave better trade-offs between cost, quality and speed than sequential work or a parallel split by file (Yang et al., 2026j).

Integration failures Weak evidence: few or small studies support this

Agent studies document how a split can fail, but disagree on how often it does. Studies describe three failures. Agents allowed to split a task arbitrarily can miss important parts of it (Geng & Neubig, 2026). Patches can pass separately and fail together over a shared interface (Xia et al., 2026b). A downstream task can fail to use upstream work: in one case, shared downstream logic stayed unsatisfied after two attempts although both upstream requirements were available (Zhang et al., 2026d).

The authors caution that failure rates on tasks built to cause interference do not estimate how often the problem occurs in practice (Xia et al., 2026b). On real pairs of changes, newly broken combinations were rare in one study. On pairs of Django pull requests mined from history, only one of 834 agent runs added a new failure. That figure follows a grading correction; the first grading had inflated the measured interference (Xia et al., 2026b). A vendor replay of agent pull requests could test 44 clean merges end to end and found one that broke (Femerstrand, 2026).

Checking the plan before work starts Weak evidence: few or small studies support this

Evidence for checking the plan first is weak: two small workflow studies, one of which changed other steps too. In a four-task study of one framework, the full workflow, which validated plans, ran tasks in waves and validated code afterwards, averaged fewer rework cycles than validating code alone (Carbowitz & Kumar, 2026).

Another documented workflow grouped tasks into blocks whose members shared no dependency, no file they write and no resource. Reviewers raised blocking findings on the first review of every task file, but without ground truth the authors could not say how many were real defects (Abdo & Brom, 2026).

Further reading

  • Ren et al. (2026b): the benchmark comparing feature squads and layer specialists among coding agents building projects from scratch.
  • Geng and Neubig (2026): an asynchronous multi-agent coding system that schedules work by dependencies, with results on team size.
  • Xia et al. (2026b): a benchmark of agent patches that pass alone and fail together, contrasting constructed and mined cases.
  • Shen et al. (2023a): a characterisation of textual, build and test conflicts in Java projects.
  • Wong et al. (2009): the design-rule hierarchy, which ranks design decisions by how many other decisions depend on them.
  • Dias et al. (2020): what predicts merge conflicts in model-view-controller projects.

Known gaps

What this article cannot tell you yet.

  1. The comparison of feature and layer splits for AI agents rests on one benchmark of projects built from scratch; it has not been repeated, and there is no controlled comparison for changes to existing code.
  2. The effect of building a shared prerequisite first, of giving each file one owner, of checking the plan before work starts, or of a particular dependency order is not separated from the rest of the workflow it was tested in.
  3. How much time building against a mocked interface saves is not measured.
  4. No field trial measures how much conflict-warning tools reduce rework or review effort.
  5. There is no calibrated limit on task size, in lines, files or requirements, for one agent and one reviewer.
  6. It is unclear whether documentation tasks should be split from code tasks, how well generated integration tests generalise, and how representative replays of agent pull requests are of real work.

References

Solid source
Rated highly trustworthy by the research, and every passage taken from it was found in it.
Weak source
Rated low, or a passage taken from it was not found in it.
Medium trust
Rated medium by the research.
Not checked
Rated high, but its passages could not all be checked against it.
Show all 31 references