Two questions:
Does the spherical blast cavity change shape if there are disparate rock densities like there would be many places on Earth?
I don't think the overall shape would change (and it's cylindrical rather than spherical). Differences in rock density are trivial compared to the force being exerted. Density differences would likely cause the uppermost crust of the molten layer to be composed of the lighter sort of rock . . . which is good, since it's the denser rock that would hold the most radioactivity.
In Traveller, if you had the tech, couldn't you use nukes in conjunction with dampers aligned to sculpt the cavity shape?
IIRC, dampers don't work that way. They affect whether or not the explosion happens and can stop radioactive decay while engaged. They have no control over the progress of an actual nuclear explosion, which is a macro rather than a micro event.
--