---
name: orchestrating-parallel-worktrees-for-software-tasks
description: "Generates alternative implementation strategies in isolated git worktrees, runs test suites and browser rendering checks, and compares diffs and test outputs so developers can choose the cleanest approach. Use when an assigned issue needs multiple candidate solutions evaluated."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Terminal, Browser."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-13"
  source: "https://botbento.com/usecases/orchestrating-parallel-worktrees-for-software-tasks/"
  kind: workflow
  hermes:
    tags: ["git", "code-review", "testing"]
    category: coding
    requires_toolsets: ["terminal", "browser"]
---
# Orchestrating parallel worktrees for software tasks

Run multiple implementation strategies in isolated branches and present diffs for review

## When to use

When tackling complex issues or UI changes, generate alternative technical solutions across separate git worktrees. Run test suites and build checks in each environment, collect code diffs and screenshots, and present comparisons so developers can choose the cleanest approach.

## Inputs

- `issue_reference`: The task or issue assigned for implementation, including its requirements.
- `implementation_strategies`: The alternative technical approaches to test in separate git worktrees.
- `test_commands` (optional): Commands used to run test suites and build checks in each worktree.

## Steps

1. When something happens: Task given to the bot (A task is given to the bot.)
2. Test solutions in worktrees
3. Diff and benchmark review

## Instructions

When given a task, inspect the requirements. Create isolated git worktrees for each implementation strategy you plan to test. Run test commands and verify browser rendering via the terminal. Summarize the changes, test outputs, and diffs across all candidates. Wait for my approval before committing, merging branches, deleting worktrees, or pushing pull requests.

## Approvals

- Wait for my approval before committing changes.
- Wait for my approval before merging branches.
- Wait for my approval before deleting worktrees.
- Wait for my approval before pushing pull requests.

## Output

Comparison of code diffs, test outputs, screenshots, and benchmark results across candidate solutions. (format: markdown)

## Source

Summarized in our own words from [orca: Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mo](https://github.com/stablyai/orca) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/orchestrating-parallel-worktrees-for-software-tasks/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
