You can read more technical info about this phenomenon in Degradation of Cyanuric Acid (CYA). You can also read about my personal experience with this in It Can Happen to Anyone - Zero Chlorine, CYA --> Ammonia.