Lock In Lab Intern, rank 1 of 9

SE-3choreThird of 3 Tech Lead tickets

Two agents, two worktrees, no collisions

Takes
30 min in 3 steps
Checked
19 Nov 2026
min

Your estimate is optional. Your review compares it with how long it took; nothing is scored.

Two agents in the same folder overwrite each other. Git worktrees give each one its own folder on its own branch, sharing one repository. You'll run two small tasks at once and merge both.

More agents isn't always faster: we once ran seven at once and burned a week's quota by mid-morning.

You'll need git 2.17 or newer (git worktree remove needs it). Two sessions of any agent. Prices checked this month are on Tools.

Create the worktrees

Step 1 of 3, about 5 min

From the main project folder:

git worktree add ../app-footer -b footer
git worktree add ../app-darkmode -b darkmode
git worktree list

The part of a video worth watching for this step

YouTube, AI Engineer. Published Nov 2026.Checked 19 Nov 2026

Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.

One task per agent

Step 2 of 3, about 15 min

Open one agent in ../app-footer ("add a footer with the version") and another in ../app-darkmode ("add a dark mode toggle"). Let both work at the same time. Commit in each.

The part of a video worth watching for this step

YouTube, John Kim. Published Sep 2026.Checked 19 Nov 2026

Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.

the usual mistake

Spawning more agents than you can review. Three or four lead agents is plenty. It happened to us in INC-12, "Seven agents at once, quota gone by mid-morning".

Merge and clean up

Step 3 of 3, about 10 min
git merge footer
git merge darkmode
git worktree remove ../app-footer
git worktree remove ../app-darkmode

If there's a conflict, read both sides before asking an agent to resolve it.

The part of a video worth watching for this step

YouTube, Tech With Tim. Published Jul 2026.Checked 19 Nov 2026

Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.

Check and ship

The whole ticket
Run:
git log --oneline --graph -6 && git worktree list

It passes when Both branches appear merged, and only the main worktree is listed.

  • Two worktrees on two branches, each with its own agent session.
  • Both branches merged into main without losing either change.
  • Worktrees removed at the end.

No server checks your work in this version: you mark it, and your review says "Checked by you". Graded checks are planned for Plus.

What do you see?

Pick the closest one. Each goes to what to try first and the incident it looks like.