Tracking down hard shutdown cause—software? hardware? overheat?

Solution 1:

As it turned out, my battery had reached and surpassed the end of its life. It was rated good for 1000 full charge cycles; it had gone through nearly 1200 (in roughly a five-year time span.)

I got the battery replaced and all was well.