As punishment for being stuff in combat, and constantly telling my brother "he's not the man he once knew", Codsworth has has his eyes removed, and all bar one limb (with no tool) removed, as well as being painted bright pink.
He shall spend the rest of his days as a floating lollipop.