As far as accident analysis is concerned, the question of how the diver got into the cave is extremely important, for that is what turned a CAVERN diving experience into a CAVE accident. If we understand how that happened, then we can determine if something can be done.
Possibility One: The guide led him into the cave. Several people have said this in the thread, but there is no indication that it is true. If so, then the guide violated the rules, and we would have to find out why. In the case in which the guide dived with a couple customers in the cave zone, that appears to have been the case, but we will never know why he did it, and we will never know why he violated several other rules in addition.
Possibility Two: He was confused by a nearby line and followed it into the cave. If that is the case, then that situation can be corrected. Again, though, we have no indication that this happened.
Possibility Three: Having been warned not to go into the cave, he made a conscious decision to do so, waiting until he was sure the guide was not watching to swim past some formation blocking the view and enter the cave zone, intending to come back out soon after. Divers do that sort of thing and then brag about it. If that is what happened, the solution would be to require a second guide at the end of the line to keep the strays in line.
As far as I know, we have no indication at this time which of those events (or something else) occurred.
Here's my beef with this ... why didn't the guide notice he was missing?
We have no information about how long the diver was missing before it was noticed. We only know his absence was noted a half hour into the dive. We have no indication as to when he was last seen before that. In theory, it could have been only seconds.