I don't know whether there is a contractual obligation to pay for military or civil service retirements. I wouldn't be surprised to see that there is no such contract with military retirees, or that it is pretty loose with a lot of "or such benefits as determined by Congress" exceptions in it.
“I don’t know whether there is a contractual obligation to pay for military or civil service retirements”
The problem with contracts with the government is that you’d have to sue to get them enforced, and the government runs the courts. They don’t like to be sued, and invoke a bastardized 11th amendment in their defense. Only civil rights cases routinely run the gauntlet.