A computer can find patterns to make maintenance more predictable, You put a road in X days later based on traffic and formulations you will do maintenance on this date. Seems pretty straightforward. The public taking selfies with potholes can help with real time monitoring and adjusting the maintenance date. Budget decisions can be reviewed by communities online.
Then the role of government is to just propose ideas and execute ideas that have been approved, which the idea thing can be done by people who actually have knowledge about the science of things rather than people who only know how to write speeches and take money from lobbyists. Great thing is that the ideas would be reviewed by the public and not other money hungry politicians. And as loud as the small percentage of people who have terrible opinions about things are, they are the rich ones who can afford to advertise, they are not the majority.
"Oh but people are influenced by corporations and computers can be hacked" - Politicians can be bribed and decisions can be lobbied. I trust a well secured computer more than a politician. Also by placing the vote to the public is there can not be any targeted advertising campaigns like when gay marriage was voted on in california and the mormon church invested millions to smash it. The cost to target a random sampling of people across the united states would be way too expensive.
as said: "technocracy and participatory economics offer the solution"