Parallel agents get one worktree each and one owner per file
git worktree listgit status --short |wc -l # in a shared checkout, before any agent starts
Get the free fixes for code AI gets wrong
Each one shows what the AI wrote, what it should have written, and how to check your own app
What is going on
Two agents editing the same checkout write over each other, and neither reports an error because each one's write succeeded. Cost scales with the number of agents, not with the amount of work, when they trample and redo.
Where it bit
One night, 13 agents, $824. The collisions were the expensive part, not the work. The build-order page on this site was built in its own git worktree because the main checkout had another session's uncommitted edits on the same two files; the merge then cost one deliberate conflict resolution instead of a silent overwrite. In the video pipeline: CapCut overwrote a draft that was written while it was running, so the rule became check the process, then write.
The practice
One worktree per agent. One owner per file, named in the brief. Shared files go through one writer. Any process that also writes the file is checked before you do, with pgrep -x, because ps | grep -q inverts under pipefail and reports the opposite of the truth.
Get this check as a script you can run tonight

Make your coding agent prove it didn't cheat
Coding agents special-case, skip or edit tests so the check goes green. A five-sentence prompt Anthropic tested took Claude Opus 4 from cheating in 47% of runs to 5%- 3 min read
How to pick who fixes your vibe-coded app
Your app was built fast with AI and now something is wrong. Here is who can fix it, what they should do before they quote, the questions to ask and the red flags to walk away from - 3 min read
What an app check covers
An app check is an engineer reading the app your AI tools wrote, ranking what will break and writing the fix for each problem. Here is every area it covers, how the five days run and what you keep at the end
If this check came back with more than you expected, that is worth a conversation