Constraint Automata on Infinite Data Trees: From CTL(Z)/CTL*(Z) To Decision Procedures (Logical Methods in Computer Science, 2025)