Choosing a position and taking one are different problems. A process reads the chains on a fixed interval, prices every pool it watches, decides, and writes down what it is about to do before it does it. If it stops halfway through, it restarts knowing there is a transaction it cannot account for, and it checks the chain rather than assuming either way. That is what prevents the same position being opened twice.
Each interval runs the same rules in the same order. Close anything that has stopped earning; collect fees that are worth collecting; re-centre anything that has drifted off the price; move money off a pool that still works but has been overtaken by a better one; put whatever is idle to work in the best pool that qualifies; and only then consider moving money to another chain, which is the one decision that cannot be undone within the interval.
That fourth rule is the one most desks do not have, and its absence does not look like anything. Every position is above its floor, nothing has stopped earning, and the money is sitting in the pool that was the best one when it was deployed rather than the one that is best now. A pool paying many times what a position currently earns is a reason to move, and the move has to clear three times what the round trip costs before it is taken.
Fees are collected once they reach $100, or after 15 minutes, whichever comes first. They are never collected when the amount would not cover several times the cost of collecting it, so a pool that has gone quiet stops being swept rather than being drained a few dollars at a time.
The process cannot change anything about the vault. It can move money between venues; it cannot change which venues exist, raise the payout cap, or allow a new bridge. It refuses to start if the key it has been given is the one that could.
Nothing is remembered that was not written down first.