Three AI Agents, One Android Phone, and a Clock
Three coding agents were working in my repo at 3 a.m. Two were running instrumentation tests, one was taking screenshots. They all had adb on their PATH, and they all picked the same device, because of course they did.
The tests installed over each other. A screenshot captured a login screen from the wrong build. One agent force-stopped a process another was waiting on, then helpfully reported that the app had crashed.
None of this is an AI problem. It is a 1980s problem wearing a new hat: a machine that is fine with one user and hostile to two. A debug bridge, a serial port, a printer queue — anything with a single "current state" and no locking eventually meets a second caller.
This is the devlog of the thing I built to fix it, and of everything that turned out to be harder than the interesting part. The...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE