mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-12 05:51:14 +00:00
Replace the stash + checkout + restore flow with an isolated git worktree for PR reviews. This eliminates: - Stash orphan risks (multiple early exit paths) - Wrong-branch risks (Step 5 restore failures) - Build cache pollution (worktree has its own state) - All stash-related error handling complexity New flow: - Step 1: git worktree add .qwen/tmp/review-pr-<number> - All agents operate in the worktree directory - Autofix commits and pushes from the worktree - Step 5: git worktree remove (--force for dirty worktrees) User's working tree is never modified during PR reviews. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| design | ||
| developers | ||
| users | ||
| _meta.ts | ||
| index.md | ||