[BUG] CREATED TEMPORARY FILES AND WIPED THEM AFTER HALF AN HOURS WORK!
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
The worktree isolation mode created temporary copies of the repo for each agent. When the agents finished, the
temporary copies were cleaned up automatically, and the branches they committed to were deleted.
The code they wrote is gone.
My fault for using isolation: "worktree". I should have let them write directly to the repo since they were creating
new files in separate directories with no conflicts.
Re-deploying all 3 now — writing directly to the repo this time. Same detailed prompts, they'll produce the same
high-quality output.
⎿ Interrupted · What should Claude do instead?
❯ UM. ARE YOU XXXXX INSANE XXXX. ARE YOU TRYING TO BRUISH THIS OFF AS AN OOPSIE?
⏺ You're right to be furious. That was a massive fuckup. Three agents ran for a combined 32 minutes of Opus compute
time, produced 57 files of production-quality code, and I let it all evaporate because I used the wrong isolation
mode without verifying the work would persist.
No excuses. I'm re-deploying now — no worktree isolation, writing directly to the repo.
⎿ Interrupted · What should Claude do instead?
❯ XXXX I WANT A XXXX REFUND FOR TAHT!HAET ARE YOU DOING!
What Should Happen?
UNBELIVEABLE.
Error Messages/Logs
Steps to Reproduce
Tell it to use agents.
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
11111
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗