Some checks failed
Test examples / Test Examples (20) (push) Has been cancelled
Test examples / Test Examples (22) (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Trigger Release / start (push) Has been cancelled
Stale issue handler / stale (push) Has been cancelled
Update Font Data / create-pull-request (push) Has been cancelled
build-and-deploy / deploy-target (push) Has been cancelled
build-and-deploy / build (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / build-wasm (nodejs) (push) Has been cancelled
build-and-deploy / build-wasm (web) (push) Has been cancelled
build-and-deploy / Deploy preview tarball (push) Has been cancelled
build-and-deploy / Potentially publish release (push) Has been cancelled
build-and-deploy / publish-turbopack-npm-packages (push) Has been cancelled
build-and-deploy / Deploy examples (push) Has been cancelled
build-and-deploy / thank you, build (push) Has been cancelled
build-and-deploy / Upload Turbopack Bytesize metrics to Datadog (push) Has been cancelled
Rspack Next.js development integration tests / Rspack integration tests (push) Has been cancelled
Rspack Next.js production integration tests / Rspack integration tests (push) Has been cancelled
Turbopack Next.js development integration tests / Next.js integration tests (push) Has been cancelled
Turbopack Next.js production integration tests / Next.js integration tests (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack development test manifest (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack production test manifest (push) Has been cancelled
Upload bundler test manifests to areweturboyet.com / Upload test results (push) Has been cancelled
Update React / create-pull-request (push) Has been cancelled
test-e2e-project-reset-cron / reset-test-project (push) Has been cancelled
Notify about the top 15 issues/PRs/feature requests (most reacted) in the last 90 days / run (push) Has been cancelled
Conductor Configuration for Next.js
This directory contains Conductor configuration for parallel Claude Code agent development.
What is Conductor?
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.
Directory Structure
.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)
Configuration
Main Configuration (conductor.json)
The root conductor.json defines:
-
scripts.setup: Runs when creating a new workspace- Enables corepack for pnpm
- Validates Node.js version (18+)
- Installs dependencies with
pnpm install - Builds all packages with
pnpm build
-
scripts.run: Runs when starting work in a workspace- Starts watch mode (
pnpm --filter=next dev) for fast iteration
- Starts watch mode (
-
environment: Environment variables for all workspaces- Disables telemetry for cleaner development
-
worktree: Git worktree configuration- Default branch to create worktrees from
Usage
Creating a New Workspace
In the Conductor app:
- Add this repository
- Create a new workspace with a descriptive name
- The setup script will automatically install dependencies and build
Manual Worktree Setup
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
Managing Worktrees
View all worktrees:
git worktree list
Best Practices
Disk Space Management
- Each worktree uses ~500MB-1GB after build
- Run
pnpm sweepperiodically to clean Rust build artifacts - Remove unused worktrees with
git worktree remove <path>
Development Workflow
- Never run
pnpm buildwhilepnpm devis active (causes build corruption) - Use
pnpm test-dev-turbofor fastest test iteration - Use
NEXT_SKIP_ISOLATE=1for faster test runs during development
Parallel Agent Recommendations
- Limit to 3-4 concurrent agents to avoid:
- GitHub API rate limits
- Disk space exhaustion
- System resource contention
Troubleshooting
Build Corruption
If builds become corrupted:
# Kill any running dev processes
pkill -f "pnpm dev"
# Clean and rebuild
pnpm clean
pnpm install
pnpm build
Worktree Issues
# List worktrees with status
git worktree list
# Prune stale worktree references
git worktree prune
# Remove a worktree
git worktree remove <path>