Repository navigation
Commit 4d6b8f5
fix(skills/fanning-out-with-worktrees): give each dispatched subagent a scratch folder of its own (#78)
Parallel subagents share the orchestrator's scratchpad. Two of them that write a temporary file of the same name, such as a PR body for --body-file, overwrite each other, and a PR can go out with its sibling's body. The worktree isolates the repo, not these files.
The dispatch prompt now carries the absolute path of a folder that only that subagent uses, and the rule to write its temporary files there.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 5da32db commit 4d6b8f5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments