This article has been updated to reflect news developments.

WHEN I wrote in August 2016, in this newspaper, that Donald J. Trump’s character traits posed a national security threat, I didn’t imagine that the first manifestation of that dynamic could play out with the very organization where I spent the first 33 years of my career, the Central Intelligence Agency.

President-elect Trump’s public rejection of the C.I.A., and by extension the rest of the country’s intelligence community, over the assessment that Russia interfered in our presidential election is not only an unprecedented political challenge for our national security establishment — it is a danger to the nation.

While Mr. Trump’s statement on Friday that he had a constructive meeting with senior intelligence officials on the Russian hacking issue was a step in the right direction, his disparagement of American intelligence officers over the last few months is likely to cause significant damage to the C.I.A.

Mr. Trump has questioned the agency’s competence — repeatedly asking, often via Twitter, how we can trust the organization that incorrectly judged that Saddam Hussein had weapons of mass destruction (criticism that, in my mind, is unfair for an agency that has changed dramatically in the last 15 years). But he has also accused the agency of being biased and political, implying, in comments to The Times, that the C.I.A. manufactured its Russia analysis to undercut him. Mr. Trump, in essence, said that the agency’s officers were dishonorable. To the men and women of the C.I.A., sworn to protect the nation, this was a gut punch.