## CHANGES

- Added git worktree support for parallel Auto Run operations 🌳
- Enable background processing while continuing interactive work freely 🚀
- No more read-only mode when using worktree feature 🔓
- Visual git branch icon indicates active worktree operation 🌿
- Auto-create pull requests when batch processing completes 
- Worktree path computed from base directory plus branch name 📁
- Yellow border and input locks only without worktree enabled 🟡
- Continue editing main repo while Auto Run processes tasks 💪
- Improved documentation explaining worktree setup and benefits 📚
- Enhanced UI indicators for parallel operation status tracking 🎯
This commit is contained in:
Pedram Amini
2025-12-14 17:56:23 -06:00
parent 614fba8cb1
commit 80f4f3ee93
3 changed files with 25 additions and 8 deletions

View File

@@ -398,14 +398,22 @@ Save your batch configurations for reuse:
### Git Worktree Support
For parallel work without file conflicts:
Git worktrees allow Auto Run to operate in an isolated directory while you continue working interactively in the main repository—no read-only restrictions, no waiting.
**Setup:**
1. Enable **Worktree** in the Batch Runner Modal
2. Specify a worktree path and branch name
3. Auto Run operates in the isolated worktree
4. Optionally create a PR when the batch completes
2. Select a **Worktree Directory** (base folder for all worktrees)
3. Enter a **Branch Name** (becomes the worktree subdirectory)
4. The computed path shows where the worktree will be created
5. Optionally enable **Create PR on completion** to auto-open a pull request
Without a worktree, Auto Run queues with other write operations to prevent conflicts.
**Benefits:**
- **Continue working** in the main repo while Auto Run processes tasks in the background
- **No read-only mode** — the yellow border and input lock only appear when running without a worktree
- **Visual indicator** — a git branch icon appears in the AUTO badge, right panel, and status pill when using a worktree
- **Automatic PR creation** — when enabled, opens a PR from the worktree branch to your target branch
**Without a worktree:** Auto Run queues with other write operations to prevent conflicts, and the editor enters read-only mode until completion.
### Progress Tracking