Get the latest tech news

Git worktrees are not an isolation boundary for coding agents


Most tools that run AI coding agents in parallel give each one a git worktree. A worktree shares refs, config, stash and hooks with your real repository. Paste-and-run repros showing an agent can execute code in your main repo and rewrite your commit identity, plus benchmarks showing a properly isolated clone costs the same.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Git Worktrees

Git Worktrees

Photo of coding agents

coding agents

Photo of isolation boundary

isolation boundary

Related news:

News photo

Kuna: Decompiler Development in the Age of Coding Agents

News photo

Setup Script Should Support Git Worktrees

News photo

Show HN: Boffin – Staff-engineer layer for AI coding agents