Which is also a fantasy, since if you did achieve it, you'd just have tests that verified that all your bugs were in place.
LLMs absolutely can "detect intent" and correct buggy code. e.g., "this code appears to be trying to foo a bar, but it has a bug..."