Quite honestly these various threads show just why the railways really could risk becoming irrelevant, from both sides of the dispute.
From the management / TOC / DfT side they need not only to come with much better operational models and deliver an infrastructure that works for the passenger, both now and in the future, but also learn to treat their staff as assets that with the right level of cooperation can deliver a more efficient & reliable network. And that means investing in good wages, job security & listening to what staff on the ground are saying. However they will also need to deliver maximum efficiencies whilst The Treasury holds the purse strings.
And the unions need to be better able to deal with a new way of cooperating, and this includes accepting that how the railways are delivered going forward will need to change. This does not necessarily mean de-skilling or reducing wages, but looking how some existing roles might evolve in the future. Lots of parts of both public and private industries are doing this all the time to try and find an equilibrium between efficient working & staff engagement. Of course the unions will also have to accept the reality of being publicly funded, the kind of pay rises previously seen may not be forthcoming, even with inflation at the rate it is. Changing that is the job of the opposition & ultimately the voters. Which is why instead of just aiming purely at the government and TOCs, unions should be proactive in looking at ways to help the TOCs make those efficiencies & demonstrate how the railways can be of value in the future (this also goes for the TOCs), and working with the opposition into getting these thoughts in the House & discussed. A cohesive and forward thinking opposition is probably the only thing that can derail the government's wayward, and reactionary spending, which in turn is driving inflation, which in turn is making it increasingly unlikely that any of us will see rises anywhere near inflation levels.
I know this all sounds political, and and all the workers want is inflation matching rises along with T&C improvements, but being publicly funded puts rail workers at the heart of UK politics, just as it does all public sector workers.