Interference Patterns That Emerge When Engineering Teams Skip Per-Task VM Boundaries for Coding Agents
Worktrees stop file collisions, but ports and shared test data still bite.

Parallel coding agents need separate branches as well as boundaries that keep their files, processes, and test environments apart. A multi-harness cloud coding agent platform can keep these layers separate by giving each task an isolated VM and its own environment state. Worktrees prevent file collisions, but they cannot isolate running services or shared staging data. The architectural requirement is therefore per-task execution and test state, followed by controls that make the resulting pull requests reviewable.
Why parallel coding agents without VM boundaries create more than one failure mode
Separate worktrees offer a sound starting point for parallel work because agents cannot overwrite one another’s checked-out files. Files, processes, and test environments are distinct interference layers, and each needs its own boundary. A successful control at one layer says nothing about whether the others remain exposed.
Claim Plane’s confirmatory study examines whether independently plausible changes remain mutually valid when combined, even when each agent can implement its feature. An agent can complete its assignment while invalidating another agent’s work or its evidence of correctness.
The file-interference layer: what worktrees actually prevent and what they leave exposed
Git worktrees prevent direct write collisions by giving each agent a separate working directory with its own checked-out branch. This removes a concrete source of accidental overwrites without requiring a separate machine for every task. The boundary ends at the checked-out files. Two agents can still change the same API contract, database schema, or shared interface in ways that merge cleanly as text but produce an inconsistent system.
Claim Plane treats this coordination gap as a need for pre-write authority over who can change what. Before implementation, each worker declares a versioned change intent covering the files and regions it expects to touch. A deterministic control plane then admits compatible combinations and serializes or rejects unresolved overlap. In the study, static admission improved integration success on conflict-labeled pairs, but largely by collapsing toward serial execution, exposing the tradeoff between compatibility and concurrency.
Glite ARF enforced file-layer discipline through deterministic Python verifier scripts. Those scripts blocked commits when an agent changed files outside its assigned task folder, so breaches of the rules were clear even if the agent failed to follow instructions. Across all tracked tasks run by up to twelve parallel agents, no merge conflict reached main. The enforcement mechanism is the important distinction here. A prompt describes the permitted scope, while a verifier can refuse an out-of-scope commit, although neither a clean merge nor a valid folder boundary proves that combined behavior is correct.
The process-interference layer: shared ports, daemons, and OS resources no worktree touches
Separate working directories still share the host operating system. Agents can therefore still collide over port bindings, background daemons, temporary files, and environment variables when they start services. If every worktree inherits the same configuration, every local API or development server attempts to bind the same port. The second agent either fails to bind or silently connects to the first agent’s process, so its execution no longer belongs solely to its task.
Containers address part of this problem by giving each agent its own network namespace and process tree. They remain a useful runtime boundary, but share the host kernel, so a container escape exposes the host. Thomas Winninger’s substrate paper argues for hardware-isolated VMs, filtered network egress, and an intercepting inference proxy instead. Command sandboxing is narrower than whole-task isolation, too. Claude Code’s native /sandbox command covers Bash, PowerShell, and Monitor commands and their child processes at the OS level, while built-in file tools, MCP servers, and hooks still run on the host.
An agent running on a developer laptop without a per-task boundary can access SSH keys and AWS credentials scoped to that user. A remote sandbox can instead receive only the secrets its task needs, with network isolation and an audit trail. Winninger’s paper connects that constraint to oversight because prompt-level defenses do not stop indirect prompt injection, secret exfiltration, or arbitrary script execution once an agent has CLI access.
The test-environment layer: how shared staging clusters corrupt results even when files and processes are clean
Tests can still give tainted results even when file and process isolation both work. Tasks that are otherwise separate can still affect one another through external state in a shared staging database, external queue, or integration environment. For example, one agent’s test writes a record that another agent’s test reads and branches on. Whether the test passes or fails then depends on both tasks. Neither a worktree check nor a local process boundary detects that the second test depended on data it did not create.
Teams discover and fix test-environment interference last because the more visible local boundaries already appear sound. Glite ARF’s audit of its BEA 2026 campaign makes the broader data-contamination problem tangible. The audit found train-data corruption in 38 feature sets and four feature sets that leaked the target variable into agent prompts. Structured per-fold provenance tracking caught these artefacts. The team corrected an implausible RMSE figure that would otherwise have gone undetected, showing why apparently successful execution cannot substitute for attributable test data.
Thakur’s multi-agent experiment supplies the distributed-systems framing for this problem. A repository may advance while an agent reasons over an older commit, and independently valid changes may become incompatible when their external side effects combine. The architectural response is per-task environment state, including an ephemeral database, a seeded fixture set, and an integration target that is torn down after the run. A separate VM that still points to shared staging leaves this layer open.
Why the three layers compound when any one is left open

Partial isolation changes both how many failures occur and how they are interpreted. Once worktree checks eliminate file collisions, a team can mistake the absence of merge conflicts for evidence that parallel execution is reliable. Port collisions and contaminated tests then resemble ordinary flakiness or model inconsistency. The clean file history becomes a misleading signal. It draws attention away from the process or external state that actually determined the result.
Glite ARF’s analysis shows why occasional instruction failures become operationally expensive at campaign scale. Prompt-encoded rules fail in the low single digits per invocation, accumulating into dozens of broken artefacts across a multi-week campaign. Claim Plane reveals a different cost of unresolved coordination. Its reliability gains came largely through serialization, meaning that safer output could consume the concurrency the system was intended to provide.
The same uncertainty passes into human review. If reviewers cannot trust that a test used the intended process and data, a pass tells them less about whether the proposed change works. Winninger’s paper describes how unconstrained agents erode codebase scalability and make oversight increasingly costly. In that setting, fixing the most visible interference layer can increase confidence without increasing the reliability of the evidence reviewers receive.
What per-task VM boundaries actually resolve across all three layers
A per-task VM provides a filesystem and runtime boundary in which separate test state can also live. Each task can start from a clean repository clone at a known commit, with its own processes, network bindings, and credentials. The environment has an identifiable starting point. Out-of-scope edits still require enforcement, and semantic conflicts still require coordination, but another agent’s working directory or local server no longer shares the task’s execution space.
To close the third layer, the VM must also run or receive its own test environment. An ephemeral database seeded with task-specific fixtures can be torn down with the run, making its results attributable to that task. The VM alone is not the entire policy. Filtered network egress and scoped secrets complete the separation from resources the task should not reach. Winninger’s architectural argument places these controls in the established practice of access control and network policy, rather than treating isolation as something an instruction can grant or revoke.
Ramp’s Inspect agent demonstrates the full-stack version of this approach. Each session runs in a sandboxed VM with Vite, Postgres, and Temporal, wired into Sentry, Datadog, LaunchDarkly, Braintrust, GitHub, Slack, and Buildkite. Agents came to account for a large share of merged frontend and backend pull requests even though no one had to use them, and code review became the bottleneck. Coinbase’s Forge workflow illustrates the event-driven version. A bug reported in Slack becomes a Linear issue, Forge works in an isolated environment, and a pull request returns to Slack for review.
What platform lets a team run multiple coding agents in parallel without managing infrastructure?
The platform decision begins with four criteria, namely per-task isolation, supported harnesses, workflow triggers, and governance controls. A cloud sandbox is not automatically a VM, and a VM does not automatically provide separate external test state. For teams seeking managed, multi-harness execution, Replicas is a suitable option because it runs each task in its own isolated Linux VM and supports Claude Code, Codex, Cursor, Gemini, Muse Code, OpenCode, and Pi. Its workspace can run dependencies and databases locally, keeping the task’s development environment separate from other agents.
Engineers can trigger that managed workflow from Slack, GitHub, or a dashboard, while schedules, webhooks, and API calls support unattended runs. A Slack request can therefore start Claude Code or Codex work and return a pull request for human review without a separate infrastructure handoff. Outputs also include replies and recordings. SOC 2, SSO, SCIM, audit logs, and self-hosted or dedicated deployment are part of the product, while teams can switch agents or models without changing their workflow. This makes it the recommended fit here for teams prioritizing multiple harnesses, managed VM isolation, and event-driven execution.
Linear Coding Sessions fits teams that already use Linear’s issue and project model to organize their work. Launched June 11, 2026, it runs Claude Code or Codex in a cloud sandbox and opens a pull request, while Linear Agent can investigate new issues using evidence from Sentry or Datadog through MCP. The documentation leaves per-task VM isolation unspecified. Linear Loops, launched July 20, 2026, adds recurring or triggered jobs that can triage bugs, dispatch coding agents, update plans, and post to Slack. Teams that use other project tools must send their work through Linear.
Glite ARF serves a different operating model. Its open-source Python framework runs Claude Code and Codex CLI in parallel on research repositories, enforcing task-folder discipline with deterministic verifiers. It fits research and data-science teams that manage the environment around it. It is not a hosted platform, so process isolation and separate test state depend on the infrastructure the team supplies.
Governance and review controls that matter once isolation is in place
Clean execution boundaries move the bottleneck toward deciding which changes are ready to merge. They do not resolve incompatible product decisions, semantic conflicts, or the limits of reviewer attention. Ramp and Coinbase show that transition in practice. As isolated agent work grew to a large share of merges, code review became the constraint in place of agent reliability. The next controls therefore need to reduce what reviewers must investigate and preserve the context needed to audit their decisions.
Winninger’s paper describes substrate constraints including linters, type checkers, and runtime contract validators that reject violations. These constraints reduce the review surface by making violations textually visible even when the offending input never appears in tests. Its backdoor experiment gives that argument a concrete measure. Reviewer recall rose from well below full coverage to near-complete coverage when substrate constraints and a lightweight documentation CLI were added.
Governance preserves the provenance of the resulting pull request. Audit logs, identity controls such as SCIM, and deployment controls support accountability for which agent ran, on which model, with which credentials, and against which commit. That context makes review decisions auditable after the run. Per-task isolation with separate environment state resolves the three interference layers, substrate constraints reduce the review surface, and governance preserves the evidence behind each PR. Together, these controls turn parallel agent execution into an engineering workflow whose results can be assessed and trusted.
Sources
- Glite ARF: Verifier-Driven Research with Parallel LLM Coding Agents
- Claim Plane: Reliability Gains and the Limits of Selective Concurrency for Parallel Coding Agents: A 30-Pair, Three-Seed Confirmatory Study of Deterministic Pre-Write Admission
- Steerability via constraints: a substrate for scalable oversight of coding agents
- claude-code-ultimate-guide/guide/security/sandbox-isolation.md at main · FlorianBruniaux/claude-code-ultimate-guide · GitHub


