From Los Angeles to New York, officials document years of noncompliance that may now bring mounting legal consequences.