fix: enforce worktree isolation for code-writing agents
All code-writing agents (gsd-executor, gsd-debugger) were dispatched without isolation: "worktree", causing branch pollution when agents switched branches in the shared working tree during concurrent work. Added isolation="worktree" to all Task() dispatch sites: - execute-phase.md: executor agent dispatch - execute-plan.md: Pattern A executor reference - quick.md: quick task executor dispatch - diagnose-issues.md: debugger agent dispatch Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -536,6 +536,7 @@ Execute quick task ${quick_id}.
|
||||
",
|
||||
subagent_type="gsd-executor",
|
||||
model="{executor_model}",
|
||||
isolation="worktree",
|
||||
description="Execute: ${DESCRIPTION}"
|
||||
)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user