First, why HSAs are worth fighting for in retirement.
Most people think of an HSA as a way to pay this year's medical bills. In retirement it becomes something much more powerful. Contributions are tax deductible and the money grows tax free. When you retire you can use your HSA to pay Medicare premiums, out of pocket medical costs, dental, vision, and most other healthcare expenses, all completely tax free. No other retirement account gives you that.
My employer had a rule: once you turn 65, no more HSA contributions. They knew about the Medicare retroactive enrollment trap and were protecting themselves.
I fought to get an exception. They eventually allowed me to keep contributing past 65, which I did.
Then I decided to retire, suddenly, in May, and the chickens came home to roost.
Because Medicare Part A can be retroactive up to 6 months, any HSA contributions made during that window become excess contributions subject to IRS penalty. My company could only reverse contributions back to January, not the full six months I needed. I had to make some quick decisions under pressure that I would rather have thought through in advance.