Heat the oven to 400°F (200°C). Scrub the sweet potatoes, prick each one a few times with a fork, and set them on a foil-lined baking sheet.
Roast for 50–60 minutes, until the sweet potatoes are completely soft and collapsing when squeezed with an oven mitt. Let them cool just enough to handle.
Split the sweet potatoes open and scoop the flesh into a large bowl. Discard the skins.
Add the butter, brown sugar, heavy cream, vanilla, cinnamon, nutmeg, and salt. Mash until silky-smooth — use a potato masher first, then a hand mixer on low for 30 seconds if you want it extra smooth.
Taste and adjust: a little more brown sugar if your sweet potatoes are mild, a pinch more salt if it tastes flat.
Spread the mash evenly into a 9-inch pie dish or shallow baking dish and smooth the top with the back of a spoon.
Sprinkle the granulated sugar in a thin, even layer over the entire surface — no bare patches, no thick piles.
Broil on the top rack for 2–4 minutes, watching constantly, until the sugar melts, bubbles, and turns a deep amber with darker spots. Or use a kitchen torch, moving it slowly in circles until the whole top is glassy and caramelized.
Rest for 5 minutes so the sugar shell hardens into glass, then crack into it with a spoon and serve warm.