How AI Can Detect Digital Behavior Loops Before They Become Habits