> I'm all for right to repair laws, but I would hate to see a law concerning even slightly technical topics written only by elected parties. It would be a disaster.
Specific to the US.
They're rarely if ever written by elected officials directly. Rather legislative aids do the bulk of the authoring and reading of bills along with input from lobbyists.
Laws may be problematic due to the unfamiliarity the authors/sponsors have with technical details and nuances but overwhelmingly the difficulty lies in creating legislature that cannot be interpreted in any other way than it's intention when challenged by an army of highly paid and highly skilled attorneys.