And it has continued to do so, according to the records, which have never previously been made public and which the police department fought to withhold.

Under the department’s rules, cops aren’t allowed to purposely interfere with people exercising their free-speech rights. In recent years, though, department officials have repeatedly justified spying on protesters by saying they fear they might engage in “disorder” and “civil disobedience.”