AI struggles most with dynamic state evolution in highly distributed microservices, loosely typed or dynamic codebases where variables shift types, and complex event-driven architectures due to lack of system-wide context and explicit state transitions.