The announcement culminates months of vigorous internal debate over whether and how to respond to Russia’s unprecedented election-year provocations, ranging from the hacks of the Democratic National Committee to the targeting of state electoral systems.