Do people not know how to write blogs without AI anymore? I enjoy hearing a human's unique voice and miss hearing it when it's abscent.
Git worktrees are not an isolation boundary for coding agents
21–30 of 43 posts
Re: Git worktrees are not an isolation boundary for coding agents
#22So if all you want is to work on index.ts in a separate dir from api.ts then worktrees might work well
If you want to be able to rm -rf one of the dirs without wondering about dependencies then yeah multiple clones makes sense
Either way is a way to avoid using more fragile/finicky workflows like stash and stash pop
Re: Git worktrees are not an isolation boundary for coding agents
#23Local agents use worktrees. If you do not trust those (or your own input), then what are you doing?
Re: Git worktrees are not an isolation boundary for coding agents
#24For me the most pragmatic way to solve this is in the agent harness layer simply prohibiting commands like git force and others in the settings configuration of your harness of choice with pre tool hooks, its quite easy to setup, obvious ones are prohibiting pushes to main, among others. Unless someone is building their harness from scratch like you this is a 30sec configuration and you could just save your list of b…
Agreed. I had to solve this at the harness layer myself. It just makes more sense to me this way. We basically created hooks around these operations and you can configure what happens at these calls. Disclosure: I'm building AQ (aq.dev) a multiplayer coding harness.
Re: Git worktrees are not an isolation boundary for coding agents
#25Do people not know how to write blogs without AI anymore? I enjoy hearing a human's unique voice and miss hearing it when it's abscent.
You can literally tell from the box styling that it's AI now. Awful.
Of course, if you're that lazy, you're going to surround yourself and industry with AI-generated websites and UI, and you're going to recognize it, so...
Re: Git worktrees are not an isolation boundary for coding agents
#26Re: Git worktrees are not an isolation boundary for coding agents
#27Git worktrees are a great isolation boundary for _changes_ (especially making changes in parallel on a single machine), but not behavior. If you are trying to actually run autonomous agents securely you need something that lives outside the harness that actually blocks actions in a way that can't be prompted around. We use nono [1] for this internally, essentially blocking any actions we don't want agents to be able…
Re: Git worktrees are not an isolation boundary for coding agents
#28Why a clone over a worktree? The obvious disadvantage I can see is you dont share your git objects with a clone and for really large repos that becomes an issue
Re: Git worktrees are not an isolation boundary for coding agents
#29[0] jai.scs.stanford.edu/
Re: Git worktrees are not an isolation boundary for coding agents
#30Do people not know how to write blogs without AI anymore? I enjoy hearing a human's unique voice and miss hearing it when it's abscent.
Example home page: https://taude.xyz/ Example AI Slop post: https://taude.xyz/posts/the-tool-stack-behind-this-blog/
Not trying to self-promote, but honsetly trying to leverage AI when appropriate, and to also not take away from my hand-written articles that are typically my thoughts and opinions....