Splitting work for parallel development
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.
First published .
Known gaps
What this article cannot tell you yet.
- 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.
- 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.
- How much time building against a mocked interface saves is not measured.
- No field trial measures how much conflict-warning tools reduce rework or review effort.
- There is no calibrated limit on task size, in lines, files or requirements, for one agent and one reviewer.
- 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
- Abdo, R. F., & Brom, P. C. (2026). A gated spec-driven workflow: an audit-trail study of coding-agent work. arXiv preprint 2611.05094. https://arxiv.org/html/2611.05094v1 Medium trust Preprint, read in large part.
- Baum, T., Schneider, K., & Bacchelli, A. (2019). Associating working memory capacity and code change ordering with code review performance. Empirical Software Engineering (manuscript). http://tobiasbaum.github.io/rp/memoryCodeOrderAndReview.pdf Solid source Peer-reviewed, read in large part.
- Brun, Y., Holmes, R., Ernst, M. D., & Notkin, D. (2013). Early detection of collaboration conflicts and risks. IEEE Transactions on Software Engineering, 39(10). https://people.cs.umass.edu/~brun/pubs/pubs/Brun13tse.pdf Medium trust Peer-reviewed, read in large part.
- Bulaty, W. (2021). Using API-first development and API mocking to break critical path dependencies. InfoQ. https://www.infoq.com/articles/api-mocking-break-dependencies/ Weak source Blog post, read in large part.
- Carbowitz, R., & Kumar, D. (2026). SPOQ: specialist orchestrated queuing for multi-agent software engineering. arXiv preprint 2606.03115. https://arxiv.org/html/2606.03115v1 Medium trust Preprint, read in large part.
- Collins-Sussman, B., Fitzpatrick, B. W., & Pilato, C. M. (n.d.). Version control basics. Version Control with Subversion (for Subversion 1.8). https://svnbook.red-bean.com/en/1.8/svn.basic.version-control-basics.html Solid source Documentation, read in large part.
- Da Silva, L., Borba, P., Maciel, T., Mahmood, W., Berger, T., Moisakis, J., et al. (2023). Detecting semantic conflicts with unit tests. arXiv preprint 2310.02395. https://arxiv.org/html/2310.02395 Medium trust Peer-reviewed, read in large part.
- Dias, K., Borba, P., & Barreto, M. (2020). Understanding predictive factors for merge conflicts. Information and Software Technology, 121, 106256. https://pauloborba.cin.ufpe.br/publication/2020understanding_predictive_factors_for_merge_conflicts/2020ISTPredictiveFactorsForMergeConflicts.pdf Solid source Peer-reviewed, read in large part.
- di Biase, M., Bruntink, M., van Deursen, A., & Bacchelli, A. (2019). The effects of change decomposition on code review: a controlled experiment. PeerJ Computer Science, 5, e193. https://repository.tudelft.nl/file/File_2916e5f9-f51f-4d21-ac39-6f6feeb05dfd Medium trust Preprint, read in large part.
- Ebert, F., Castor, F., Novielli, N., & Serebrenik, A. (2021). An exploratory study on confusion in code reviews. Empirical Software Engineering. https://link.springer.com/article/10.1007/s10664-020-09909-5 Medium trust Peer-reviewed, read in large part.
- Femerstrand, N. (2026). How often do AI agent pull requests break each other? gitta. https://gitta.io/research/replay-agent-pull-requests Medium trust Vendor page, read in large part.
- Fregnan, E., Petrulio, F., & Bacchelli, A. (2022b). The evolution of the code during review: an investigation on review changes. Empirical Software Engineering. https://link.springer.com/article/10.1007/s10664-022-10205-7 Solid source Peer-reviewed, read in large part.
- Geng, J., & Neubig, G. (2026). Effective strategies for asynchronous software engineering agents. arXiv preprint 2603.21489. https://arxiv.org/html/2603.21489v1 Medium trust Preprint, read in large part.
- Hahn, J., Zhou, J., Lee, G., & Zorin, V. (2025). Organizing for software product development: the effects of team structure, product complexity, and cross-team coordination. Information Systems Research. https://pubsonline.informs.org/doi/10.1287/isre.2023.0154 Medium trust Peer-reviewed, abstract only.
- Krishnan, H. (2023). Contract-driven development: a real-world adoption journey. InfoQ. https://www.infoq.com/articles/contract-driven-adoption/ Medium trust Blog post, read in large part.
- Kwa, T., West, B., Becker, J., Deng, A., Garcia, K., Hasin, M., et al. (2025). Measuring AI ability to complete long software tasks. Advances in Neural Information Processing Systems. https://proceedings.neurips.cc/paper_files/paper/2025/file/85069585133c4c168c865e65d72e9775-Paper-Conference.pdf Solid source Peer-reviewed, read in large part.
- Kwa, T., & Cheng, V. (2025). How does time horizon vary across domains? METR. https://metr.org/blog/2025-07-14-how-does-time-horizon-vary-across-domains/ Medium trust Blog post, read in large part.
- Leßenich, O., Siegmund, J., Apel, S., Kästner, C., & Hunsen, C. (2014). Indicators for merge conflicts in the wild: survey and empirical study. Saarland University software engineering research group. https://www.se.cs.uni-saarland.de/papers/conflict-prediction/ Solid source Read in large part.
- Li, H., Li, H., Jiang, Z., & Lou, Y. (2026s). When sub-agents work in parallel: the promises and pitfalls of dynamic concurrency in long-horizon coding tasks. arXiv preprint 2610.10263. https://arxiv.org/html/2610.10263v1 Solid source Preprint, read in large part.
- Mehtiyev, T., & Assunção, W. (2026). Beyond resolution rates: behavioral drivers of coding agent success and failure. arXiv preprint 2604.02547. https://arxiv.org/html/2604.02547v1 Solid source Preprint, read in large part.
- Paasivaara, M., Behm, B., Lassenius, C., & Hallikainen, M. (2018). Large-scale agile transformation at Ericsson: a case study. Empirical Software Engineering. https://link.springer.com/article/10.1007/s10664-017-9555-8 Medium trust Peer-reviewed, read in large part.
- Ren, Y., Bai, Y., Wang, X., Chen, L., & Li, D. (2026b). An empirical study of coordination mode as the first-class citizen in from-scratch multi-agent coding. arXiv preprint 2607.27877. https://arxiv.org/html/2607.27877v1 Solid source Preprint, read in large part.
- Sablis, A., Smite, D., & Moe, N. (2021). Team-external coordination in large-scale software development projects. Journal of Software: Evolution and Process. https://onlinelibrary.wiley.com/doi/10.1002/smr.2297 Medium trust Peer-reviewed, read in large part.
- Samway, K., D'souza, D., Darwiche Domingues, O., Fadaee, M., Tan, Y., & Dziri, N. (2026). Scaling inference-time compute with teams of coding agents. arXiv preprint 2610.17471. https://arxiv.org/html/2610.17471v1 Solid source Preprint, read in large part.
- Sarma, A., Redmiles, D. F., & van der Hoek, A. (2012). Palantir: early detection of development conflicts arising from parallel code changes. IEEE Transactions on Software Engineering. https://digitalcommons.unl.edu/csearticles/104/ Medium trust Peer-reviewed, abstract only.
- Shen, B., Gulzar, M. A., He, F., & Meng, N. (2023a). A characterization study of merge conflicts in Java projects. ACM Transactions on Software Engineering and Methodology, 32(2), Article 40. https://people.cs.vt.edu/nm8247/publications/Bowen-TOSEM-2022.pdf Solid source Peer-reviewed, read in large part.
- Wong, S., Cai, Y., Valetto, G., Simeonov, G., & Sethi, K. (2009). Design rule hierarchies and parallelism in software development tasks. 24th IEEE/ACM International Conference on Automated Software Engineering. https://www.academia.edu/120790610/Design_Rule_Hierarchies_and_Parallelism_in_Software_Development_Tasks Solid source Peer-reviewed, read in large part.
- Xia, H., Wu, E., & Park, Y. (2026b). Passes alone, fails together: benchmarking semantic coordination in parallel LLM-agent development. Proceedings of the 2nd Workshop on Explainable and Reliable Software Systems. https://arxiv.org/html/2609.25396v1 Solid source Preprint, read in large part.
- Yang, X., Nie, L., Chandra, E., Gannutin, S., Lin, F., & Chaudhuri, S. (2026j). When parallelism pays off: cohesion-aware task partitioning for multi-agent coding. arXiv preprint 2606.00953. https://arxiv.org/html/2606.00953v1 Solid source Preprint, read in large part.
- Ye, E., Ye, X., & Liu, C. (2018). TeamWATCH: visualizing development activities using a 3-D city metaphor to improve conflict detection and team awareness. PLOS ONE. https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0193562 Medium trust Peer-reviewed, read in large part.
- Zhang, K., Xiong, Z., Jiang, Z., Zhong, M., Yuan, Z., Li, Z., et al. (2026d). AsynCodeBench: benchmarking collaboration of asynchronous multi-agent systems in software engineering. arXiv preprint 2609.32662. https://arxiv.org/html/2609.32662v1 Medium trust Preprint, read in large part.