Ditch worktrees for AI coding agents: clones plus mega PRs work better
idanbeck · x · 2026-09-13
- The author is strongly negative on git worktrees for AI agents: agents using them routinely lose data or require forensic reconstruction.
- His alternative: a nominal repo clone per "work stream," merged into a monorepo hierarchy.
- Macro pattern preference: mega PRs with layered commits over parallel worktrees.
Related event: Codex Overnight Session Wrecks Worktree; Devs Suggest Repo Clones Instead(3 posts)→
More from coding & agent
- krishnan on autonomous lab agents: criticism changed the next search, not just verdicts — krishnan · 2026-10-31
- Testing agents with explicit rejection records: a cheaper path to verified troubleshooting answers — krishnan · 2026-10-31
- krishnan proposes logging ruled-out troubleshooting hypotheses for future reopening — krishnan · 2026-10-31
- Multi-agent AI lab autonomously researches quantum spins in diamond, revises drifting experiments — krishnan · 2026-10-31
- PI agent rejected 75 proposals in 30 hours; manager banned recurring bad ideas — krishnan · 2026-10-31
- Next 9 proposals explored 7 new directions: rejection became information — krishnan · 2026-10-31