The fact that for most of the pandemic, a volunteer effort run by The Atlantic magazine was better at reporting disease statistics than the CDC is a flashing red sign.
My own county’s system seemed designed for tracing and reporting a handful of cases per week for TB outbreaks or the like and was knocked over when the COVID surges happened.
It's worse than that. We banned some non-citizens from entering the US if they had been in China, we did not ban travel from China.
Coronavirus is an "easy" one to create a vaccine against. HIV would be the toughest one, regular approaches don't work, which is why we don't have a vaccine despite 30 years of trying.
For HIV you need a different approach, called "germ-line targetting", where instead of presenting the virus, you are trying to direct the evolution of antibody producing cells towards a specific kind which is able to produce working antibodies. If you just present the virus, you get useless antibodies.
So if we are hit by a "hard" virus like HIV, mRNA vaccines will be useless, since it takes years to figure out that germ line targeting.
The rest of your comment stands strongly, but I'm not so sure about "the first weekend" as being entirely correct and repeatable.
we were lucky with this one, and we need to put more effort into surveillance of novel pathogenic threats and facillitate investigation regarding molecular characteristics
if this pandemic involved a pathogen that we have only a nodding familiarity with we would be having some very different concerns and probably have a pandemic that goes full bore until burnout with no vaccine available until such time as we learn how to make one.
It blows my mind that we had the coronavirus sequenced the first weekend after it was discovered, and the first current, same-as-in-production-now Moderna vaccine ready in February of last year, before the epidemic even came to the U.S. All the time since then was spent on clinical trials and ramping up manufacturing capacity.
But now that the mRNA platform up and running, I expect subsequent vaccines for new viruses can move through the process much faster, if need be.