Glad to see someone taking a closer look. :) That's pretty close. It has a couple of special initial actions (steal, Entangling Noodles) which it treats as special, so it really kind of checks 1+3 actions deep.
Just like a KoLmafia custom combat script, the simulator (and, later, the strategy...