Scientific studies and ongoing survey missions demonstrate that potentially hazardous near-Earth asteroids can be detected, tracked, and cataloged well in advance of any potential impact.
The retrieved literature extensively covers near-Earth asteroid (NEA) surveys, detection pipelines, and space-based missions (such as NEO Surveyor and various telescope networks) designed specifically to discover, track, and anticipate potential asteroid impacts beforehand. All relevant papers support the claim that doomsday or hazardous asteroids can be detected beforehand, and no papers refute this.