feat: use git worktree for isolated development in solve-issue workflow #465
Reference in New Issue
Block a user
Delete Branch "fix/464-worktree-isolation"
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?
What
All roles in solve-issue workflow now work in git worktrees under
~/repos/workflow-worktrees/instead of modifying the main working directory.Why
Agent was editing code directly on main, which broke the CLI mid-execution (#463 incident — renaming
cmdThreadStepmadeuwfunusable, killing its own workflow).Changes
.workflows/solve-issue.yaml— developer creates worktree at~/repos/workflow-worktrees/fix/<issue>-<slug>; reviewer/tester/committer cd into worktree first; committer cleans up worktree after PR creationRef
Fixes #464