Skip worktrees: clone repos per work stream and ship layered mega PRs
idanbeck · x · 2026-09-13
Responding to Eric Friedman's lost-worktree incident with Codex, idanbeck explains why he's "super negative" on worktrees: agents working in them always end in lost data or forensic reconstruction mess. His alternative pattern — a plain repo clone for each work stream organized in a monorepo hierarchy, merged via mega PRs with layered commits. First-hand experience in the worktree-vs-clones debate for parallel agent workflows.
Related event: Codex Overnight Session Wrecks Worktree; Devs Suggest Repo Clones Instead(3 posts)→
More from coding & agent
- Decagon on GEPA-GAN: Simulated Users That Are Too Cooperative Are Skewing Agent Evals — kastnerkyle · 2026-09-13
- Claude Code 2.1.270 changelog: single fix for 2.1.269 git permission regression — ClaudeCodeLog · 2026-09-13
- Claude Code 2.1.270 fixes git permission prompts and adds multi-step agent orchestration — ClaudeCodeLog · 2026-09-13
- Non-modeler builds full hospital corridor in Blender via GPT + MCP in ~45 minutes — Time-Ad-7720 · 2026-09-13
- Personal AI agents still can't talk to each other: interoperability remains the missing layer — Grouchy-Fun9026 · 2026-09-13
- Meta's Muse Spark transparent data-subsidy pricing hailed as model for AI providers ditching lock-in harnesses — sull · 2026-09-13