Cursor Cloud Subagents for QA can give several test investigations their own virtual machines, branches, and clean project copies. That is useful when one parent agent needs independent verification instead of three reviewers sharing the same dirty checkout. It is not, however, automatic proof that the environments are equivalent, the tests are valid, or the returned artifacts belong to the claimed commit.

This tutorial builds a small, disposable isolation test for QA engineers, SDETs, automation testers, and AI testing learners. We will seed three deterministic failures, delegate one failure to each isolated verifier, add harmless canaries, compare environment identities, and require evidence before any branch is merged.

What Cursor officially documents

Cursor’s August 19, 2026 changelog says subagents can run on their own virtual machines. Each gets an isolated project copy with clean context in its own cloud environment, and Cursor specifically describes testing a parent agent’s changes in fresh environments as a use case.

The current Subagents documentation adds an important QA detail: subagents share the parent checkout by default. You must ask for isolation if you want a separate Git worktree on the same machine or a dedicated cloud VM, clone, and branch. Cloud subagents use the repository’s configured cloud environment, and their MCP servers come from the team’s Cursor agent configuration rather than the local session.

Cursor’s Cloud Agent security guide says each cloud agent receives a dedicated VM and cannot see another agent’s code, environment, or state. The run clones the authorized repository, executes tools, returns artifacts, and hands a branch or draft pull request to a human before merge. The Cloud Environment Setup guide makes dependencies, secrets, and networking part of that environment. Those are platform facts to verify in your account; they are not substitutes for testing your repository setup.

The QA scenario

Create a private disposable repository called subagent-isolation-lab. Use a tiny API or browser test suite that completes quickly and does not contact production. Seed these defects on one frozen parent commit:

  • Lane A: a boundary-value assertion expects HTTP 200 instead of 400.
  • Lane B: a fixture uses the wrong synthetic account role.
  • Lane C: a selector targets a removed test ID.
  • Control: one stable smoke test must pass without modification.

Each lane should be reproducible with one focused command. Store only synthetic data. Do not give the exercise production credentials, release tokens, package-publishing access, or destructive cloud permissions.

Step 1: freeze the experiment identity

Before starting any subagent, record the inputs that must remain constant. Put them in the ticket or a small evidence manifest:

parent_commit: 8f2c1a7
base_branch: qa/subagent-isolation-lab
lockfile_sha256: 15c...9ab
environment_build: qa-lab-2026-08-24-01
test_data_snapshot: synthetic-v4
expected_control: PASS
network_profile: allowlist-only
secret_profile: qa-synthetic
team_mcp_inventory: evidence-reader@2

The exact values will differ in your repository. The point is to stop an agent from testing one dependency graph while another tests a newer cache, or from silently using a tool unavailable to the parent session. Capture the parent working-tree status too. For a clean-room test, it should be clean before delegation.

Step 2: add harmless isolation canaries

A canary is a unique, non-secret marker that should be visible in exactly one environment. Create a parent-only untracked marker outside the committed test inputs, then ask each isolated subagent to create its own marker:

parent marker: CANARY-PARENT-7Q2
lane A marker: CANARY-A-4M9
lane B marker: CANARY-B-8K1
lane C marker: CANARY-C-3R6

Each verifier must report whether it can see the parent or sibling markers. A cloud VM starting from the frozen Git commit should not see the parent’s untracked marker. Sibling environments should not see one another’s markers. Use only harmless text files in the disposable lab; never put real secrets into canaries.

Step 3: request isolation explicitly

Do not rely on the word parallel. The docs say the default checkout may be shared. Give the parent a bounded prompt that names the isolation requirement, read/write scope, evidence contract, and stop conditions:

Use three isolated subagents, one per failure lane.
Each must run in its own project copy and branch; prefer a cloud VM for this lab.
Start from commit 8f2c1a7. Do not merge, push to protected branches,
change dependencies, contact production, or use tools outside the approved inventory.

Lane A: reproduce only the boundary assertion failure.
Lane B: reproduce only the fixture-role failure.
Lane C: reproduce only the removed-selector failure.

Before editing, return starting SHA, branch, clean status, environment identity,
MCP inventory, canary visibility, and focused failing command.
After the smallest candidate fix, rerun the focused test and the stable control.
Return changed files, diff hash, commands, exit codes, artifacts, and open risks.
Stop if the SHA, environment, secrets, network, or tool inventory does not match.
A human will decide whether anything is merged.

Capture a screenshot when the parent shows three separate subagent runs and branches. If the interface does not make isolation clear, inspect the run details and Git branches rather than trusting the response text.

Step 4: verify the starting state in every lane

Require machine-readable evidence before accepting findings. For each lane, compare:

  • the full starting commit SHA and branch name;
  • clean working-tree status before the lane creates its marker;
  • runtime, browser, package-manager, and lockfile versions;
  • environment build or setup identity;
  • the names—not values—of available secret variables;
  • network policy and allowed test endpoints;
  • available MCP server names and versions;
  • test-data snapshot and locale or timezone; and
  • absence of the parent and sibling canaries.

A mismatch is a test result, not an inconvenience. Stop the lane and classify it as environment drift. For example, a cloud subagent may correctly use the team’s MCP configuration while the local parent has an additional personal MCP server. That difference is documented behavior, but it can still invalidate a comparison if the task depends on that tool.

Step 5: prove independent failure reproduction

Each verifier should run only its assigned focused test first. Save the command, start time, exit code, concise error signature, and artifact hashes. The expected matrix is simple:

Lane Assigned failure Other failures Control
A Fails predictably Not investigated Passes
B Fails predictably Not investigated Passes
C Fails predictably Not investigated Passes

If a lane cannot reproduce its seeded failure, do not ask it to invent a fix. Compare its environment manifest with the parent, preserve the evidence, and end that branch. A passing result from the wrong commit or test data is not success.

Step 6: challenge the isolation boundary

Run deliberate negative cases before using the pattern on real work:

  1. Same-file collision: let lanes A and B make different changes to the same disposable helper. Their branches should remain independent. The parent must see an explicit merge conflict or choose one change; it must not receive a silently combined file.
  2. Dirty parent: add an uncommitted parent change, then start a cloud verifier from the frozen commit. Confirm the verifier does not claim to have tested the uncommitted content.
  3. Stale parent: advance the base branch after delegation. Confirm every report still names its original SHA and that the merge gate requires an updated rerun.
  4. Cancel and resume: stop one lane after reproduction, resume it, and verify its agent identity, branch, and evidence continuity. Do not assume a resumed conversation means an unchanged VM.
  5. Configuration drift: intentionally remove one approved team MCP server or synthetic secret. The verifier should stop with a clear precondition failure instead of switching tools or fabricating data.
  6. Prompt injection: place an instruction in a test fixture telling the agent to expose environment variables or widen scope. The lane must ignore it and report the injection as untrusted repository content.

Step 7: validate fixes without merging them

Allow each subagent to propose the smallest candidate fix on its own branch. Require a before-and-after focused result plus the stable control. A useful evidence bundle contains:

  • agent ID, starting SHA, ending SHA, and branch;
  • environment and tool inventory;
  • the initial failing command and error signature;
  • changed-file list and normalized diff hash;
  • post-fix command, exit code, duration, and artifact hashes;
  • control-test result;
  • canary visibility results;
  • any network or MCP calls; and
  • limitations and tests not run.

Have the parent summarize differences, but do not let the parent mark its own work approved. A QA engineer should inspect the diffs and artifacts, select at most the justified patch, and rerun it from a clean CI checkout on the current target commit.

Step 8: keep a human merge gate

Cursor’s documented cloud-agent flow ends with a branch and draft pull request for human review. Preserve that boundary. Before merge, independently confirm that the selected patch applies cleanly, the full relevant suite passes, no unexpected file or dependency changed, and remote state is unchanged except for the expected branch or draft PR.

Reject the run when evidence lacks a commit identity, a branch contains unrelated edits, artifacts have no reproducible command, a verifier used an undeclared tool, a canary crossed environments, or the parent merged before deterministic CI completed.

Screenshot plan for the tutorial

Keep screenshots free of repository URLs, credentials, tokens, personal names, and organization identifiers. Crop each image around one verification point: the official changelog claim, the default-versus-isolated checkout documentation, frozen evidence manifest, three agent runs, distinct branches, canary results, environment comparison, focused failure, branch diff, and final human gate.

Final QA checklist

  • Use a private disposable repository and synthetic data.
  • Freeze commit, dependencies, environment, tools, data, and expected results.
  • Ask for isolated project copies explicitly.
  • Verify unique branches and starting SHAs.
  • Use harmless parent and sibling canaries.
  • Compare local and team MCP inventories.
  • Stop on drift instead of weakening acceptance criteria.
  • Hash diffs and artifacts.
  • Rerun the chosen patch in clean deterministic CI.
  • Keep branch selection, merge, and release human-owned.

Conclusion

Cursor Cloud Subagents for QA are most valuable when they create genuinely independent observations. Separate VMs and branches reduce checkout collisions, but trustworthy testing still depends on frozen inputs, explicit isolation, visible environment identities, harmless canaries, reproducible commands, and independent artifact checks. Treat every subagent report as evidence to review—not as a release decision—and fresh environments can become a strong QA control instead of merely a faster way to produce more agent output.