Skip to main content

Cross-agent guide

Run parallel tasks with clear file ownership

Give concurrent tasks separate scopes, then review how their work combines.

3 min readUpdated Start the guide

One agent is fixing a booking error while another changes the same app's navigation. Separate Git worktrees prevent them from sharing one checked-out file state, but they do not remove logical conflicts or shared-service dependencies. Plan the scopes first, then integrate with evidence about both changes.

On this page

Requirements

Before you start

Make sure you have these in place before following the steps:

  • An app and runtime that support concurrent tasks.
  • Clear outcomes and acceptance checks for each task.
  • A person responsible for reviewing the combined change.
A task conversation and composer in the Agent Dashboard.
The conversation keeps the brief, agent response and controls together. Claude Code example with sample data; controls vary by agent. Open full-size screenshot
Step 1 of 6

Split by outcome rather than agent count

Write one bounded request per task. Name the user flow, relevant files if known and behavior that must stay unchanged. Keep tightly coupled changes together. Two tasks editing the same shared helper may need sequencing rather than more parallel work.

Step 2 of 6

Check each task's app and target

Create tasks against the intended app and target branch. Each parallel task uses a separate Git worktree, as confirmed by the product owner and current implementation. Confirm which task owns which outcome. A separate branch is useful for review, but not proof the tasks cannot affect a shared service.

Step 3 of 6

State boundaries and checks

Tell each agent what it should avoid changing and how its result will be evaluated. Avoid giving both tasks broad cleanup authority. If both discover the same prerequisite, decide who owns it before their edits diverge.

Example
Task A: fix missing-date validation on booking only; keep navigation unchanged. Check empty and valid submissions. Task B: update public navigation labels only; do not alter booking behavior. Report shared files before changing them.
Step 4 of 6

Respond to shared-file warnings

Inspect any Shared files indicator and task preview explanation. Use it as a reason to inspect scope, not as proof of an actual merge conflict. If tasks overlap, ask one to narrow its change, finish a prerequisite first or coordinate explicitly before accepting either result.

Step 5 of 6

Review and integrate one result at a time

Review the first task's diff and checks through the configured submission workflow. Then refresh the second task's merge readiness against the changed target. When a conflict needs reconciliation, inspect how both intents are preserved. Do not solve a conflict by silently dropping one task's behavior.

Step 6 of 6

Check the app with both changes present

Run the relevant checks on the integrated state and try both user flows. Watch shared dependencies such as navigation, authentication, ports and test data. A passing isolated task preview does not guarantee the other change leaves it working after integration.

Check the result

  • Every concurrent task has a distinct outcome and owner.
  • Overlapping files or services have an explicit plan.
  • The combined state passes checks covering both changes.

Troubleshooting

Tasks have separate worktrees but still conflict.

Inspect overlapping files and the intended behavior. Worktrees separate working copies, not competing edits or shared external resources. Sequence the work or assign ownership of the common change.

The second task's review is stale after the first merges.

Refresh its source and merge status and review the current revision before proceeding. Do not force a previously reviewed fingerprint onto changed work.

Availability and limits

  • Git worktrees are not themselves security sandboxes.
  • Parallel task completion does not establish conflict-free integration or a live deployment.

Related documentation

Start with an idea, or start with what you have.

Use AI supplied by 1904, or connect the subscription you already pay for.