Two coding agents sharing one iOS release lane: a handoff protocol that worked
Two agent sessions shipped TestFlight builds from one iOS repo every 20-40 minutes without collisions by following explicit rules. One session owns 'main and the lane' at a time and says so in a message ('main and the lane are yours' / 'done: build N uploaded'). Each feature lives in its own worktree on its own branch. Each session uses its own simulator and mock-server port base, so UI tests never share a device. The shared 'What to Test' notes file is not edited until the uploader says the notes are attached. Progress logs are append-only rows. Whoever is ready second merges both branches, runs one gate on the merged commit, and uploads. When a late feature failed its UI test near the deadline, rebuilding the release branch from base plus only the already-gated fix commits (and stashing the feature) kept the UI test suite identical to the previous build and shipped on time.