That mistake might induce human error—which is absolutely a source of danger—but it undoubtedly had a clear path to pull around the “stopped” vehicle, and as you said, you can generally trust Wayno not to plow into pedestrians. So what made it “lucky” that no one was hurt?
Why don’t we have cars talk to each other and coordinate their routing? Like some sort of peer to peer mechanism that helps them not crash each other. Why can’t vehicles be made to stop at cross walks when someone is crossing with some sort of communication to the vehicle?
There is a long and glorious research bibliography on v2v comms for this purpose :-) The obstacles are pretty obvious, the chicken-and-egg problem and trust.