Standardize isolated branch worktrees for LLM work #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
LLMs must not perform implementation work in the main repository checkout. Each issue/PR should use its own isolated branch folder/worktree so multiple LLMs can work or review concurrently without overwriting, blocking, or contaminating each other’s changes.
Dirty work in one issue currently blocks unrelated issue work when all work happens in the main checkout. The workflow needs to standardize isolated branch worktrees/folders.
Required behavior
branches/..gitignore.branches/<branch-name>/scripts/worktree-start,scripts/worktree-review, orscripts/worktree-clean.branches/, branch from latest remotemaster, refuse unsafe reuse, print the worktree path, and avoid deletion unless cleanup is explicitly requested after merge/close.Safety
.claude/,.codex/, orreport.xml.fix/issue-36-config-menu-ux.Acceptance criteria
branches/is ignored by git.Starting implementation. Planned branch:
docs/issue-38-worktree-standard; planned isolated worktree path:branches/docs-issue-38-worktree-standard. I will leave the existing dirtyfix/issue-36-config-menu-uxcheckout and untracked local artifacts untouched.Completing this on the existing branch
docs/issue-38-worktree-standard(worktree underbranches/): addingscripts/worktree-review+scripts/worktree-clean, tests (path generation + refuse-overwrite), and filling doc gaps (review worktree, no-edit-others, cleanup-only-after-merge). PR to follow. (#39 closed as duplicate.)jcwalker3 referenced this issue2026-07-02 02:21:15 -05:00
jcwalker3 referenced this issue2026-07-02 02:26:51 -05:00