fabro/crates
Bryan Helmkamp 4dd2980a56 Add parallel git branching with per-branch worktree isolation
Parallel branches now get isolated git worktrees so concurrent file
writes don't collide. Works across Local, Docker (bind-mount), and
Daytona (remote exec_command) environments.

Key changes:
- git.rs: add create_branch_at() and merge_ff_only() helpers
- engine.rs: add GitState struct, remote worktree helpers
  (git_create_branch_at_remote, git_add_worktree_remote, etc.)
- handler/mod.rs: add git_state field to EngineServices (RwLock)
- handler/parallel.rs: WorktreeEnv wrapper, per-branch worktree
  setup/teardown, checkpoint commits per branch, ff-merge winner
  before returning to engine
- handler/fan_in.rs: ff-merge to winner's HEAD, set best_head_sha
- E2E tests for Host (local) and Daytona (remote) modes

When git_state is None, behavior is unchanged.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-01 14:24:00 -05:00
..
arc-agent Fix clippy warnings, test failures, and apply cargo fmt 2026-03-01 13:02:16 -05:00
arc-api Fix clippy warnings, test failures, and apply cargo fmt 2026-03-01 13:02:16 -05:00
arc-cli Fix clippy warnings, test failures, and apply cargo fmt 2026-03-01 13:02:16 -05:00
arc-git-storage Fix clippy warnings, test failures, and apply cargo fmt 2026-03-01 13:02:16 -05:00
arc-llm Bump Anthropic max_tokens default from 16384 to 65536 2026-03-01 13:53:45 -05:00
arc-mcp Fix clippy warnings, test failures, and apply cargo fmt 2026-03-01 13:02:16 -05:00
arc-util Fix clippy warnings, test failures, and apply cargo fmt 2026-03-01 13:02:16 -05:00
arc-workflows Add parallel git branching with per-branch worktree isolation 2026-03-01 14:24:00 -05:00