Track how discrete representations evolve during neural network training — lifecycle events, phase transitions, ontology discovery, and causal verification