I should add she is late 50's and the prospect of finding work elsewhere in a comparable role would be very unlikely.
More generally for federal and state/local government opportunities to use your technology expertise to make a difference, these folks are excellent: https://techtalentproject.org/tech-talent/
I mean just look at the breakdown of who runs that “tech talent project” to see what I mean. In the industry, ideally, decisions are being made and executed by other technical people. It’s part of what has made Silicon Valley so uber successful.
It's middle of the tree at best. I'm sure you can find people for whom it's well paying, but the recruiters from UK gov departments that regularly contact me keep trying to sell me on the benefits of jobs where the upper salary band is less than half of what I earn.