feat: use git worktree for isolated development in solve-issue workflow #465

Merged
xiaoju merged 1 commits from fix/464-worktree-isolation into main 2026-05-24 10:27:52 +00:00
Owner

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 cmdThreadStep made uwf unusable, 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 creation

Ref

Fixes #464

## 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 `cmdThreadStep` made `uwf` unusable, 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 creation ## Ref Fixes #464
xiaoju added 1 commit 2026-05-24 10:23:09 +00:00
All roles (developer, reviewer, tester, committer) now work in
~/repos/workflow-worktrees/fix/<issue>-<slug> instead of modifying
the main working directory. Prevents self-destructive edits.

Fixes #464
xiaoju merged commit fc6072c28c into main 2026-05-24 10:27:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#465