Comment by ayewo

2 months ago

> Set me back 2 weeks of work.

How did this happen?

Did you let the agent loose without first creating its own git worktree?

What's the benefit of git worktree? I imagine you can just not give the agent access to git and you're in the same spot?

  • I'll reply to myself since apparently people downvote and move on:

    They're useful for allowing agents to work in parallel. I imagine some people give them access to git and tools and sandbox the agents, then let a bunch of them work in separate git worktrees pointed at the same branch, then they come back and investigate/compare and contrast what the agents have done, to accelerate their work.

    I think there is value in that but it also feels like a lot of very draining work and I imagine long term you're no longer in control of the code base. Which, I mean, great if you're working on a huge code base since you already don't control that...

tfw people are running agents outside containers