The bot seems to just track times without movement. In my case, the char was just stunned for a few seconds by a debuff. The bot misinterpreteded this as being stuck and tried to move sideways. As the character actually was right on track, this put it off and got it stuck for real - badly
In other words, if the bot could detect the most common stun debuffs and not count them against the stuck timeout, it would perform much better in travelling enemy territory - and it would not give itself away as a bot.
maniac