I too thought that the ambiguity was great (I disagree with Peelee that TDO’s intent was clear), but unfortunately The Giant clarified in the book’s commentary that Redcloak’s god was indeed trying to get him to not screw up the original Plan by making sure he stays focused on the Gates.
It’s one of the only things Rich has said that I’ve thought makes the story less, rather than more, interesting - keeping TDO’s true position opaque would have been fascinating, and indeed it was (to me) until it was clarified.