.conductor/README.md
This directory contains Conductor configuration for parallel Claude Code agent development.
Conductor is a macOS application that orchestrates multiple Claude Code agents in parallel. Each agent gets its own isolated git worktree, enabling concurrent development on different features without branch conflicts.
.conductor/
├── conductor.json # Main configuration (used for new workspaces)
├── README.md # This file
├── scripts/
│ ├── setup.sh # Runs on workspace creation
│ └── run.sh # Runs when starting work
└── <workspace>/ # Individual workspace directories (git worktrees, gitignored)
conductor.json)The root conductor.json defines:
scripts.setup: Runs when creating a new workspace
pnpm installpnpm buildscripts.run: Runs when starting work in a workspace
pnpm --filter=next dev) for fast iterationenvironment: Environment variables for all workspaces
worktree: Git worktree configuration
In the Conductor app:
If setting up worktrees manually (without Conductor app):
# Create a new worktree from canary
git worktree add ../next.js-worktrees/my-feature -b my-feature-branch canary
# Navigate to the worktree
cd ../next.js-worktrees/my-feature
# Run the setup script (same script Conductor uses)
./.conductor/scripts/setup.sh
# Or manually:
# pnpm install --prefer-offline
# pnpm build
View all worktrees:
git worktree list
pnpm sweep periodically to clean Rust build artifactsgit worktree remove <path>pnpm build while pnpm dev is active (causes build corruption)pnpm test-dev-turbo for fastest test iterationNEXT_SKIP_ISOLATE=1 for faster test runs during developmentIf builds become corrupted:
# Kill any running dev processes
pkill -f "pnpm dev"
# Clean and rebuild
pnpm clean
pnpm install
pnpm build
# List worktrees with status
git worktree list
# Prune stale worktree references
git worktree prune
# Remove a worktree
git worktree remove <path>